---
tags: game-of-chains
---

# Game of Chains
Game of Chains (GoC) is an incentivized testnet program that will help validators develop confidence around Interchain Security (ICS) and provide a public platform where this new technology can be thoroughly tested.
We have a number of rewards planned for GoC! Please remember that:
* **Only Cosmos Hub validators in the active set are eligible to earn rewards in the Game of Chains testnet program.**
* **Validators operated by employees of Informal Systems, Hypha, and Interchain Foundation are eligible to participate, but ineligible for rewards.**
**Table of Contents**
- [How to Join](#How-to-Join)
- [Overview](#Overview)
- [Disclaimers](#Disclaimers)
- [Timeline](#Timeline)
- [Points System](#Points-System)
- [Rules](#Rules)
## How to Join
Fill out **[this form](https://interchainsecurity.dev/game-of-chains-2022)** to register in the program.
## Overview
Through the various GoC phases, validators are expected to build an understanding of ICS and help us discover interesting attack vectors.
The testnet infrastructure will include:
- Provider chain
- Multiple consumer chains
- IBC relayers
- Support services
The provider chain will be started by testnet coordinators (Hypha, Informal, and Interchain, who will control a majority of the stake), and joined by all participating validators. It will function as an analogue of the Cosmos Hub. Its governance parameters will provide short voting periods to accelerate the creation of consumer chains.
Testnet coordinators will prepare and coordinate the start of several consumer chains. One consumer chain will be stopped halfway through the testnet program, and another one at the very end.
After the planned consumer chains have been successfully started, validators will be encouraged to start and stop any number of additional consumer chains for the remainder of the program. This will require some coordination with other validators to have proposals passed and ensure their consumer chains start.
Testnet coordinators will provide guidance on how to join the testnet using scripts, Ansible playbooks, and required data (genesis files, peers, etc.) for the provider and planned consumer chains using this repo.
Testnet coordinators will operate IBC relayers between the provider and planned consumer chains for the duration of the program.
Testnet coordinators will make the following support services available for the provider and planned consumer chains:
- Block explorer
- Faucets
- Consensus monitors
A leaderboard with validator standings will be available at https://interchainsecurity.dev/game-of-chains-2022.
π¬ Testnet coordinators will be available in the Discord channel **#βγ»game-of-chains**.
### Token Distribution and Delegation
A faucet will be made be available for participants to get enough funds to create a validator in the provider chain.
Testnet coordinators will operate a validator that maintains the majority of the voting power through phases 1 and 2 in to provide liveness and make sure planned proposals pass. This validator will redistribute its staked tokens at the beginning of phase 3 to simulate a more real-world scenario.
**Tokens will be periodically delegated among validators in the provider chain to trigger validator set updates that will be reflected in the consumer chains.**
## Disclaimers
1. The final number of points awarded to each participant is at the discretion of the testnet jury.
2. The timeline for all phases and rounds may change depending on the outcome of previous activities.
3. Available tasks and points may be adjusted during the course of the testnet program.
4. All evidence submitted for points must be sent through **this site (TBD)**.
## Timeline
### Phase 1: Two Dummy Chains
- Testnet coordinators will start a provider chain and provide guidance on how to join it.
- Testnet coordinators will submit proposals to create two consumer chains.
- Validators will vote yes on the proposals and run the consumer chain binaries.
- Testnet coordinators will run the relayer between provider and consumer chains.
- **Duration: 3 days**
Phase tasks:
* π 1. Vote on the Sputnik `create-consumer-chain` proposal (1 point)
* π 2. Vote on the Apollo `create-consumer-chain` proposal (1 point)
* π· 11. Sign on the first block of the Sputnik chain (1 point)
* π· 12. Sign on the first block of the Apollo chain (1 point)
* **4 points maximum**
#### Round 1: Start the Sputnik and Apollo Consumer Chains
**Day 1-3**
Sputnik will be the first attempt to start a consumer chain, with the aim of keeping it online for the duration of the testnet program. The binary for this chain will be a stripped-down version of a Cosmos SDK chain with only the essential components needed to function.
Apollo will start shortly after Sputnik, and it will use the same binary. The Apollo chain will be stopped via governance proposal in the following phase.
Testnet coordinators will submit the create chain proposals and distribute the necessary files and data prior to and following the spawn time:
- Guides for joining
- Binary file
- Genesis files
- Peer address
- Faucet address
### Phase 2: Three Planned Chains
- Testnet coordinators will submit two proposals to create additional consumer chains and one proposal to stop one of them.
- Validators will vote yes on proposals and run the consumer chain binaries.
- Testnet coordinators will run relayers between provider and consumer chains.
- **Duration: 9 days**
Phase tasks
* π 3. Vote on the Neutron `create-consumer-chain` proposal (1 point)
* π 4. Vote on the Duality `create-consumer-chain` proposal (1 point)
* π 5. Vote on the Stride `create-consumer-chain` proposal (1 point)
* π 6. Vote on the Apollo `stop-consumer-chain` proposal (1 point)
* π· 13. Sign on the first block of the Neutron chain (1 point)
* π· 14. Sign on the first block of the Duality chain (1 point)
* π· 15. Sign on the first block of the Stride chain (1 point)
* π· 16. Sign on the last block of the Apollo chain without having been jailed for downtime since the first block (1 point)
* **8 points maximum**
#### Round 2: Start the Neutron Consumer Chain
**Day 4-8**
#### Round 3: Start the Duality Consumer Chain
**Day 8-10**
#### Round 4: Start the Stride Consumer Chain
**Day 9-11**
#### Round 5: Stop the Apollo Consumer Chain
**Day 10-12**
Testnet coordinators will submit a proposal to stop the Apollo chain.
### Phase 3: Anyone Can Make a Chain
- Validators will submit proposals and coordinate with each other to start and stop consumer chains.
- Validators will operate relayers.
- Testnet coordinators will submit proposals that may be incorrect or point to malicious binaries.
- **Duration: 10 days**
Phase tasks:
* π 7. Vote no on at least one proposal that contains incorrect metadata (1 point)
* π 8. Vote no on at least one proposal that links to malicious binaries (2 points)
* π· 17. Sign on the last block of the Sputnik chain without having been jailed for downtime since the first block (2 point)
* π· 18. Create at least one custom consumer chain binary for a proposal that passes (5 points)
* π· 19. Submit at least one `create-consumer-chain` proposal for a chain that starts (5 points)
* π· 20. Submit at least one `stop-consumer-chain` proposal that results in the chain stopping at the specified height (5 points)
* π· 21. Run a relayer between a provider and consumer chain that relays at least 500 validator set changes (10 points)
* **30 points maximum**
#### Round 6: Proposal Due Diligence
**Day 15-19**
Testnet coordinators will submit several proposals to create consumer chains:
- Some proposals may be erroneous.
- Some binaries related to these proposals will be malicious.
It will be up to the validators to review the proposals and reject the bad ones! None of these proposals should result in a consumer chain starting.
#### Round 7: Start Validator Consumer Chains
**Day 15-24**
Validators will start any number of additional consumer chains. This will require some engagement and coordination with other participants, besides submitting proposals and (optionally) preparing custom binaries.
Validators will be responsible for running relayers between the provider and consumer chains.
#### Round 8: Stop Validator Consumer Chains
**Day 17-24**
Validators will be in charge of stopping consumer chains.
#### Round 9: Stop the Sputnik Consumer Chain
**Day 24-24**
Testnet coordinators will turn off the relayer between the provider and Sputnik chains. The IBC client will expire and reach the timeout period, causing the Sputnik chain to stop.
## Points System
To earn points in the Game of Chains testnet program, you can:
- Complete one or more tasks from the [categories listed below](#π-Auditor-Tasks), or
- Submit an entry for the [Testnet Awards](#π -Testnet-Awards).
### π Auditor Tasks
#### Review and Vote on Proposals
| # | Points | Task | Evidence |
|---|-----|-----|---|
| 1 | 1 | Vote yes on the Sputnik `create-consumer-chain` proposal | TX hash |
| 2 | 1 | Vote yes on the Apollo `create-consumer-chain` proposal | TX hash |
| 3 | 1 | Vote yes on the Neutron `create-consumer-chain` proposal | TX hash |
| 4 | 1 | Vote yes on the Duality `create-consumer-chain` proposal | TX hash |
| 5 | 1 | Vote yes on the Stride `create-consumer-chain` proposal | TX hash |
| 6 | 1 | Vote yes on the Apollo `stop-consumer-chain` proposal | TX hash |
| 7 | 1 | Vote no on at least one proposal that contains incorrect metadata | TX hash |
| 8 | 2 | Vote no on at least one proposal that links to malicious binaries | TX hash |
#### Validator Sets Monitoring
**βΌ π’ The following task can be completed at any point throughout the testnet program**
| # | Points | Task | Evidence |
|---|-----|-----|---|
| 9 | 50 | Find a consumer chain validator set that has not existed in the provider chain | Log, block height |
| 10 | 50 | Find a validator set update that is received in the wrong order in a consumer chain | Log, block height |
### π· Builder Tasks
#### Start and Stop Consumer Chains
| # | Points | Task | Evidence |
|---|-----|-----|---|
| 11 | 1 | Sign the first block after genesis of the Sputnik chain | None required* |
| 12 | 1 | Sign the first block after genesis of the Apollo chain | None required* |
| 13 | 1 | Sign the first block after genesis of the Neutron chain | None required* |
| 14 | 1 | Sign the first block after genesis of the Duality chain | None required* |
| 15 | 1 | Sign the first block after genesis of the Stride chain | None required* |
| 16 | 1 | Sign the last block of the Apollo chain without having been jailed for downtime since the first block | None required* |
| 17 | 2 | Sign the last block of the Sputnik chain without having been jailed for downtime since the first block | None required* |
| 18 | 5 | Create at least one custom consumer chain binary for a proposal that passes | Source code |
| 19 | 5 | Submit at least one `create-consumer-chain` proposal for a chain that starts | TX hash |
| 20 | 5 | Submit at least one `stop-consumer-chain` proposal that results in the chain stopping at the specified height | TX hash |
* \*For tasks that do not require evidence, testnet coordinators will query the relevant blocks.
#### Run a Relayer
| # | Points | Task | Evidence |
|----|---|----|----|
| 21 | 20 | Run a relayer between a provider and consumer chain that relays at least 500 validator set changes | Consumer chain block heights with validator set updates |
### πͺ Chaotic Tasks
**βΌ π’ Chaotic tasks can be completed at any point throughout the testnet program**
#### Validator Misbehaviour
| # | Points | Task | Evidence |
|----|---|----|----|
| 22 | 5 | Get unjailed at least twice after downtime in Sputnik or Apollo | TX hashes |
| 23 | 5 | Double sign in Sputnik or Apollo and create a new validator | Block height for double-signing and TX hash for creating new validator |
| 24 | 150 | Double sign in a consumer chain without getting jailed | Write-up |
#### Relayer Misbehaviour
| # | Points | Task | Evidence |
|----|---|----|----|
| 25 | 150 | Break the protocol through relayer misbehaviour | Write-up that demonstrates behaviour that deviates from [the ICS-028 spec](https://github.com/cosmos/ibc/blob/main/spec/app/ics-028-cross-chain-validation/README.md). |
### π Testnet Awards
The testnet jury will decide who is the winner of the following awards:
| Points | Award | Description |
|---|---|---|
| 200 | Best Auditor | Find any unexpected critical issues that were not found through planned tasks |
| 100 | Public Goods Awards (Up to two) | Integrates a block explorer, wallet, dashboard, or creates a novel tool that is useful for testing Interchain Security |
| 50 | Most Helpful Validator | Provides guidance and onboarding support to others, answers questions in Discord |
| 25 | Best Memes | Gets people excited on social media through tweets and memes |
If you would like to provide the jury with more information about your pariticipation in the testnet that should be considered for these awards, feel free to use the evidence submission form. You may submit issue writeups, descriptions for public goods, or any other evidence that can help us make an informed jury decision.
## Rules
The Game of Chains testnet aims to help validators better understand and become familiar with Interchain Security, and at the same time identify potential issues in the underlying code. While participants are encouraged to behave adversarially on the network, breaking the rules outlined below will result in disqualification.
The rules for playing Game of Chains can be changed at any time. Changes will be committed here and announced via Discord.
### Disqualification
The following behaviour will result in participants being disqualified from Game of Chains:
* Violating the Gaia [Code of Conduct](https://github.com/cosmos/gaia/blob/main/CODE_OF_CONDUCT.md).
* Registering an account to simply delegate or transfer all the tokens to a single or small number number of validators.
* Engaging in any prohibited behaviour.
### Prohibited Behaviour
* Any attack against a node that violates the acceptable use policy outlined by that node's cloud service provider. Please familiarize yourself with those policies (such as [Google's](https://cloud.google.com/terms/aup), [Amazon's](https://aws.amazon.com/aup/), or [Digital Ocean's](https://www.digitalocean.com/legal/acceptable-use-policy)).
* Social engineering attacks against other validators. This includes but is not limited to phishing, compromising cloud account credentials, malware, and physical security attacks on data centers.
* Attacking any testnet other than the Game of Chains one.
* Causing long-term harm to a validator setup.
* Exploiting application-level security vulnerabilities in Cosmos and Tendermint code.