← ClaudeAtlas

sui-frontendlisted

Sui frontend dApp development with @mysten/dapp-kit-react (React) and @mysten/dapp-kit-core (Vue, vanilla JS, other frameworks). Use when building browser apps that connect to Sui wallets, query on-chain data, or execute transactions. Use alongside the sui-ts-sdk skill for PTB construction patterns.
first-mover-tw/sui-dev-agents · ★ 7 · Web & Frontend · score 69
Install: claude install-skill first-mover-tw/sui-dev-agents
# Sui Frontend Skill This skill covers building browser-based Sui dApps using the dApp Kit SDK. The SDK has two packages: - **`@mysten/dapp-kit-react`** — React hooks, `DAppKitProvider`, and React component wrappers - **`@mysten/dapp-kit-core`** — Framework-agnostic core: actions, nanostores state, and Web Components for Vue, vanilla JS, Svelte, or any other framework Both packages expose the same `createDAppKit` factory and identical action APIs (`signAndExecuteTransaction`, `signTransaction`, `signPersonalMessage`, etc.). What differs is how you access reactive state and render UI: React uses hooks and provider components; other frameworks use nanostores stores and Web Components. For PTB construction details (splitCoins, moveCall, coinWithBalance, etc.), apply the **sui-ts-sdk** skill alongside this one — the `Transaction` API is identical in browser and Node contexts. > **Note**: The older `@mysten/dapp-kit` package is deprecated (JSON-RPC only, no gRPC/GraphQL support). New projects must use `@mysten/dapp-kit-react` or `@mysten/dapp-kit-core`. --- ## 1. Package Installation **React:** ```bash npm install @mysten/dapp-kit-react @mysten/sui # Add React Query for declarative on-chain data fetching (recommended) npm install @tanstack/react-query ``` **Vue / vanilla JS / other frameworks:** ```bash npm install @mysten/dapp-kit-core @mysten/sui # For Vue reactive bindings: npm install @nanostores/vue ``` | Package | Purpose | |---------|---------| | `@mysten/dapp-kit