Chains
Sui
The Move format, same as Aptos: 64 hex digits behind 0x or the single digit short form. Coin type 784, sui:mainnet.
Chain / Move
Sui
"sui""Sui""Sui"
- Symbol
- SUI · 9 decimals
- Coin type
- 784
- CAIP-2
- sui:mainnet
- Checks
- address · txid
fields set 5 / 9
Network
- CAIP-2
sui:mainnet - Magic
none - PoW
none - RPC
none - Explorersuiscan.xyz
Access
- Create
create("sui") - Resolve
getChain("Sui") - CLI
chains info Sui - Tryplayground with a sample address
Address format
The Move family format, shared with Aptos: 0x and 64 hex digits, or a single hex digit for the special addresses. 0x2 is the Sui framework and 0x000…0002 is the same address written out. Forty hex digits, the EVM width, is rejected on purpose.
No alias beyond the name. Three letters is already the key.
import { getChain } from "@agntn/chains";
const chain = getChain("sui");
chain.assertAddress("0x0000000000000000000000000000000000000000000000000000000000000002"); // returned unchanged
chain.type; // "move"
chain.caip2; // "sui:mainnet"
Spellings
sui, Sui. The key is sui, the rest resolve through getChain.