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

chore: improve sui readme #247

Merged
merged 4 commits into from
May 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions sui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ sui keytool export --key-identity wallet
node sui/generate-keypair.js
```

Set `PRIVATE_KEY=[suiprivkey...]` in your `.env` file. Other private key types are supported via `--privateKeyType` and `--signatureScheme` flags.
Set `PRIVATE_KEY="suiprivkey..."` in your `.env` file. Other private key types are supported via `--privateKeyType` and `--signatureScheme` flags.

If you want to run against a local Sui network, then create a `local.json` config containing:
If you want to run against a local Sui network, then create a `axelar-chains-config/info/local.json` config containing:

```bash
{
Expand All @@ -32,7 +32,7 @@ If you want to run against a local Sui network, then create a `local.json` confi
"axelarId": "sui",
"networkType": "localnet",
"tokenSymbol": "SUI",
"rpc": "[local rpc]",
"rpc": "http://127.0.0.1:9000",
"contracts": {}
}
}
Expand Down Expand Up @@ -75,3 +75,9 @@ node sui/deploy-gateway.js -e testnet --signers '{"signers": [{"pubkey": "0x0201
```bash
node sui/deploy-test.js
```

## Troubleshooting

1. Move build error during the deployment step

Delete the `node_modules` folder and `package-lock.json` file and then run `npm install` again.
Loading