Install Sui cli
Installation gui for Sui cli
Atoma smart contract
Atoma on-chain logic is currently deployed on Sui's testnet. In order to interact with Atoma's testnet smart contract, please refer to the following object ids:
Atoma db: "0x7b8f40e38698deb650519a51f9c1a725bf8cfdc074d1552a4dc85976c2b414be" Atoma package ID: "0xc05bae323433740c969d8cf938c48d7559490be5f8dde158792e7a0623787013" TOMA package ID: "0xa1b2ce1a52abc52c5d21be9da0f752dbd587018bc666c5298f778f42de26df1d"
The TOMA package represents the logic for Atoma's current testnet faucet token, used for collateral deposit and slashing.
Install Sui client locally
The first step in setting up an Atoma node is installing the Sui client locally. Please refer to the Sui installation guide for more information.
Once you have the Sui client installed, locally, you need to connect to a Sui RPC node to be able to interact with the Sui blockchain and therefore the Atoma smart contract. Please refer to the Connect to a Sui Network guide for more information.
You then need to create a wallet and fund it with some testnet SUI. Please refer to the Sui wallet guide for more information. If you are plan to run the Atoma node on Sui's testnet, you can request testnet SUI tokens by following the docs.
Once you finish the steps above, you should have the following files created locally (you should replace
~
with your home folder directory, if needed):
~/.sui/sui_config/client.yaml
- the Sui client configuration file.~/.sui/sui_config/sui.keystore
- The Sui keystore file (contains your private key(s)).
Currently, Atoma is deployed on Sui's testnet. You can claim faucet Sui token funds
And then query your balance as:
You can mint faucet TOMA testnet tokens, by running the command:
Atoma cli (optional)
To ease the process of interacting with the Atoma smart contract, we provide our own custom cli. In order to interact with Atoma's own cli, please execute the following:
You can then request TOMA faucet tokens, which are required to participate on Atoma's testnet, as:
You can then query your wallet balance, again to see your newly minted faucet TOMA tokens:
Last updated