1. Dashboard setup
In the Dynamic dashboard:- Under Chains & Networks, enable Monad (Chain ID: 143)
- Under Sign-in Methods, enable Email
- Under Wallets, enable Embedded wallets
- Under Security → Allowed Origins, add the origin where the app runs (for example
http://localhost:5173)
2. Sign users in and create a wallet
The wallet isn’t created automatically. AfterverifyOTP succeeds, call createWaasWalletAccounts and wait for it before reading the wallet’s address.
- JavaScript
- React
getWalletAccounts() (or useGetWalletAccounts() in React), used in the next step.
3. Switch to Monad and send a transaction
Switch the wallet’s active network to Monad (networkId: '143'), then use createWalletClientForWalletAccount to get a viem WalletClient for signing.
- JavaScript
- React