fix: chainID as hex on web3onboard call

This commit is contained in:
hueso 2025-10-24 20:33:06 -03:00
parent e0445f208c
commit 04b9e6f45a

View File

@ -15,7 +15,7 @@ const targetNetwork = ref(DEFAULT_NETWORK);
const web3Onboard = init({
wallets: [injected],
chains: Object.values(Networks).map((network) => ({
id: network.id,
id: `0x${network.id.toString(16)}`,
token: network.nativeCurrency.symbol,
label: network.name,
rpcUrl: network.rpcUrls.default.http[0],