UNPKG

@xlink-network/xlink-sdk

Version:
345 lines (344 loc) 7.04 kB
// src/evmUtils/evmChainInfos.ts import { defineChain } from "viem"; import { bob as _bob, merlin as _merlin, xLayer as _xLayer } from "viem/chains"; var coreDaoTestnet = defineChain({ id: 1115, name: "Core Dao Testnet", nativeCurrency: { name: "CORE", symbol: "CORE", decimals: 18 }, contracts: { multicall3: { address: "0xcA11bde05977b3631167028862bE2a173976CA11", blockCreated: 15979981 } }, rpcUrls: { default: { http: ["https://rpc.test.btcs.network"] } }, blockExplorers: { default: { name: "Core Dao Testnet Explorer", url: "https://scan.test.btcs.network" } }, testnet: true }); var bsquared = defineChain({ id: 223, name: "B\xB2", nativeCurrency: { name: "BTC", symbol: "BTC", decimals: 18 }, contracts: { multicall3: { address: "0x648cB32CCc0253fd2D811c506F969c1611Eaa82f", blockCreated: 5662185 } }, rpcUrls: { default: { http: ["https://rpc.bsquared.network"] }, alt: { http: ["https://b2-mainnet.alt.technology"] }, ankr: { http: ["https://rpc.ankr.com/b2"] } }, blockExplorers: { default: { name: "B\xB2 Explorer", url: "https://explorer.bsquared.network" } }, testnet: false }); var bsquaredTestnet = defineChain({ id: 1123, name: "B\xB2 Testnet", nativeCurrency: { name: "BTC", symbol: "BTC", decimals: 18 }, rpcUrls: { default: { http: ["https://testnet-rpc.bsquared.network"] }, alt: { http: ["https://b2-testnet.alt.technology"] }, ankr: { http: ["https://rpc.ankr.com/b2_testnet"] } }, blockExplorers: { default: { name: "B\xB2 Testnet Explorer", url: "https://testnet-explorer.bsquared.network/" } }, testnet: true }); var bob = defineChain({ ..._bob }); var bobTestnet = defineChain({ id: 111, name: "BOB Testnet", nativeCurrency: { name: "ETH", symbol: "ETH", decimals: 18 }, rpcUrls: { default: { http: ["https://testnet.rpc.gobob.xyz/"] } }, blockExplorers: { default: { name: "BOB Testnet Explorer", url: "https://testnet-explorer.gobob.xyz" } }, testnet: true }); var bitlayer = defineChain({ id: 200901, name: "Bitlayer", nativeCurrency: { name: "BTC", symbol: "BTC", decimals: 18 }, contracts: { multicall3: { address: "0xca11bde05977b3631167028862be2a173976ca11", blockCreated: 3225645 } }, rpcUrls: { default: { http: ["https://rpc.bitlayer.org"] } }, blockExplorers: { default: { name: "Bitlayer Explorer", url: "https://www.btrscan.com" } }, testnet: false }); var bitlayerTestnet = defineChain({ id: 200810, name: "Bitlayer Testnet", nativeCurrency: { name: "BTC", symbol: "BTC", decimals: 18 }, rpcUrls: { default: { http: ["https://testnet-rpc.bitlayer.org"] } }, blockExplorers: { default: { name: "Bitlayer Testnet Explorer", url: "https://testnet.btrscan.com" } }, testnet: true }); var lorenzo = defineChain({ id: 8329, name: "Lorenzo", nativeCurrency: { name: "stBTC", symbol: "stBTC", decimals: 18 }, contracts: { multicall3: { address: "0x756e73C560Aeeb310b127F214e11e03139FC8f0a", blockCreated: 2490478 } }, rpcUrls: { default: { http: ["https://rpc.lorenzo-protocol.xyz"] } }, blockExplorers: { default: { name: "Lorenzo Explorer", url: "https://scan.lorenzo-protocol.xyz" } }, testnet: false }); var lorenzoTestnet = defineChain({ id: 83291, name: "Lorenzo Testnet", nativeCurrency: { name: "stBTC", symbol: "stBTC", decimals: 18 }, rpcUrls: { default: { http: ["https://rpc-testnet.lorenzo-protocol.xyz"] } }, blockExplorers: { default: { name: "Lorenzo Testnet Explorer", url: "https://scan-testnet.lorenzo-protocol.xyz" } }, testnet: true }); var merlin = defineChain({ ..._merlin, contracts: { ..._merlin.contracts, multicall3: { address: "0x13caE7bc3C7F02FF64cB17076F289467fB133e04", blockCreated: 12377144 } } }); var merlinTestnet = defineChain({ id: 686868, name: "Merlin Testnet", nativeCurrency: { name: "BTC", symbol: "BTC", decimals: 18 }, contracts: { multicall3: { address: "0xcA11bde05977b3631167028862bE2a173976CA11", blockCreated: 4632260 } }, rpcUrls: { default: { http: ["https://testnet-rpc.merlinchain.io"] } }, blockExplorers: { default: { name: "Merlin Testnet Explorer", url: "https://testnet-scan.merlinchain.io" } }, testnet: true }); var ailayer = defineChain({ id: 2649, name: "AILayer", nativeCurrency: { name: "BTC", symbol: "BTC", decimals: 18 }, contracts: { multicall3: { address: "0x8BDc1E8149E7259833f8776CAfDa5c55Cfb8Bbd9", blockCreated: 4351314 } }, rpcUrls: { default: { http: ["https://mainnet-rpc.ailayer.xyz/"], webSocket: ["wss://mainnet-rpc.ailayer.xyz"] } }, blockExplorers: { default: { name: "AILayer Explorer", url: "https://mainnet-explorer.ailayer.xyz" } }, testnet: false }); var ailayerTestnet = defineChain({ id: 2648, name: "AILayer Testnet", nativeCurrency: { name: "BTC", symbol: "BTC", decimals: 18 }, rpcUrls: { default: { http: ["https://testnet-rpc.ailayer.xyz"], webSocket: ["wss://testnet-rpc.ailayer.xyz"] } }, blockExplorers: { default: { name: "AILayer Testnet Explorer", url: "https://testnet-explorer.ailayer.xyz" } }, testnet: true }); var xLayer = defineChain({ ..._xLayer, contracts: { ..._xLayer.contracts, multicall3: { address: "0xcA11bde05977b3631167028862bE2a173976CA11", blockCreated: 47416 } } }); var blifeTestnet = defineChain({ id: 34798, name: "Blife Testnet", nativeCurrency: { name: "WBTC", symbol: "WBTC", decimals: 18 }, rpcUrls: { default: { http: ["https://private-testnet.blifeprotocol.com:25600"] } }, blockExplorers: { default: { name: "Blife Testnet Explorer", url: "https://private-testnet.blifeprotocol.com/", apiUrl: "" } }, testnet: true }); var berachainTestnet = defineChain({ id: 80084, name: "Berachain Bartio", nativeCurrency: { decimals: 18, name: "BERA Token", symbol: "BERA" }, rpcUrls: { default: { http: ["https://api.routescan.io/v2/network/testnet/evm/80084/etherscan"] } }, blockExplorers: { default: { name: "Berachain Bartio Testnet Explorer", url: "https://bartio.beratrail.io/", apiUrl: "" } }, testnet: true }); export { coreDaoTestnet, bsquared, bsquaredTestnet, bob, bobTestnet, bitlayer, bitlayerTestnet, lorenzo, lorenzoTestnet, merlin, merlinTestnet, ailayer, ailayerTestnet, xLayer, blifeTestnet, berachainTestnet }; //# sourceMappingURL=chunk-BFDTAYX3.mjs.map