Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 412 Bytes

Readme.md

File metadata and controls

15 lines (11 loc) · 412 Bytes

#hdk-wallet-lib-sample

Simplest usage of @zedeid-sdk/zedeid-hdk-wallet

How to run

npm install
npm start

How it works?

  • Initialise a wallet by generating a random seed (get converted to a mnemonic)

  • Use Wallet.getChildKeys("path") to generate child keys

  • path should be in the form of m/index_parent/index_child

  • ex: m/2/1/4

  • Save above generated mnemonic to restore the same wallet