Features
Privy’s Sui support includes everything your app needs to onboard users and move assets on Sui:- Embedded Sui wallets: create self-custodial Sui wallets for users with the
suichain type. - Transaction signing: sign the full Sui intent message for any transaction, then submit it with the Sui SDK.
- Message signing: sign arbitrary messages for authentication or offchain verification.
- Policy enforcement: constrain transactions and message signing with Privy’s policy engine.
- Server and client SDKs: manage Sui wallets from your backend with Privy’s server SDKs or directly from your app.
Sign a transaction
Sign the full intent message for a transaction with Privy’s raw_sign endpoint, then verify or submit it with the Sui SDK.Enforce policies
Sui wallets support Privy’s policy engine, so your app can constrain both transactions and message signing:- Transaction commands: allowlist the supported commands —
TransferObjects,SplitCoins, andMergeCoins— using thesui_transaction_commandfield source. - Transfer limits: cap amounts and restrict recipients using the
sui_transfer_objects_commandfield source. - Message signing: constrain the messages a wallet can sign using the
messagefield source. - System conditions: gate signing on values such as the current timestamp using the
systemfield source.
signTransactionBytes method, and message-signing
rules with the signRawMessageBytes method. See Sui policy
documentation for more information and example policies.
