Prerequisites
- A Dynamic project and environment ID
- A React application
- A backend that issues short-lived Rhinestone JWTs
1
Install the dependencies
2
Configure Dynamic and wagmi
3
Configure browser authentication
Keep the Rhinestone API key on your server. Configure a browser SDK instance with short-lived JWTs instead:See security for backend setup and sponsored-intent extension tokens.
4
Create the Rhinestone account
Dynamic populates wagmi after the user connects. Wait for You can also call
useWalletClient to return a client with an active account.primaryWallet.getWalletClient() when your integration already uses Dynamic’s wallet object directly.