Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add release doc for ITS on Sui #526

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

blockchainguyy
Copy link
Contributor

| **Testnet** | - | TBD |
| **Mainnet** | - | TBD |

[Release](https://github.com/axelarnetwork/axelar-cgp-sui/releases/tag/v1.1.0)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.1.0 has not been released yet, but should be the version to be deployed.


- [ ] Run the following to test ITS transfer

```bash
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will need to test and verify these after ITS deployment on an environment.

@blockchainguyy blockchainguyy marked this pull request as ready for review January 31, 2025 14:06
@blockchainguyy blockchainguyy requested a review from a team as a code owner January 31, 2025 14:06
- Deploy the ITS Contract and required depndencies on Sui (remember to save `sui/move` files for ITS deployment)

```bash
node sui/deploy-contract.js deploy ABI
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The package name is Abi, not ABI.


```bash
node sui/deploy-contract.js deploy ABI
node sui/deploy-contract.js deploy ITS
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The package name is InterchainTokenService, not ITS, probably rebase on #517.


```bash
ITS_HUB_ADDR=$(cat ./axelar-chains-config/info/<your_config_name>.json | jq -rM '.axelar.contracts.InterchainTokenService.address')
ITS_SUI_CHANNEL=$(cat ./axelar-chains-config/info/<your_config_name>.json | jq -rM '.chains.sui.contracts.ITS.objects.ChannelId')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change its to InterchainTokenService

```bash
ITS_HUB_ADDR=$(cat ./axelar-chains-config/info/<your_config_name>.json | jq -rM '.axelar.contracts.InterchainTokenService.address')

node sui/its.js setup-trusted-address axelar $ITS_HUB_ADDR
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this after rebasing to the above

node evm/its.js -n avalanche-fuji,ethereum-sepolia --action setTrustedAddress --trustedChain sui --trustedAddress hub

# the other way around, done for all existing chains with ITS
node sui/its.js setup-trusted-address all-evm hub
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename setup-trusted-address to add-trusted-chains and remove hub

node sui/its-example deploy-token --origin [symbo] [name] [decimal]

# Send Token Deployment to Gateway
node sui/its-example send-deployment [symbol] [consensusChain] [fee]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all chains are amplifier chains for sui so I think this is redundant


```bash
# Deploy Test Tokens
node sui/its-example deploy-token --origin [symbo] [name] [decimal]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: [symbo] -> [symbol]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants