Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ./Electrum --testnet
- "m/49'/1'/0'"
- const transport = await TransportNodeHid.create();
- const btc = new AppBtc(transport);
- const result = await btc.getWalletPublicKey("m/49'/1'/0'");
- console.log(result.getWalletPublicKey())
- "m/49'/1'/0'"
- Master Public Key: upub5EorGi4nr15AW.....
- Receiving Address: 2NEYbAH7x6sXU2bS....
- {
- publicKey:'049bd7786109d5bed56.....',
- bitcoinAddress: 'mtCKwjnNzNZr.....',
- chainCode:'c511f1afedb628fdb93299747604b...'
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement