Add WIF format to make_keychain
in the CLI
#938
Labels
good first issue
Appropriate for a new open source contribution
make_keychain
in the CLI
#938
When you generate a keychain in the CLI, it uses the standard STX derivation path (which starts with
m/5757'/...
). If you try and use the secret key generated from the CLI in a Bitcoin wallet, you won't be able to access the address generated in the CLI. However, one easy fix is for the CLI to output yourWIF Private Key
(Wallet Import Format), which is supported by many BTC wallets.To do so:
const wif = child.toWIF();
The text was updated successfully, but these errors were encountered: