The Chain is the latest Parity node, fully synchronized to the Ethereum blockchain
-
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.
git clone https://github.com/swarmcity/SwarmCityChain.git
cd SwarmCityChain
docker-compose up -d
docker-compose up
docker-compose down
# 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
docker-compose logs -f
Parity configuration file
conf/config.toml
More info about setting up parity:
Pesistent data stored on ./data
- keys
- parity_chain
- parity_basepath