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