You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm testing WallectconnectV2 by demo(react-dapp-v2-with-web3js)
And I want to add a new custom chain based ethereum.
So I add chain info to below files.
https://github.com/WalletConnect/web-examples/blob/main/dapps/react-dapp-v2-with-web3js/src/chains/eip155.ts
https://github.com/WalletConnect/web-examples/blob/main/dapps/react-dapp-v2-with-web3js/src/constants/default.ts
But this example is using ChainData from caip-api and I have to add chain info to caip-api.
https://github.com/WalletConnect/web-examples/blob/e4fdfc63377d53354d0ceefe14faa2d3efb8440b/dapps/react-dapp-v2-with-web3js/src/components/Blockchain.tsx#L3
https://github.com/WalletConnect/web-examples/blob/e4fdfc63377d53354d0ceefe14faa2d3efb8440b/dapps/react-dapp-v2-with-web3js/src/contexts/ClientContext.tsx#L12
Beta Was this translation helpful? Give feedback.
All reactions