airbitz-core icon indicating copy to clipboard operation
airbitz-core copied to clipboard

HD Wallet Seed

Open ShepTanner opened this issue 11 years ago • 5 comments

I'm developing a server using bitcoin. How can I generate the addresses for my Airbitz wallet?

Great wallet!!! Keep up the good work.

ShepTanner avatar Nov 27 '14 18:11 ShepTanner

Our wallet generates a new address for every transaction. The HD wallet seed is used to set up the random number generator that does this. You can get full details on the algorithm in bip 32.

There are plenty of libraries that implement bip 32, including Python and Javascript. If you would like to see a brief example of how we do it, check out airbitz-keygen.sh, which uses the SX command-line tools.

swansontec avatar Nov 28 '14 21:11 swansontec

What is the key derivation function employed? (BIP32 key path)

jsmith-dev avatar Aug 05 '16 11:08 jsmith-dev

We follow the wallet structure given in the BIP. So, it's master seed (m), then wallet 0 (m0), then chain 0 (m00), and finally the address index (m00n). We use one master seed per wallet, and we don't generate change addresses differently from regular addresses, so the two middle branches are always zero.

swansontec avatar Aug 05 '16 18:08 swansontec

Does AirBitz support any Hardware Key devices?

jsmith-dev avatar Aug 05 '16 18:08 jsmith-dev

Let me take a look at get back to you ina day or two. Great questions though!

On Fri, Aug 5, 2016 at 1:48 PM, Julian Smith [email protected] wrote:

Does AirBitz support any Hardware Key devices?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Airbitz/airbitz-core/issues/4#issuecomment-237932096, or mute the thread https://github.com/notifications/unsubscribe-auth/APhQi0iz0g9JKnFHjuCv_dGyX5ngoR5Pks5qc4VpgaJpZM4DBiRL .

Fred J Constantinesco [email protected] | @fjccoin http:///www.twitter.com

fjccoin avatar Aug 08 '16 21:08 fjccoin