In this section we will explain how to join testnets, where to find testnet configurations, and some scripts to make the process faster.
# Select Your Network
You can find active and in-active testnet information such as configs and endpoints on CosmWasm/testnets (opens new window).
# Setup
Let's start rolling your node and start producing blocks in testnet environment.
Before starting, you can use CosmWasm/tesnets/devops (opens new window) that contains easy setup scripts for wasmd node, faucet, block explorer (opens new window), lcd, nginx etc. Scripts below does the some thing as devops repo in essence, just more manual and excludes nginx and system supervisor. Feel free to use them.
First of all make sure you followed the installation steps in build requirements section. You should have the required binaries. If you just want to copy and execute the scripts below, make sure to set up environment variables:
Below is the musselnet configuration (opens new window).
For running these scripts seamlessly, We recommend you to create a directory for CosmWasm tooling:
mkdir CosmWasm && cd CosmWasm && export CW_DIR=$(pwd)
Initialize wallet using command:
# Joining Live Testnets
# Run wasmd Full Node
Now you should be seeing blocks being replayed and your node is catching up with the testnet. This could take a while.
# Become A Validator(optional)
In order to join the network as validator, you need some staking tokens. Please ask some in discord testnets channel (opens new window)
If you want to participate in active block building, you need some coins staked to your validators address.
For those interested in validator stack, here is a good reading source on validator architectures: certus one blog (opens new window)
Note: make sure your validator is synced before upgrading to validator
# Run the Light Client Daemon
With wasmd version v0.13 lcd client and node merged. To enable light client, change app.toml/api
value to true.
# Joining To Be Launched Testnets
You need to have your address and informations defined in networks genesis file to join not yet launched testnets. Here is the script you can run to take care of it automatically.
After the network is launched you can follow Joining Live Testnets.
# Deploying Contracts to Testnet
Getting Started section is the best reading source that teaches you the process of compiling and deploying contracts using a basic smart contract. If you are interested in developing your own contracts, after reading getting started tutorials head to Hijacking Escrow where you play around with the example escrow contract.