Bitcoin Forum
September 17, 2025, 06:47:50 AM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: My own PyWallet  (Read 113 times)
pbies (OP)
Full Member
***
Offline Offline

Activity: 389
Merit: 206



View Profile
January 05, 2022, 02:03:24 AM
Merited by NotATether (2), Quickseller (1)
 #1

I am thinking about writing my own PyWallet. It would be based on current (22.0) version of Bitcoin Core. I mean the wallet format and version.

I am mostly interested in dumpwallet function and import function (build wallet from text file with private keys).

I am thinking about writing that in console Python or .NET/C# Windows Forms app.

What beside wallet format should I know to make some simple, basic operations on wallet?

BTC: bc1qmrexlspd24kevspp42uvjg7sjwm8xcf9w86h5k
pooya87
Legendary
*
Offline Offline

Activity: 3934
Merit: 11920



View Profile
January 05, 2022, 04:12:42 AM
Merited by hugeblack (2), ABCbits (1), Pmalek (1), Quickseller (1), NotATether (1)
 #2

I am thinking about writing that in console Python or .NET/C# Windows Forms app.
Considering the effort it would take, it is kind of a waste to do it using WinForms since that limits your application to Windows only. Either use Python so that it can be run on multiple platforms or use a multi platform .Net UI such as the "dotnet 5 console" or a multi-platform GUI such as AvaloniaUI.

P.S. If you decided to go with Python consider contributing to the original PyWallet project instead of creating a new one.

ABCbits
Legendary
*
Offline Offline

Activity: 3360
Merit: 9151



View Profile
January 05, 2022, 09:55:21 AM
Merited by hugeblack (2), Pmalek (1)
 #3

What beside wallet format should I know to make some simple, basic operations on wallet?

FYI, since Bitcoin Core 0.21 it has new type of wallet which called "Descriptor wallet" which use SQLite (rather than Berkeley DB 4.Cool. If you plan to support descriptor wallet as well, you'll need to do additional research.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!