The Impact blockchain for the Cosmos ecosystem
The following instructions allow you to run a single node network on your local machine and interact with it using the command line interface (CLI). It is the simplest way to become familiar with the ixo Blockchain.
After completing this guide you can run a node on the pandora
testnet.
We recommend the use of Docker and Docker Compose. The configuration files are provided in the ixo-blockchain
directory.
Another way to interact with a node is the ixo MultiClient SDK, instead of CLI.
You will need the following to install and run the ixo
binary:
Optional:
The ixo
binary is named ixod
and serves as the node client and the application client. In other words, the ixo
binary can be used to both run a node and to interact with it.
Clone the ixo
repository:
Change to the ixo-blockchain
directory:
Check out the latest stable version:
Start a session (let's refer to it as session 1
).
Install the ixo
binary.
Check to make sure the installation was successful.
Start the ixo-blockchain
node using pre-configured data.
The script will start the blockchain and create accounts appropriate for the ixo-blockchain
to enable easy interaction. The blocks will progress and you should see the logs to confirm it.
Start another session (let's refer to it as session 2
).
Use the ixod
CLI to query the total bank balances.
You can now interact successfully with the ixo
binary.
Go back to session 1
.
Stop the running node using CTRL
+ C
.
There are two ways to restart the node:
With the same data and continuing from the same block height.
or with the data reset to the first time the node started successfully and from block height 1.
Create a Docker image called ixo-chain
and tagged devel
.
Compose a Docker container.
Start a Bash session (let's refer to it as bash session 1
).
Install the ixo
binary.
Check to make sure the installation was successful.
Start the ixo-blockchain
node using pre-configured data.
Script will start the blockchain and create accounts appropriate for the ixo-blockchain
to enable easy interaction. The blocks will progress and you should see the logs to confirm it.
Start another Bash session (let's refer to it as bash session 2
).
Use the ixod
CLI to query the total bank balances.
You can now interact successfully with the ixo
binary.
Go back to bash session 1
.
Stop the running node using CTRL
+ C
.bash
There are two ways to restart the node:
With the same data and continuing from the same block height.
or with the data reset to the first time the node started successfully and from block height 1.