See Your Chain in Action

From Code to MVP to Production and Migrations

After having developed your chain, now you will take the next step to move your chain to a proof-of-concept and into production.

# In this chapter

In this chapter, you will learn:

  • How to apply the learnings from the section Path to Production to simulate a small production for your checkers application with the help of Docker Compose.
  • How to prepare and program a blockchain state migration (a.k.a. "a breaking change"), using the example of the introduction of a leaderboard to the checkers application.
  • How to prepare your server when an upgrade is upcoming.

# Next up

It is time to move your checkers blockchain into production. In the next section, you can explore how to simulate production with Docker Compose.

After, you will tally player info after production into your checkers blockchain. Upgrading your chain in production and dealing with data migrations and logic upgrades will become easier to understand after this guided coding section.

Next, you will add a leaderboard module and have it work elegantly with checkers, first without any migration complications.

After that, you will add another migration, this time for the introduction of the leaderboard module in production.

You finish by simulating upgrades in production with the use of Docker Compose.

# Developer Resources

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

Blockchain consensus engine and application interface

Cosmos Hub
Cosmos Hub
First interconnected public blockchain in the Interchain network

Industry standard protocol for inter-blockchain communication