Skip to content

Commit

Permalink
update readme examples
Browse files Browse the repository at this point in the history
  • Loading branch information
technophile-04 committed Apr 30, 2024
1 parent 05740ad commit 69f8efa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()],
Expand All @@ -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];

Expand Down
4 changes: 4 additions & 0 deletions packages/burner-connector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()],
Expand All @@ -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];

Expand Down

0 comments on commit 69f8efa

Please sign in to comment.