Coin2Fly CTF

https://github.com/coin2fly/coin2flycore
https://www.coin2fly.com/
http://explorer.coin2fly.com/

https://masternode-stats.com/ctf

1,000 coins required

https://masternode-stats.com/ctf/masternodes.html

Docker image

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

Step by step setup guide

Hot cold masternode setup guide

Dockerfile

FROM crypto-base

RUN useradd -m coin2fly

USER coin2fly

RUN cd /home/coin2fly && \
    mkdir /home/coin2fly/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/coin2fly/coin2flycore.git coin2flyd && \
    cd /home/coin2fly/coin2flyd && \
    bash ./autogen.sh && \
    bash ./configure LDFLAGS="-L/home/coin2fly/db4/lib/" CPPFLAGS="-I/home/coin2fly/db4/include/" && \
    chmod 777 share/genbuild.sh && \
    make && \
    strip src/coin2flyd && \
    strip src/coin2fly-cli && \
    strip src/coin2fly-tx && \
    mv src/coin2flyd src/coin2fly-cli src/coin2fly-tx /home/coin2fly/bin && \
    rm -rf /home/coin2fly/coin2flyd

EXPOSE 7208 7209

USER root

RUN chmod 755 /home/coin2fly/bin/coin2flyd && \
    chmod 755 /home/coin2fly/bin/coin2fly-cli && \
    chmod 755 /home/coin2fly/bin/coin2fly-tx && \
    mv /home/coin2fly/bin/coin2flyd /usr/bin/coin2flyd && \
    mv /home/coin2fly/bin/coin2fly-cli /usr/bin/coin2fly-cli && \
    mv /home/coin2fly/bin/coin2fly-tx /usr/bin/coin2fly-tx

CMD ["coin2flyd"]

last update : 2018-05-25T02:34:21.694001