input-output-hk / js-cardano-wasm

various cardano javascript using wasm bindings
MIT License
31 stars 21 forks source link

fix hdpayload tag + compat with daedalus wallet #17

Closed NicolasDP closed 6 years ago

NicolasDP commented 6 years ago

PR add a fix on the hdpayload things (rust); also allow creates a xprv from a daedalus seed:

const seed    = new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,]);
// retrieve the xprv from a seed via the daedalus method (with the cbor encoding and al. )
xprv    = CardanoCrypto.HdWallet.fromDaedalusSeed(seed);