Skip to main content

Frontend Integration

Build dApps on Specter using standard Ethereum frontend libraries. Specter is fully EVM-compatible, so ethers.js, viem, wagmi, RainbowKit, and all Ethereum tooling work out of the box.

Supported libraries

LibraryPurpose
viemTypeScript-first Ethereum client
ethers.js v6Battle-tested Ethereum library
wagmiReact hooks for Ethereum
RainbowKitWallet connection UI
snarkjsClient-side ZK proof generation
circomlibjsPoseidon hashing in JavaScript

Quick setup

npm install viem ethers snarkjs circomlibjs

Next steps