You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Luke Childs
a8005a4310
|
2 years ago | |
---|---|---|
.github | 5 years ago | |
media | 5 years ago | |
.gitignore | 5 years ago | |
Dockerfile | 5 years ago | |
LICENSE | 5 years ago | |
README.md | 2 years ago | |
bip39toxprv | 5 years ago | |
entrypoint | 5 years ago |
README.md
ephemeral-electrum
A quick throwaway text based Electrum instance.
Handy for quickly checking the state of a given hierarchical deterministic wallet or single address.
HD wallets can be imported as Electrum or BIP39 mnemonic seed phrases as well as extend public and private keys.
Single addresses can be imported using the Electrum addres-type:wif format.
It's like a muggle friendly Magical Bitcoin Wallet.
Usage
$ seed="much bottom such hurt hunt welcome cushion erosion pulse admit name deer"
$ docker run -it lukechilds/ephemeral-electrum "$seed"
You can also specify a single Electrum server to connect to:
$ docker run -it lukechilds/ephemeral-electrum "$seed" bitcoin.lukechilds.co:50002:s
You can pass in a seed phrase, xpub or xprv. The following all open the same wallet:
$ seed="much bottom such hurt hunt welcome cushion erosion pulse admit name deer"
$ docker run -it lukechilds/ephemeral-electrum "$seed"
$ xprv="zprvAcMRAFo3MYezabw3DuoGtZW4gFsgejCzVBT6mM7dd5TrhN5QSfrEjYcn4ZurjAoBT2ocLY7bH1bLpYKdrg1EbF3FtZjBCC6WPGVWqi7yJyc"
$ docker run -it lukechilds/ephemeral-electrum "$xprv"
$ xpub="zpub6qLmZmKwBvDHo61WKwLHFhSoEHiB4BvqrQNhZjXFBQzqaAQYzDAVHLwFusoTFSwai8ZpR3uKEaYMo34nWiJhJ1v4sbusJRHMSLd3hMZUmcp"
$ docker run -it lukechilds/ephemeral-electrum "$xpub"
You can import a single address by passing in the address type and WIF:
# 1NrjsCoAgkGmZWniw9dunW9ZPJHiywZWA4
$ docker run -it lukechilds/ephemeral-electrum "p2pkh:L3fnoTepxVUcdayujGXFnE4twWcd13zKbPgtyPKhkgmUUSTaPPbR"
# 3N5Z9cXYJxUKD6ydinLw9MdMDtbwLuRDRP
$ docker run -it lukechilds/ephemeral-electrum "p2wpkh-p2sh:L3bm714EVAtRivbdxJ9GBFqCGPsViFzZN1ChH3DUtaZ8AqK1QhQ6"
# bc1qpz4fqgev077446rjzaj7e7pa0jh6j272sjw38g
$ docker run -it lukechilds/ephemeral-electrum "p2wpkh:L2FXuzGMVAPH9CVGfAxNJiT1teR8YGh2BLoummxXY1W51QQVDZ5M"
Build
Build this image yourself by checking out this repo, cd
ing into it and running:
$ docker build -t lukechilds/ephemeral-electrum .
License
MIT © Luke Childs