Create a gist now

Instantly share code, notes, and snippets.

@ohac /Dockerfile
Last active Jun 4, 2016

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