Continue developing your own Cosmos chain
Continue developing your own Cosmos chain
You will work further on your checkers blockchain and make your next steps with Ignite CLI. You have a workable checkers blockchain, one which lets players play.
But have you thought about everything? Is your blockchain safe from bad behavior? How do you incentivize good behavior? Can you also make it more fun?
Continue your journey with Ignite CLI: learn how to introduce a wager, manage gas, and query for players' moves.
# In this chapter
In this chapter, you will:
- Continuously develop your checkers blockchain with the Ignite CLI.
- Let players set a wager.
- Order your games and introduce a game deadline.
- Record the winners.
- Help players do a correct move.
- Explore how you can manage gas for your application-specific chain.
Put Your Games in Order
Store FIFO - prepare to expire games
Start here
Keep an Up-To-Date Game Deadline
Store field - games can expire
Start here
Record the Game Winner
Store field - store the winner of a game
Start here
Auto-Expiring Games
EndBlock - enforce the expiration of games
Start here
Let Players Set a Wager
Token - Players set a wager
Start here
Handle Wager Payments
Token - Wagers go around
Start here
Incentivize Players
Gas - reward validators proportional to their effort
Start here
Help Find a Correct Move
Query - help players make good transactions
Start here
Play With Cross-Chain Tokens
Let players wager any fungible token
Start here
# Next up
Begin by exploring modularity and data organization styles to introduce a FIFO data structure to put your games in order in the next section.