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. For Solana, see the common authority recipe and remote signer requirements. This guide covers Ethereum signers, not a new vendor Solana integration; Ed25519 wallets are not supported Swig authorities.

Prerequisites

  • A Dynamic project and environment ID
  • A React application
  • A backend that issues short-lived Rhinestone JWTs
1

Install the dependencies

These examples target SDK 3.0.0, which is not released yet. The install command below requires its publication; the current v2 package does not support these APIs.
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.