File tree Expand file tree Collapse file tree 4 files changed +48
-0
lines changed Expand file tree Collapse file tree 4 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " thirdweb " : minor
3+ ---
4+
5+ add core chains
Original file line number Diff line number Diff line change 1+ import { defineChain } from "../utils.js" ;
2+
3+ /**
4+ * @chain
5+ */
6+ export const coreMainnet = /* @__PURE__ */ defineChain ( {
7+ blockExplorers : [
8+ {
9+ name : "Core Scan" ,
10+ url : "https://scan.coredao.org/" ,
11+ } ,
12+ ] ,
13+ id : 1116 ,
14+ name : "Core" ,
15+ nativeCurrency : {
16+ decimals : 18 ,
17+ name : "Ether" ,
18+ symbol : "ETH" ,
19+ } ,
20+ } ) ;
Original file line number Diff line number Diff line change 1+ import { defineChain } from "../utils.js" ;
2+
3+ /**
4+ * @chain
5+ */
6+ export const coreTestnet = /* @__PURE__ */ defineChain ( {
7+ blockExplorers : [
8+ {
9+ name : "Core Testnet Scan" ,
10+ url : "https://scan.test2.btcs.network/" ,
11+ } ,
12+ ] ,
13+ id : 1114 ,
14+ name : "Core Testnet" ,
15+ nativeCurrency : {
16+ decimals : 18 ,
17+ name : "Ether" ,
18+ symbol : "ETH" ,
19+ } ,
20+ testnet : true ,
21+ } ) ;
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ export { bsc } from "../chains/chain-definitions/bsc.js";
2424export { bscTestnet } from "../chains/chain-definitions/bsc-testnet.js" ;
2525export { celo } from "../chains/chain-definitions/celo.js" ;
2626export { celoAlfajoresTestnet } from "../chains/chain-definitions/celo-alfajores-testnet.js" ;
27+ export { coreMainnet } from "../chains/chain-definitions/core-mainnet.js" ;
28+ export { coreTestnet } from "../chains/chain-definitions/core-testnet.js" ;
2729export { cronos } from "../chains/chain-definitions/cronos.js" ;
2830export { degen } from "../chains/chain-definitions/degen.js" ;
2931// mainnet = alias for ethereum
You can’t perform that action at this time.
0 commit comments