Bitcoin Forum

Bitcoin => Wallet software => Topic started by: pbies on January 05, 2022, 02:03:24 AM



Title: My own PyWallet
Post by: pbies on January 05, 2022, 02:03:24 AM
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?


Title: Re: My own PyWallet
Post by: pooya87 on January 05, 2022, 04:12:42 AM
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.


Title: Re: My own PyWallet
Post by: ABCbits on January 05, 2022, 09:55:21 AM
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.8). If you plan to support descriptor wallet as well, you'll need to do additional research.