Categorygithub.com/ComputerKeeda/balloon
module
0.0.0-20240115093000-6c6f01e8aa8b
Repository: https://github.com/computerkeeda/balloon.git
Documentation: pkg.go.dev

# README

Balloon

In this project, we are learning how to upgrade a Cosmos | Ignite chain while preserving the older data. Here is what we have planned to test whether we have achieved our goal or not.

First, we will create a custom message that enables us to execute a transaction, which will then be recorded on the blockchain. We'll also save the transaction hashes for later use. After completing these transactions, we will halt the blockchain operation. Following this, we'll introduce a new message type and execute another set of transactions to generate new transaction hashes, which, in my opinion, should be easily retrievable. Additionally, we will attempt to access the previously saved data. If we can successfully retrieve the old data along with the new transaction hashes,

Boom, we will have successfully achieved our goal.

so let's create our first message

1. AddBalloon

ignite scaffold message addBalloon balloonName balloonHeight --response message

now we will run the chain and perform some transactions

ignite chain serve

let's check whether our message works or not

balloond tx balloon add-balloon

it should show us something like this

Usage:
balloond tx balloon add-balloon [balloon-name] [balloon-height] [flags]

Now let's pass the full command

balloond tx balloon add-balloon testballoon 80085 --from alice -y

now go to this url in your browserhttp://0.0.0.0:1317/cosmos/tx/v1beta1/txs/<TxHashYouJustGot> with your tx hash you will see your transaction

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author