diff --git a/README.md b/README.md index f31952c..216b74b 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ pnpm add burner-connector ```ts import { burner } from "burner-connector"; +import { mainnet, base } from "viem/chains"; export const config = createConfig({ chains: [mainnet, base], connectors: [burner()], @@ -41,7 +42,10 @@ export const config = createConfig({ 3. Integrate with rainbowkit: ```ts +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; import { rainbowkitBurnerWallet } from "burner-connector"; +import { mainnet, base } from "viem/chains"; const wallets = [metaMaskWallet, rainbowkitBurnerWallet]; diff --git a/packages/burner-connector/README.md b/packages/burner-connector/README.md index 84d7193..c52a0ba 100644 --- a/packages/burner-connector/README.md +++ b/packages/burner-connector/README.md @@ -20,6 +20,7 @@ pnpm add burner-connector ```ts import { burner } from "burner-connector"; +import { mainnet, base } from "viem/chains"; export const config = createConfig({ chains: [mainnet, base], connectors: [burner()], @@ -33,7 +34,10 @@ export const config = createConfig({ 3. Integrate with rainbowkit: ```ts +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; import { rainbowkitBurnerWallet } from "burner-connector"; +import { mainnet, base } from "viem/chains"; const wallets = [metaMaskWallet, rainbowkitBurnerWallet];