Sparks SPK

https://github.com/sparkscrypto/Sparks
https://sparks.gold/
http://sparks.lchain.cc/

1,000 coins required

Docker image

https://hub.docker.com/r/retlas/masternode-spk

Step by step setup guide

Hot cold masternode setup guide

Dockerfile

FROM crypto-base

RUN useradd -m Sparks

USER Sparks

RUN cd /home/Sparks && \
    mkdir /home/Sparks/bin && \
    mkdir .ssh && \
    chmod 700 .ssh && \
    ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts && \
    ssh-keyscan -t rsa bitbucket.org >> ~/.ssh/known_hosts && \
    git clone https://github.com/sparkscrypto/Sparks.git Sparksd && \
    cd /home/Sparks/Sparksd && \
    ./autogen.sh && \
    ./configure LDFLAGS="-L/home/Sparks/db4/lib/" CPPFLAGS="-I/home/Sparks/db4/include/" && \
    make && \
    strip src/Sparksd && \
    strip src/Sparks-cli && \
    strip src/Sparks-tx && \
    mv src/Sparksd src/Sparks-cli src/Sparks-tx /home/Sparks/bin && \
    rm -rf /home/Sparks/Sparksd

EXPOSE 7208 7209

USER root

RUN chmod 755 /home/Sparks/bin/Sparksd && \
    chmod 755 /home/Sparks/bin/Sparks-cli && \
    chmod 755 /home/Sparks/bin/Sparks-tx && \
    mv /home/Sparks/bin/Sparksd /usr/bin/Sparksd && \
    mv /home/Sparks/bin/Sparks-cli /usr/bin/Sparks-cli && \
    mv /home/Sparks/bin/Sparks-tx /usr/bin/Sparks-tx

CMD ["Sparksd"]

last update : 2018-10-25T14:29:21.899130