@dynamic-labs/sui-extension
integrates your application with the Sui blockchain, providing a SuiClient
and Signer
to interact with the Sui network.
Installation
To install the Sui extension, run the following command:Setup
Incorporate the Sui extension into your client using the extend method to add getSigner, getNetworkUrl, and getNetworkName methods:Usage
After setup, you can interact with the Sui blockchain. Below is an example of a component that sends SUI tokens to a specified wallet address:Chain Support
Sui support is available for React Native applications as of v4.26.0. This enables:- Wallet connection and management for Sui wallets
- Transaction signing and execution
- Integration with Sui dApps and protocols
- Support for embedded wallets on Sui network
Configuration
To enable Sui support in your Dynamic configuration, make sure to:- Enable Sui chain in your Dynamic dashboard
- Configure Sui network settings as needed
- Install and configure the Sui extension as shown above