Author

Topic: Bitcoin Wallet in C/C++ for Windows (Read 131 times)

member
Activity: 69
Merit: 34
November 09, 2022, 11:42:02 PM
#4
Thank you, I will check them.
Edit:
I have looked at those suggestions, downloaded and started looking at the code.  This is my first foray into Github.  The level of comments in the code is just horrible. But I am looking.

Then I found this: https://en.bitcoin.it/wiki/Wallet_import_format

I presume this is the method to translate the private key to the public one.  In my words:

Add 0X80 to the msb end and hash it.  This is the majority of the key.
Hash it again, but use only the first 4 bytes and put that on the LSB end.
Encoded it as Base58 and this is the WIF (Wallet Import Format AKA Wallet Export Format) of the public key.

Do I understand this correctly?
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
November 09, 2022, 11:02:43 PM
#3
Trust Wallet's wallet-core is also a good option, but do note that you will need CMake and clang to build it as it is not an automake project. You also get support for some alternative blockchains as a bonus: https://github.com/trustwallet/wallet-core
hero member
Activity: 1008
Merit: 960
November 09, 2022, 10:59:34 PM
#2
You might want to check out libbitcoin, available here: https://libbitcoin.info

It's a C++ toolkit that implements many different aspects of Bitcoin in a modular way.

It's easier to use to develop your own stuff than using Bitcoin Core, which you might also want to look at as it's also in C++: https://github.com/bitcoin/bitcoin
member
Activity: 69
Merit: 34
November 09, 2022, 05:14:14 PM
#1
Where can I find and download a wallet for Windows in C or C++.  I don’t know Java and Python and want to see how coders have implemented the private key to public key transformation.  Many places write about the elliptic curve but my math is way below the level needed to translate the math to code.
Jump to: