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 " : patch
3
+ ---
4
+
5
+ feat(chains): add Etherlink mainnet and testnet 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 etherlinkTestnet = /* @__PURE__ */ defineChain ( {
7
+ blockExplorers : [
8
+ {
9
+ name : "Etherlink Testnet Explorer" ,
10
+ url : "https://testnet.explorer.etherlink.com/" ,
11
+ } ,
12
+ ] ,
13
+ id : 128123 ,
14
+ name : "Etherlink Testnet" ,
15
+ nativeCurrency : {
16
+ decimals : 18 ,
17
+ name : "Etherlink" ,
18
+ symbol : "XTZ" ,
19
+ } ,
20
+ testnet : true ,
21
+ } ) ;
Original file line number Diff line number Diff line change
1
+ import { defineChain } from "../utils.js" ;
2
+
3
+ /**
4
+ * @chain
5
+ */
6
+ export const etherlink = /* @__PURE__ */ defineChain ( {
7
+ blockExplorers : [
8
+ {
9
+ name : "Etherlink Explorer" ,
10
+ url : "https://explorer.etherlink.com/" ,
11
+ } ,
12
+ ] ,
13
+ id : 42793 ,
14
+ name : "Etherlink" ,
15
+ nativeCurrency : {
16
+ decimals : 18 ,
17
+ name : "Etherlink" ,
18
+ symbol : "XTZ" ,
19
+ } ,
20
+ } ) ;
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ export { cronos } from "../chains/chain-definitions/cronos.js";
30
30
export { degen } from "../chains/chain-definitions/degen.js" ;
31
31
// mainnet = alias for ethereum
32
32
export { ethereum , mainnet } from "../chains/chain-definitions/ethereum.js" ;
33
+ export { etherlink } from "../chains/chain-definitions/etherlink.js" ;
34
+ export { etherlinkTestnet } from "../chains/chain-definitions/etherlink-testnet.js" ;
33
35
export { fantom } from "../chains/chain-definitions/fantom.js" ;
34
36
export { fantomTestnet } from "../chains/chain-definitions/fantom-testnet.js" ;
35
37
export { frameTestnet } from "../chains/chain-definitions/frame-testnet.js" ;
You can’t perform that action at this time.
0 commit comments