Hi Sam,
If you're reading the comments, can you do this treatment but for Ethereum and the smart contracts built on top of it?
I find that your article gives a good explanation especially for beginner to understand from the code perspective.
If you're reading the comments, can you do this treatment but for Ethereum and the smart contracts built on top of it?
I find that your article gives a good explanation especially for beginner to understand from the code perspective.
The address part is very similar, even simpler, than bitcoin. It's the same elliptic curve, same way to build private/public keys.
For the address, it uses a different hash function, Keccak256, and then it's just serialized in hex. Code here [1]. Pointers to key generation [2, 3].
[1] https://github.com/ethereum/go-ethereum/blob/release/1.6/cry...
[2] https://github.com/ethereum/go-ethereum/blob/release/1.6/acc...
[3] https://github.com/ethereum/go-ethereum/blob/release/1.6/acc...