The Tokenbound SDK currently supports projects using Ethers or Viem to interact with Ethereum. The SDK makes it easy to query ERC-6551 account addresses for any NFT and execute transactions against accounts.
Note: If making use of one of the many Web3 starter kits, please make sure that you're using a recent release of viem (>1.0), Ethers 5.7+, or 6 to avoid issues.
pnpm install @tokenbound/sdk
To help you get started more quickly, we've assembled bare-bones example apps using the Tokenbound SDK (opens in a new tab) using viem, Ethers 5.7, and Ethers 6 respectively. These examples are using Goerli testnet (chainId: 5).
- vite-wagmi-viem (opens in a new tab)
- vite-wagmi-ethers (opens in a new tab)
- vite-wagmi-ethers6 (opens in a new tab)
- vite-wagmi-ethers-rainbowkit (opens in a new tab)