Faraday is public testnet of Tokamak Network operated by Onther.
Same as all tokamak child chain, only operator can mine blocks in Faraday testent. This guide explains how to setup user node connected to the testnet.
You can take either way of below to setup user node.
System Update and Install Required Packages
Setup compilement environment with following command.
~$ sudo apt-get update && sudo apt-get install tar wget make git build-essential -y
Set Golang Environment
Run following command in order.
Install Go compiler at
/usr/local/ by running following command.
~$ wget https://dl.google.com/go/go1.13.4.linux-amd64.tar.gz ~$ tar -xvf go1.13.4.linux-amd64.tar.gz ~$ sudo mv go /usr/local
Make a directory for GOPATH, set envrionment variables.
~$ export GOROOT=/usr/local/go ~$ mkdir -p $HOME/plasma ~$ export GOPATH=$HOME/plasma ~$ export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
We recommend to register environment variables to
~/.profile file, in order to keep this setting permanently.
# ~/.profile .... export GOROOT=/usr/local/go export GOPATH=$HOME/plasma export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
Get Endpoint URL of
For running user node, you need to access to
RootChain. There are many ways, but we recommend to use testnet node address served by
If you do not have
Infura account, sign up in infura.io.
Infura, and click
"CREATE NEW PROJECT" of
Dashboard to create new project.
RootChain address as below.
If you already have your own node of Rinkeby testnet, you can use it instead of