Usage
- JavaScript
- React
Viem / wagmi version compatibility
The JavaScript SDK’s EVM extension (@dynamic-labs-sdk/evm) uses viem internally. If you also use wagmi in your project, ensure your versions are compatible:
| Dependency | Required range | Notes |
|---|---|---|
viem | ^2.45.3 | viem v2.45.3+ |
wagmi | ^2.14.11 | If using wagmi alongside the SDK |
@wagmi/core | ^2.6.4 | Installed automatically with wagmi |
wagmi v3.x may work (v3.1.0 has been tested), but is outside the declared peer dependency range. Full v3 support is planned for a future release. For the React SDK wagmi connector setup, see Using Wagmi.