Title: Golang BIP 32 implementation Post by: WeMeetAgain on January 06, 2014, 02:11:53 AM 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 (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 Title: Re: Golang BIP 32 implementation Post by: sidazhang on January 06, 2014, 05:53:32 AM Looks good!
I love seeing Bitcoin Go projects. It is just such a nicer language to write compares to c++ Title: Re: Golang BIP 32 implementation Post by: tacotime on January 06, 2014, 07:59:41 PM 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. ;) Title: Re: Golang BIP 32 implementation Post by: Chillance on February 12, 2017, 11:48:20 PM 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 (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! Title: Re: Golang BIP 32 implementation Post by: Chillance on February 14, 2017, 12:58:10 AM Ok, solved it using https://github.com/btcsuite/btcutil/tree/master/hdkeychain :)
|