What problem does it solve?
Sui frontend development involves connecting browser apps to wallets, querying on-chain data, and signing/executing transactions against the Sui network, using the modern dApp Kit to streamline these tasks and avoid deprecated patterns.
Core Features & Use Cases
- Package installation for React and non-React ecosystems (mysten/dapp-kit-react, mysten/dapp-kit-core, mysten/sui, etc.).
- DApp Kit instance setup and provider integration (React: DAppKitProvider, non-React: nanostores and Web Components).
- On-chain queries and transactions using the same PTB approach and the Sui SDK across environments.
- Network switching and wallet-gated UI to build end-to-end dApps in the browser.
Quick Start
Install the appropriate packages, configure createDAppKit with a SuiGrpcClient for testnet and mainnet, wrap your app with DAppKitProvider (or register the web components for non-React), and render a ConnectButton to establish a wallet connection.