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

import WalletConnectProvider from "@walletconnect/web3-provider"; #312

Open
AcidStainArt opened this issue Oct 16, 2022 · 0 comments
Open

Comments

@AcidStainArt
Copy link

AcidStainArt commented Oct 16, 2022

import WalletConnectProvider from "@walletconnect/web3-provider";

// Create WalletConnect Provider
const provider = new WalletConnectProvider({
rpc: {
1: "https://mainnet.mycustomnode.com",
3: "https://ropsten.mycustomnode.com",
100: "https://dai.poa.network",
// ...
},
});

// Enable session (triggers QR Code modal)
await provider.enable();

__Originally posted by @AcidStainArt in https://github.com/argentlabs/argent-contracts/issues/309__![image](https://user-images.githubusercontent.com/115077752/196020636-fb413be2-737f-4b20-881e-c95b7136f45f.jpeg)![image](https://user-images.githubusercontent.com/115077752/196020655-48fa9dff-80b0-4979-ba23-ff8616fc695d.jpeg)

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

No branches or pull requests

1 participant