Author

Topic: Golang BIP 32 implementation (Read 1964 times)

sr. member
Activity: 310
Merit: 250
sr. member
Activity: 310
Merit: 250
February 12, 2017, 06:48:20 PM
#4
I made a little BIP 32 implementation in Go. Hierarchical deterministic wallets, yay!

https://github.com/WeMeetAgain/go-hdwallet
documentation: http://godoc.org/github.com/WeMeetAgain/go-hdwallet

It tests against the BIP 32 page  test vectors (https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#test-vectors) and passes. (I'm sure it could use more eyes on the code, though)

I used this as reference: https://github.com/vbuterin/pybitcointools/blob/master/pybitcointools/deterministic.py

Examples included in README!

Cheers!

Edit: changed repo name, added documentation link

Hey! This is cool and looks like what I need. So, I have this Electrum Master Public Key, but I'm not exactly sure how I would use this library with that to get the addresses. Could you help me with this? I shouldn't have to use the seed or any private key for this to work as far as I know.

Thanks!
legendary
Activity: 1484
Merit: 1005
January 06, 2014, 02:59:41 PM
#3
Looks good!

I love seeing Bitcoin Go projects. It is just such a nicer language to write compares to c++

You'll like MC2 then, we're coding it entirely in Go. Wink
newbie
Activity: 16
Merit: 0
January 06, 2014, 12:53:32 AM
#2
Looks good!

I love seeing Bitcoin Go projects. It is just such a nicer language to write compares to c++
newbie
Activity: 3
Merit: 11
January 05, 2014, 09:11:53 PM
#1
I made a little BIP 32 implementation in Go. Hierarchical deterministic wallets, yay!

https://github.com/WeMeetAgain/go-hdwallet
documentation: http://godoc.org/github.com/WeMeetAgain/go-hdwallet

It tests against the BIP 32 page  test vectors (https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#test-vectors) and passes. (I'm sure it could use more eyes on the code, though)

I used this as reference: https://github.com/vbuterin/pybitcointools/blob/master/pybitcointools/deterministic.py

Examples included in README!

Cheers!

Edit: changed repo name, added documentation link
Jump to: