Test Network - Second-Earth/setchain GitHub Wiki

Test Network

Why start a node on the setchain test network?

If the setchain has a function update, it will first be updated to the test network to test the correctness and feasibility of the function. When the verification is passed, the main network is updated.

Transitioning towards developers, if you'd like to play around with creating contracts, you almost certainly would like to do that without any real money involved until you get the hang of the entire system. In other words, instead of attaching to the main network, you want to join the test network with your node, which is fully equivalent to the main network, but with play only.

How to join on the setchain test network?

Development environment

Go version:

  • go1.9.2 and higher

Currently supports the following operating systems:

  • Ubuntu 16.04
  • Ubuntu 18.04
  • MacOS Darwin 10.12 and higher

Building the source

To download all of the code in $GOPATH/src/github.com/setchain:

git clone https://github.com/Second-Earth/setchain

Enter the project directory

cd setchain

To build the full suite of utilities:

make all

the set and setfinder in ./build/bin

Start node

On current project directory

./build/bin/set --genesis=./build/testnet.json --p2p_id 2