Sui

Details for working with Sui chains.

Developer Tools

Install the Sui dev tools using cargo install

cargo install --locked \
    --git https://github.com/MystenLabs/sui.git \
    --rev 09b2081498366df936abae26eea4b2d5cafb2788 \
    sui sui-faucet

Addresses

Because Wormhole works with many environments, the Wormhole address format is normalized.

For Sui based chains, no normalization is needed for standard addresses since they're already 32 bytes.

e.g. 0x84a5f374d29fc77e370014dce4fd6a55b58ad608de8074b0be5571701724da31 => 0x84a5f374d29fc77e370014dce4fd6a55b58ad608de8074b0be5571701724da31

Emitter

On sui the emitter is the object id of the emitter capability.

Sui

Ecosystem

Wormhole Details

  • Name: sui

  • Chain ID: 21

  • Contract Source: No source file, update here

Consistency Levels

The options for consistencyLevel (i.e finality) are:

LevelValue

Finalized

0

This field is may be ignored since the chain provides instant finality.

For more information see https://docs.sui.io/learn/architecture/consensus

Mainnet Contracts (35834a8a)

TypeContract

Core

0xaeab97f96cf9877fee2883315d459552b2b921edc16d7ceac6eab944dd88919c

Token Bridge

0xc57508ee0d4595e5a8728974a4a93a787d38f339757230d441e895422c07aba9

NFT Bridge

N/A

Testnet Contracts (4c78adac)

TypeContract

Core

0x31358d198147da50db32eda2562951d53973a0c0ad5ed738e9b17d88b213d790

Token Bridge

0x6fb10cdb7aa299e9a4308752dadecb049ff55a892de92992a1edbd7912b3d6da

NFT Bridge

N/A

Local Network Contract

TypeContract

Core

0x12253210c90f89e7a8525e6c52d41309ff5bfb31f43f561b5fe6f50cd72f9668

Token Bridge

0x830ed228c6f1bcb40003bb49af3277df2cbf933d63a6bcdcb0ba4580a1a7654e

NFT Bridge

N/A

Last updated