Sui Dapp Integration
This wallet follows the Sui Wallet Standard. Reference for integrating with your dApp via the in-app browser.
π§© Detecting Wallet
const provider = window?.wallet?.features?.['sui:connect'];
if (provider) {
console.log("Sui wallet is available!");
}β
Connect
const accounts = await window.wallet.features['sui:connect'].connect();π Get Accounts
π Sign Message
π Sign Transaction Block
π Sign and Execute Transaction
π Disconnect
β οΈ Error Handling
References
Last updated
Was this helpful?