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).
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 heldernet configuration (opens new window).
We have setup different executables for each testnet names after network names like:
For running these scripts seamlessly, We recommend you to create a directory for CosmWasm tooling:
mkdir CosmWasm && cd CosmWasm && export CW_DIR=$(pwd)
# Initialize Your Wallet
coral and generate validator account:
# Joining Live Testnets
# Run wasmd Node
Now you should be seeing blocks being replayed and your node is catching up with the testnet. This could take a while.
# Become An Active 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
# 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. It uses
wasmd network specific executables (opens new window):
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.