/SwarmCityChain

The Chain is the latest Parity node, fully synchronized to the Ethereum blockchain

MIT LicenseMIT

Swarm City

Build Status

Swarm City Chain

Introduction

The Chain is the latest Parity node, fully synchronized to the Ethereum blockchain

Install dependencies

  • git

    Install git commandline tool.

  • docker

    Install docker. The community edition (docker-ce) will work. In Linux make sure you grant permissions to the current user to use docker by adding current user to docker group, sudo usermod -aG docker $USER. Once you update the users group, exit from the current terminal and open a new one to make effect.

  • docker-compose

    Install docker-compose

Note:- Make sure you can run git, docker ps, docker-compose without any issue and without sudo command.

Install SwarmCityChain

git clone https://github.com/swarmcity/SwarmCityChain.git

Initialize

cd SwarmCityChain
docker-compose up -d

Initialize foreground

docker-compose up

Stop

docker-compose down

Status

# docker-compose ps
        Name                      Command               State                                               Ports                                              
--------------------------------------------------------------------------------------------------------------------------------------------------------------
SwarmCityChainParity   /parity/parity --config /r ...   Up      0.0.0.0:8080->8080/tcp, 0.0.0.0:8180->8180/tcp, 0.0.0.0:8545->8545/tcp, 0.0.0.0:8546->8546/tcp 

Logs

docker-compose logs -f

Configuration

Parity

Parity configuration file

conf/config.toml

More info about setting up parity:

wiki

parity-config-generator

Docker-compose

Pesistent data stored on ./data

  • keys
  • parity_chain
  • parity_basepath