Bitcoin Forum

Bitcoin => Project Development => Topic started by: CIYAM on October 19, 2014, 03:44:53 PM



Title: Friendly C++ code for those interested in *creating their own Wallet*
Post by: CIYAM on October 19, 2014, 03:44:53 PM
I have been testing the CIYAM Wallet today and so far all is going pretty well (several txs involving 1 or more inputs and 1 or more outputs have all worked fine) so for those that struggle to understand the cryptic code in Bitcoin itself (I know that I do) then you might find this a little easier to follow: https://github.com/ciyam/ciyam/blob/master/src/crypto_keys.cpp#L705

No guarantees that it is perfect yet (still got a lot of testing to do) but it will certainly help those keen to create their own wallets to see how creating and signing raw transactions works at the *low-level*.


Title: Re: Friendly C++ code for those interested in *creating their own Wallet*
Post by: 687_2 on October 20, 2014, 05:11:30 AM
I have been testing the CIYAM Wallet today and so far all is going pretty well (several txs involving 1 or more inputs and 1 or more outputs have all worked fine) so for those that struggle to understand the cryptic code in Bitcoin itself (I know that I do) then you might find this a little easier to follow: https://github.com/ciyam/ciyam/blob/master/src/crypto_keys.cpp#L696

No guarantees that it is perfect yet (still got a lot of testing to do) but it will certainly help those keen to create their own wallets to see how creating and signing raw transactions works at the *low-level*.


Interesting, I've bookmarked this to review when I'm not so tired. Thanks!


Title: Re: Friendly C++ code for those interested in *creating their own Wallet*
Post by: CIYAM on October 20, 2014, 05:16:15 PM
Updated and added support for appending OP_RETURN messages (don't tell Luke Jr.).

:D