Tokamak Network Documents
  • Docs
  • Getting Started
  • Languages iconEnglish
    • 한국어

›Connect Public Testnet

Learn

    Basic

    • Tokamak Network
    • Interoperability
    • Convenience
    • Comparison with Other Solutions

    Advanced

    • Design Rationale
    • Plasma EVM Architecture
    • RootChain
    • Child Chain
    • Continuous Rebase
    • Plasma EVM Smart Contracts
    • Examples and Best Practices

    Token Economy

    • TON
    • Child Chain and Staking
    • Token Supply and Distribution
    • PowerTON
    • Transaction Fee
    • Challenge
    • Parameters

Guide

    Getting Started Private Testnet

    • Setup Rootchain
    • Setup Childchain
    • Setup with Puppeth

    Connect Public Testnet

    • Requirements
    • Manually
    • With Puppeth
    • Public Testnet Information

    TON Staking

    • How to Set Operator
    • Private Testnet Staking
    • Rinkeby Testnet Staking
    • How to Commit
Edit

Requirements for Connecting Public Testnet

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.

  1. Connect to public testnet in local environment
  2. Connect to public testnet with Puppeth

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 RootChain Node

For running user node, you need to access to RootChain. There are many ways, but we recommend to use testnet node address served by Infura

If you do not have Infura account, sign up in infura.io.

Generate Rinkeby RootChain Address

Login to Infura, and click "CREATE NEW PROJECT" of Dashboard to create new project.

Configure RootChain address as below.

wss://rinkeby.infura.io/ws/v3/[PROJECT ID]

Infura node ID

Ex) wss://rinkeby.infura.io/ws/v3/07b1363d79a94e30af61da848ecfa194

If you already have your own node of Rinkeby testnet, you can use it instead of Infura.

Last updated on 2020. 4. 9. by Jin
← Setup with PuppethManually →
  • System Update and Install Required Packages
    • Set Golang Environment
  • Get Endpoint URL of RootChain Node
    • Generate Rinkeby RootChain Address
Docs
LearnGuides
Community
DiscordTelegramTwitterFacebook
More
Onther BlogOnther GitHub
Tokamak Network
Copyright © 2020 Onther Inc.