First confidential dApp
End-to-end tutorial building a token dashboard with React, wagmi, and the Zama React SDK.
What you'll build
Prerequisites
1. Create the project
pnpm create vite@latest my-confidential-dapp -- --template react-ts
cd my-confidential-dapp2. Install dependencies
pnpm add @zama-fhe/sdk @zama-fhe/react-sdk @tanstack/react-query wagmi viem3. Configure wagmi and the SDK
4. Create the App layout with providers
5. Build the balance display
6. Add shielding
7. Add confidential transfers
8. Add unshielding
9. Add error handling
10. Wire it up
Next steps
Last updated