Run a chain for the first time

Run Your Own Cosmos Chain

Do you want to find out how to interact with Cosmos chains? Let's take it step-by-step.

Begin by interacting with a chain using simapp first. In the end, you will know how to run a node, create blocks, and send transactions.

Then discover the first steps to build an application-specific blockchain from scratch using the Ignite CLI to implement a checkers game.

# In this module

In this chapter, you will:

  • Find instructions on how to setup your work environment.
  • Learn how to run a node and interact with a Cosmos SDK chain.
  • Work with the Ignite CLI.
  • Begin implementing a blockchain for a checkers game using the Ignite CLI.
Set Up Your Work Environment
All you need for the hands-on sections
Deep dive
Run a Node, API, and CLI
Interact with a Cosmos SDK chain through simapp
Deep dive
Ignite CLI
An easy way to build your application-specific blockchain
Deep dive
Exercise - Make a Checkers Blockchain
Exercise introduction
Deep dive
Store Field - Keep an Up-To-Date Game Deadline
Games can expire
Deep dive
Store Object - Make a Checkers Blockchain
Create the object that stores a game
Deep dive
Create Custom Messages for Your Checkers Blockchain
Introduce the message to create a game
Deep dive
Message Handler - Create and Save a Game Properly
Create a proper game
Deep dive
Message and Handler - Add a Way to Make a Move
Play a game
Deep dive
Events - Emit Game Information
Emit game information using events
Deep dive
Message and Handler - Make Sure a Player Can Reject a Game
Reject a game
Deep dive
Store FIFO - Put Your Games in Order
Prepare to expire games
Deep dive
Store Field - Record the Game Winner
Store the winner of a game
Deep dive
EndBlock - Auto-Expiring Games
Enforce the expiration of games
Deep dive
Token - Let Players Set a Wager
Players set a wager
Deep dive
Gas - Incentivize Players
Reward validators proportional to their effort
Deep dive
Query - Help Find a Correct Move
Help players make good transactions
Deep dive
IBC Token - Play With Cross-Chain Tokens
Let players wager any fungible token
Deep dive
Migration - Introduce a Leaderboard After Production
A leaderboard for your in-production blockchain
Deep dive
CosmWasm
Multi-chain smart contracts
Deep dive

# Next up

Before you begin running a node and exploring Ignite CLI, prep everything for the running exercise - creating a checkers blockchain - by going through the section Setup Your Work Environment.

# Developer resources

Cosmos SDK
Cosmos SDK
A framework to build application-specific blockchains

Tendermint Core
Tendermint Core
Blockchain consensus engine and application interface

Cosmos Hub
Cosmos Hub
First interconnected public blockchain on the Cosmos network

IBC
IBC
Industry standard protocol for inter-blockchain communication