Skip to content

Test Network

SamYu edited this page Jun 23, 2020 · 1 revision

Test Network

Why start a node on the oexchain test network?

If the oexchain 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 oexchain 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/oexplatform:

git clone https://github.com/oexplatform/oexchain

Enter the project directory

cd oexchain

To build the full suite of utilities:

make all

the oex and oexfinder in ./build/bin

Start node

On current project directory

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