Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow custom rpc urls #27

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

feat: allow custom rpc urls #27

wants to merge 7 commits into from

Conversation

technophile-04
Copy link
Collaborator

@technophile-04 technophile-04 commented Jan 13, 2025

To test:

  1. Build the package:
pnpm run build

This builds the burner-connector package.

  1. Uncomment the this part:
    /* rainbowkitBurnerWallet.rpcUrls = {
    [optimismSepolia.id]: `https://opt-sepolia.g.alchemy.com/v2/${alchemyAPIKey}`,
    }; */

Add this link: https://opt-sepolia.g.alchemy.com/v2/oKxs-03sij-U_N0iOlrSsZFr29-IqbuF

  1. Start the example repo:
pnpm run dev

This will start a local server on http://localhost:3000 with the example app linked to local package

The burner wallet should be automatically connected to optimism sepolia network, and can interact with the YourContract.

Demo of it making write calls via custom rpc:

Screen.Recording.2025-01-13.at.12.13.24.PM.mov

Fixes #26

Copy link
Member

@rin-st rin-st left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great! Gj!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Specifying the RPC URL for the burner
2 participants