Skip to content

Wallet connect && mobile wallets fixes#122

Merged
nepoche merged 3 commits intodevelopfrom
ahmed.fix-walleconnect
Jul 13, 2021
Merged

Wallet connect && mobile wallets fixes#122
nepoche merged 3 commits intodevelopfrom
ahmed.fix-walleconnect

Conversation

@AhmedKorim
Copy link
Copy Markdown
Contributor

No description provided.

const provider = new WalletConnectProvider({
rpc: {
//default on metamask
[WebbEVMChain.EthereumMainNet]: 'https://mainnet.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think these infura endpoints should probably be behind a .env

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yea, at least the IDs (although this one's already committed).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Those are coming from MetaMask Extention, we may add those to the configuration object as well

@nepoche nepoche merged commit 8fb1095 into develop Jul 13, 2021
@dutterbutter dutterbutter deleted the ahmed.fix-walleconnect branch October 26, 2022 01:57
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.

3 participants