Sign inSign up

skeincurrency/node

By skeincurrency

•Updated almost 5 years ago

SkeinCurrency Node

Image
0

288

skeincurrency/node repository overview

⁠SkeinCurrency Node

================

Docker Stats

Docker image that runs the SkeinCurrency node in a container for easy deployment.

⁠Requirements

  • Physical machine, cloud instance, or VPS that supports Docker (i.e. Vultr, Digital Ocean, KVM or XEN based VMs) running Ubuntu 18.04 or later (not OpenVZ containers!)
  • At least 10 GB to store the block chain files
  • At least 2 GB RAM + 2 GB swap file

⁠Really Fast Quick Start

One liner for Ubuntu 18.04 LTS machines with JSON-RPC enabled on localhost and adds upstart init script:

curl https://raw.githubusercontent.com/skeincurrency/node/master/bootstrap-host.sh | sh -s bionic

⁠Quick Start

  1. Create a dashd-data volume to persist the dashd blockchain data, should exit immediately. The dashd-data container will store the blockchain when the node container is recreated (software upgrade, reboot, etc):
        docker volume create --name=skeincurrency-data
        docker run -v skeincurrency-data:/root/.skeincoin --name=skeincurrency-node -d \
            -p 127.0.0.1:9332:9332 \
            -p 34350:34350 \
            -p 127.0.0.1:28332:28332 \
            skeincurrency/node
  1. Verify that the container is running and SkeinCurrency node is downloading the blockchain
        $ docker ps
        CONTAINER ID        IMAGE                COMMAND                  CREATED             STATUS              PORTS                                                                              NAMES
        f5037029a36d        skeincurrency/node   "/bin/sh -c 'exec sk…"   8 seconds ago       Up 7 seconds        127.0.0.1:9332->9332/tcp, 127.0.0.1:28332->28332/tcp, 127.0.0.1:34350->34350/tcp   skeincurrency-node
  1. You can then access the daemon's output thanks to the docker logs command⁠
        docker logs -f skeincurrency-node
  1. Install optional init scripts for upstart and systemd are in the init directory.

⁠Documentation

  • For a custom network run, add a link to the config file in docker run as such:
  • Create file skeincoin.conf
   $  touch skeincoin.conf && nano skeincoin.conf
  • Edit your custom data
rpcpassword=rpc_skeincoin
rpcport=9332
rpcallowip=0.0.0.0/24
listen=1
server=1
txindex=1
addressindex=1
timestampindex=1
spentindex=1
addnode=node.skeinetwork.dev
zmqpubrawtx=tcp://0.0.0.0:28332
zmqpubrawtxlock=tcp://0.0.0.0:28332
zmqpubhashblock=tcp://0.0.0.0:28332
zmqpubhashtx=tcp://0.0.0.0:28332
zmqpubhashtxlock=tcp://0.0.0.0:28332
  • Save and run how
        docker run \
           -v skeincurrency-data:/root/.skeincoin \
           -v skeincoin.conf:/root/.skeincoin/skeincoin.conf \
           --name=skeincurrency-node -d \
            --env TESTNET=1 \
            -p 127.0.0.1:9332:9332 \
            -p 34350:34350 \
            -p 127.0.0.1:28332:28332 \
            skeincurrency/node

Tag summary

Content type

Image

Digest

Size

453 MB

Last updated

almost 5 years ago

docker pull skeincurrency/node:1.0.0