The @dynamic-labs/sui-extension integrates your application with the Sui blockchain, providing a SuiClient and Signer to interact with the Sui network.
Incorporate the Sui extension into your client using the extend method to add getSigner, getNetworkUrl, and getNetworkName methods:
Copy
Ask AI
import { createClient } from '@dynamic-labs/client'import { SuiExtension } from '@dynamic-labs/sui-extension'/** * Creates and extends the client with Sui blockchain functionality. */export const dynamicClient = createClient({ environmentId: 'YOUR-ENVIRONMENT-ID',}).extend(SuiExtension())