We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This might be too niche, but I'm in a situation where I need to specify the RPC for the burner connector.
Currently, it's using the [0] first default RPC from the chain: /~https://github.com/scaffold-eth/burner-connector/blob/main/packages/burner-connector/src/burnerConnector/burner.ts#L56
The text was updated successfully, but these errors were encountered:
Make sense, since we need to handle case for multiple chains it should be object:
Plain wagmi:
const rpcUrls = { 11155420 : 'https://sepolia.optimism.io/' }; export const config = createConfig({ chains: [mainnet, base], connectors: [burner({ rpcUrls })], transports: { [mainnet.id]: http(), [base.id]: http(), }, });
While using rainbowkit wallet:
import { rainbowkitBurnerWallet } from "burner-connector"; rainbowkitBurnerWallet.useSessionStorage = true; rainbowkitBurnerWallet.rpcUrls = { 11155420 : 'https://sepolia.optimism.io/' };
Will tinker with this later 🙌
Sorry, something went wrong.
Make sense!! Thanks Shiv
Successfully merging a pull request may close this issue.
This might be too niche, but I'm in a situation where I need to specify the RPC for the burner connector.
Currently, it's using the [0] first default RPC from the chain: /~https://github.com/scaffold-eth/burner-connector/blob/main/packages/burner-connector/src/burnerConnector/burner.ts#L56
The text was updated successfully, but these errors were encountered: