eros-sdk-react
Version:
eros sdk
94 lines (91 loc) • 2.77 kB
JavaScript
;
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/config/chains/index.ts
var chains_exports = {};
__export(chains_exports, {
MatchMain: () => matchMain,
MatchTest: () => matchTest
});
module.exports = __toCommonJS(chains_exports);
// src/config/chains/MatchMain.ts
var import_viem = require("viem");
var matchMain = /* @__PURE__ */ (0, import_viem.defineChain)({
//定义match链
id: 698,
name: "Matchain",
nativeCurrency: { name: "Match Coin", symbol: "BNB", decimals: 18 },
rpcUrls: {
default: {
http: ["https://rpc.matchain.io"]
}
},
blockExplorers: {
default: {
name: "Matchscan",
url: "https://matchscan.io/",
apiUrl: "https://matchscan.io/api"
}
},
iconUrl: "https://matchscan.io/static/identicon_logos/blockies.png",
contracts: {
multicall3: {
address: "0xca11bde05977b3631167028862be2a173976ca11"
}
}
// testnet: true,
});
// src/config/chains/MatchTest.ts
var import_viem2 = require("viem");
var matchTest = /* @__PURE__ */ (0, import_viem2.defineChain)({
//定义matchTest链
id: 699,
name: "MatchTest",
nativeCurrency: { name: "Match Coin", symbol: "BNB", decimals: 18 },
rpcUrls: {
default: {
http: ["https://testnet-rpc.matchain.io"]
}
},
blockExplorers: {
default: {
name: "Matchscan",
url: "https://testnet.matchscan.io/",
apiUrl: "https://testnet.matchscan.io/api"
}
},
iconUrl: "https://testnet.matchscan.io/static/identicon_logos/blockies.png",
contracts: {
multicall3: {
address: "0xca11bde05977b3631167028862be2a173976ca11",
blockCreated: 751532
},
ensRegistry: { address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e" },
ensUniversalResolver: {
address: "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC",
blockCreated: 5317080
}
}
// testnet: true,
});
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
MatchMain,
MatchTest
});
//# sourceMappingURL=chains.js.map