Add optional Chain 2138 frontend support

This commit is contained in:
defiQUG
2026-03-28 15:38:51 -07:00
parent 6deb072fa7
commit 1771db2190
31 changed files with 408 additions and 187 deletions

View File

@@ -6,6 +6,7 @@ import { useState } from 'react'
import { useChainId, useSwitchChain } from 'wagmi'
import { CONTRACT_ADDRESSES } from '../../config/contracts'
import toast from 'react-hot-toast'
import { chain138 } from '../../config/networks'
interface ChainConfig {
chainId: number
@@ -26,8 +27,8 @@ const CHAIN_CONFIGS: ChainConfig[] = [
},
},
{
chainId: 138,
name: 'Chain 138',
chainId: chain138.id,
name: chain138.name,
contractAddresses: {},
},
]