Skip to content

Commit a49602c

Browse files
authored
Enabled WalletConnect on Client (#1737)
* Changed the DAI address to the official Rinkeby Compound DAI address This address does have liquidity on Rinkeby Uniswap unlike the former one * Update Dandelion info * Update Dandelion info2 * fixing error with yarn lint --fix * comma fix * created tag for unsupported and added it to dandelion index * added unsupported tag logic to templatedetails * added unsupported tag to fundraising template and fixed link * removed survey app from discover apps * added unsupported tag to open-enterprise template * added unsupported tags in descover apps and removed survey icon import * edited unsupported tags to not maintained * wallet-connect appearing in connect account box * added walletconnect_url logic * added other chains next to eth-mainnet for wallet-connect * fixed failing test on prettier error * disabled if not statement walletconnect_url variable * added rpc data to walletconnect * removed unessecary walletconnect_url logic * removed unessecary instance * fixed prettier issue * removed unnecessary secret * updated rpc-endpoints to aragon-rpc-endpoints
1 parent a5aff09 commit a49602c

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

src/ethereum-providers/connectors.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,24 @@ export const connectors = [
3434
},
3535
}
3636
: null,
37+
{
38+
id: 'walletconnect',
39+
properties: {
40+
chainId: [1, 4, 137, 80001, 1666600000, 1666700000, 97, 56, 588, 1088], // add here to handle more injected chains
41+
rpc: {
42+
'1': 'https://mainnet.eth.aragon.network',
43+
'4': 'https://rinkeby.eth.aragon.network',
44+
'137': 'https://polygon-rpc.com',
45+
'80001': 'https://rpc-mumbai.maticvigil.com',
46+
'1666600000': 'https://api.harmony.one/',
47+
'1666700000': 'https://api.s0.b.hmny.io/',
48+
'97': 'https://data-seed-prebsc-1-s1.binance.org:8545/',
49+
// '56': 'https://bsc-dataseed.binance.org/', //connecting to bnb is not working
50+
'588': 'https://stardust.metis.io/?owner=588',
51+
'1088': 'https://andromeda.metis.io/?owner=1088',
52+
},
53+
},
54+
},
3755
].filter(p => p)
3856

3957
// the final data that we pass to use-wallet package.

0 commit comments

Comments
 (0)