-
Notifications
You must be signed in to change notification settings - Fork 17
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
base: main
Are you sure you want to change the base?
Conversation
| **Testnet** | - | TBD | | ||
| **Mainnet** | - | TBD | | ||
|
||
[Release](https://github.com/axelarnetwork/axelar-cgp-sui/releases/tag/v1.1.0) |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
- 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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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') |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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] |
There was a problem hiding this comment.
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] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: [symbo] -> [symbol]
https://axelarnetwork.atlassian.net/browse/AXE-7289