Skip to content

Commit

Permalink
Merge pull request #25 from blanqlabs/main
Browse files Browse the repository at this point in the history
fixed README.md for slip10 usage
  • Loading branch information
paulmillr authored Sep 11, 2024
2 parents 9d01a83 + 774ed1c commit 3672086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ import slip10 from 'micro-key-producer/slip10.js';
import { randomBytes } from 'micro-key-producer/utils.js';

const seed = randomBytes(32);
const hdkey1 = slip10.HDKey.fromMasterSeed(seed);
const hdkey1 = slip10.fromMasterSeed(seed);

// props
[hdkey1.depth, hdkey1.index, hdkey1.chainCode];
Expand Down

0 comments on commit 3672086

Please sign in to comment.