AIOZ Blockchain - EVM x Cosmos
Join Mainnet

Join Mainnet

Quickstart

Install aiozd

Follow the installation prerequisites document to install the AIOZ Network Node binary aiozd.

Configuration

Before you can join the AIOZ Network Mainnet, you need to configure your node. This includes setting up the necessary parameters and downloading the latest data snapshot.

Follow the guide on the AIOZ Network Snapshots (opens in a new tab) page to configure your node. This page provides detailed instructions on how to download and use the latest data snapshot, which will help you sync your node with the network faster.

Export State

AIOZ Network can dump the entire application state into a JSON file. This application state dump is useful for manual analysis and can also be used as the genesis file of a new network.

Export state with:

aiozd export > [filename].json

You can also export state from a particular height (at the end of processing the block of that height):

aiozd export --height [height] > [filename].json

If you plan to start a new network from the exported state, export with the --for-zero-height flag:

aiozd export --height [height] --for-zero-height > [filename].json

Pruning of State

There are four strategies for pruning state. These strategies apply only to state and do not apply to block storage. To set pruning, adjust the pruning parameter in the ~/.aioz/config/app.toml file. The following pruning state settings are available:

  1. everything: Prune all saved states other than the current state.
  2. nothing: Save all states and delete nothing.
  3. default: Save the last 100 states and the state of every 10,000th block.
  4. custom: Specify pruning settings with the pruning-keep-recent, pruning-keep-every, and pruning-interval parameters.

By default, every node is in default mode which is the recommended setting for most environments. If you want to change your node pruning strategy, you must do so when the node is initialized. Passing a flag when starting aioz will always override settings in the app.toml file, if you would like to change your node to the everything mode then you can pass the ---pruning everything flag when you call aiozd start.

Note: When you are pruning state you will not be able to query the heights that are not in your store.

AIOZ Network Mainnet Information

AIOZ NetworkMainnet
Chain ID168
Ethereum JSON-RPChttps://eth-dataseed.aioz.network (opens in a new tab)
Cosmos RPChttps://rpc-dataseed.aioz.network (opens in a new tab)
Blockchain Explorer URLhttps://explorer.aioz.network (opens in a new tab)