This is a wagmi + ConnectKit + Vite project bootstrapped with create-wagmi
For convenience, it implements the Ethers v6 signer using viem's Ethers.js adapters in the useEthersSigner
hook.
Run npm run dev
in your terminal, and then open localhost:5173 in your browser.
Once the webpage has loaded, changes made to files inside the src/
directory (e.g. src/App.tsx
) will automatically update the webpage.
If making local changes to the SDK, note that npm build
must be run inside the tokenbound-sdk/packages/sdk
directory before the changes will be reflected in this example implementation.
To learn more about Vite, ConnectKit or wagmi, check out the following resources:
- Ethers 6 Documentation – learn about Ethers v6
- viem Documentation – learn about viem Hooks and API.
- wagmi Documentation – learn about wagmi Hooks and API.
- wagmi Examples – a suite of simple examples using wagmi.
- ConnectKit Documentation – learn more about ConnectKit (configuration, theming, advanced usage, etc).
- Vite Documentation – learn about Vite features and API.