Re:Understanding Bitcoin Transactions
by TekMol on Sunday April 15, 2018 @01:13PM
(#16843633)
I would love to see a tutorial on how to create a bitcoin address (a private + public key pair) with nothing but command line tools that are available in a standard Linux distribution.
[ Parent
| on HN ]
Re:Understanding Bitcoin Transactions
by treethought on Sunday April 15, 2018 @01:57PM
(#16843898)
The book "Mastering Bitcoin" by Andreas Antonopoulos steps through this. You can find the code here https://github.com/bitcoinbook/bitcoinbook/blob/develop/code...
I'm not too hot on Python, where do I find the imported libraries so as to interpret eg `bitcoin.encode_privkey(decoded_private_key, 'wif')`.
Re:Understanding Bitcoin Transactions
by bobwaycott on Sunday April 15, 2018 @02:52PM
(#16844217)
Based on the `import bitcoin`, it looks like it is using this library: https://github.com/vbuterin/pybitcointools
Re:Understanding Bitcoin Transactions
by masterjack on Sunday April 15, 2018 @02:11PM
(#16843975)
Here you go: Bitcoin the Hard way http://www.righto.com/2014/02/bitcoins-hard-way-using-raw-bi...
This shows you how to do everything yourself from scratch. There’s no such tutorial for ethereum, unfortunately, and it might be too complex a protocol to allow that.
To the parent’s point, creating an eth address is identical to bitcoin, it’s the same elliptic curve.
You are in luck - this is simple enough to fit in two (2) tweets ( plus one more tweet for the decoder ):
Re:Understanding Bitcoin Transactions
by malvosenior on Sunday April 15, 2018 @01:18PM
(#16843663)
If you want to read about something really interesting, check out hierarchical deterministic wallets:
https://github.com/bitcoin/bips/blob/master/bip-0032.mediawi...
Christopher Allen got you covered (almost): https://github.com/ChristopherA/Learning-Bitcoin-from-the-Co... "Learning Bitcoin from the CLI"
Re:Understanding Bitcoin Transactions
by decentralised on Monday April 16, 2018 @04:44AM
(#16847561)