@xlink-network/xlink-sdk
Version:
384 lines (383 loc) • 8.87 kB
JavaScript
"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/evmUtils/evmChainInfos.ts
var evmChainInfos_exports = {};
__export(evmChainInfos_exports, {
ailayer: () => ailayer,
ailayerTestnet: () => ailayerTestnet,
berachainTestnet: () => berachainTestnet,
bitlayer: () => bitlayer,
bitlayerTestnet: () => bitlayerTestnet,
blifeTestnet: () => blifeTestnet,
bob: () => bob,
bobTestnet: () => bobTestnet,
bsquared: () => bsquared,
bsquaredTestnet: () => bsquaredTestnet,
coreDaoTestnet: () => coreDaoTestnet,
lorenzo: () => lorenzo,
lorenzoTestnet: () => lorenzoTestnet,
merlin: () => merlin,
merlinTestnet: () => merlinTestnet,
xLayer: () => xLayer
});
module.exports = __toCommonJS(evmChainInfos_exports);
var import_viem = require("viem");
var import_chains = require("viem/chains");
var coreDaoTestnet = (0, import_viem.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 = (0, import_viem.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 = (0, import_viem.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 = (0, import_viem.defineChain)({
...import_chains.bob
});
var bobTestnet = (0, import_viem.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 = (0, import_viem.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 = (0, import_viem.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 = (0, import_viem.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 = (0, import_viem.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 = (0, import_viem.defineChain)({
...import_chains.merlin,
contracts: {
...import_chains.merlin.contracts,
multicall3: {
address: "0x13caE7bc3C7F02FF64cB17076F289467fB133e04",
blockCreated: 12377144
}
}
});
var merlinTestnet = (0, import_viem.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 = (0, import_viem.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 = (0, import_viem.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 = (0, import_viem.defineChain)({
...import_chains.xLayer,
contracts: {
...import_chains.xLayer.contracts,
multicall3: {
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
blockCreated: 47416
}
}
});
var blifeTestnet = (0, import_viem.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 = (0, import_viem.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
});
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
ailayer,
ailayerTestnet,
berachainTestnet,
bitlayer,
bitlayerTestnet,
blifeTestnet,
bob,
bobTestnet,
bsquared,
bsquaredTestnet,
coreDaoTestnet,
lorenzo,
lorenzoTestnet,
merlin,
merlinTestnet,
xLayer
});
//# sourceMappingURL=evmChainInfos.js.map