Skip to content

Instantly share code, notes, and snippets.

@ohac
Last active June 4, 2016 13:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ohac/4992b6fbc0901eaf365daf3a03c12ae5 to your computer and use it in GitHub Desktop.
Save ohac/4992b6fbc0901eaf365daf3a03c12ae5 to your computer and use it in GitHub Desktop.
Electrum cold wallet
#!/bin/bash
git pull
python setup.py sdist
pip install --pre dist/Electrum-2.7.0.tar.gz
FROM ubuntu:16.04
RUN apt-get update -y
RUN apt-get install -y git python net-tools python-pip vim
WORKDIR /root
RUN git clone https://github.com/spesmilo/electrum.git
COPY build.sh /root/electrum/
WORKDIR /root/electrum
RUN ./build.sh
COPY run.sh /root/electrum/
# docker build -t electrum .
# docker run --net=none -it --rm electrum
# ./run.sh
#!/bin/bash
./electrum restore -w coldwallet :
# type: 5xxxx... or Lxxxx...
./electrum listaddresses -w coldwallet -b
# set command line params before run
./electrum payto -w coldwallet -f 0.00002 1xxxx... 0.0001
# broadcast "hex" using online wallet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment