fix: chainID as hex on web3onboard call

This commit is contained in:
hueso 2025-10-24 20:33:06 -03:00
parent 8f20913f71
commit ed9fa61365

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],