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

WalletConnect not working with my custom evm chain #2189

Open
1 task done
idobino2 opened this issue May 8, 2024 · 0 comments
Open
1 task done

WalletConnect not working with my custom evm chain #2189

idobino2 opened this issue May 8, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@idobino2
Copy link

idobino2 commented May 8, 2024

Current Behavior

we have a Dapp with our own blockchain, chainId, rpc and tokens.
this Dapp is on a custom evm chain.
whenever we try to connect with scanning the qr code with WalletConnect - it doesnt work and we get the error
"Not supported: eip155:80998896642"

this is our code:
const onboard = Onboard({
apiKey: ${API_KEY},
theme: 'dark',
wallets: [/injected, trust,/ walletConnect],
chains: [
{
id: APP.state.get('80998896642').toString(16),
token: 'USDP',
label: 'PlayBlock',
rpcUrl: APP.state.get('eth_ws_web3auth')
}
],
//Don't display the account center
accountCenter: {
desktop: {
enabled: false,
position: 'bottomRight'
},
mobile: {
enabled: false,
position: 'topRight'
}
},
connect: {
showSidebar: false,
removeWhereIsMyWalletWarning: true,
autoConnectLastWallet: true
},
appMetadata: {
name: window.location.origin,
description: 'Play2Earn Crypto!'
},
notify: {
desktop: {
enabled: false,
},
mobile: {
enabled: false,
}
}
});

Expected Behavior

walletconnect is supposed to work and get us connected to our network and switch to the network's token

Steps To Reproduce

go to https://playblocks.upvsdown.com
click on "Connect Wallet" at the top of the page
click on the "WalletConnect" option in the login popup
scan the qr code - and thats it

What package is effected by this issue?

@web3-onboard/walletconnect

Is this a build or a runtime issue?

Runtime

Package Version

"@web3-onboard/core": "^2.21.2", "@web3-onboard/injected-wallets": "^2.10.10", "@web3-onboard/trust": "^2.0.4", "@web3-onboard/walletconnect": "^2.5.2",

Node Version

No response

What browsers are you seeing the problem on?

No response

Relevant log output

No response

Anything else?

No response

Sanity Check

  • If this is a build issue, I have included my build config. If this is a runtime issue, I have included reproduction steps and/or a Minimal, Reproducible Example.
@idobino2 idobino2 added the bug Something isn't working label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants