Skip to main content
initiad tx command enables you to modify the chain state by submitting a transaction. Each module provides a client-facing transaction interface. The general syntax for submitting a transaction is:

Send Tokens

To send tokens from one account to another, you can use the following command:

Deploy Move Module

First, clone the initia-tutorials repository, which contains the read_write module we’ll be using.
Before building the module, you need to update the module owner’s address to your own address in the Move.toml configuration file located in ./initia-tutorials/move/read_write. Use the following command to parse your Initia address into bytes format, which is your HEX address.
Now, modify the Move.toml file to include your HEX address:
Build the module using either CLI:
Then, publish the module to the Initia blockchain:
About the upgrade policy: To interact with the module, you can use the following command: