Skip to main content
Dynamic supplies authentication, wallet connections, and a wagmi-compatible wallet client. Convert the connected client to a viem account before passing it to Rhinestone.

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 useWalletClient to return a client with an active account.
You can also call primaryWallet.getWalletClient() when your integration already uses Dynamic’s wallet object directly.
For sponsored transactions, follow sponsorship setup. For the transaction lifecycle, continue to send a transaction. See the Dynamic documentation for authentication and wallet configuration.