Last active
June 4, 2016 13:09
-
-
Save ohac/4992b6fbc0901eaf365daf3a03c12ae5 to your computer and use it in GitHub Desktop.
Electrum cold wallet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git pull | |
python setup.py sdist | |
pip install --pre dist/Electrum-2.7.0.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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