npm.io
0.5.1 • Published 3 weeks agoCLI

gen-btc-address

Licence
MIT
Version
0.5.1
Deps
3
Size
8 kB
Vulns
0
Weekly
10

gen-btc-address

jsr npm codecov

CLI to generate BTC wallet address from mnemonic

CLI

recommend using Deno:

deno      npm:gen-btc-address
deno jsr:@key/gen-btc-address
also available from: npx, bun, pnpm, yarn etc...
npx      gen-btc-address
bun    x gen-btc-address
pnpm dlx gen-btc-address
yarn dlx gen-btc-address
Usage: [OPTIONS] <mnemonic sentence>

OPTIONS:

    --export-xprv
    --import-xprv

    --export-xpub
    --import-xpub

    -n, --num            (default 1)
    -a, --account        (default 0)
    -i, --internal       toggle as the change address
    -f, --format         one of: tr / pkh / wpkh (default)
    -p, --passphrase
    -v, --verbose
    -h, --help

License

the MIT