Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 1.34 KB

File metadata and controls

20 lines (16 loc) · 1.34 KB

Connect to the Testnet

Theta Labs maintains a testnet environment which resembles the mainnet to facilitate partner testing. To connect to the testnet, open a terminal, and follow the steps below.

Step 1. Setup

Follow the instructions in setup to build and install the Theta ledger. Then, press Ctrl+C to stop the private net node, and execute the following commands.

cd $THETA_HOME
mkdir ../testnet
cp -r ./integration/testnet/walletnode ../testnet

Step 2. Launch and connect to the testnet

Start a screen or tmux session, and use the following commands to launch a launch a node and connect to the Theta testnet. It may take some time to download the blockchain data to be in-sync with the network.

theta start --config=../testnet/walletnode

Note: when the testnet Theta Node is launched for the first time, you need to choose a password to generate an address for the node. Please choose a secure password and keep it in a safe place. The next time when you launch the node again, you will need the password to unlock it.

NEXT: The instructions for connecting to the mainnet, or the API reference