Skip to content

Commit 6af732e

Browse files
committed
[SDK] Feature: added chain definitions for apechain and curtis
1 parent 85d6074 commit 6af732e

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import { defineChain } from "../utils.js";
2+
3+
/**
4+
* @chain
5+
*/
6+
export const apechain = /* @__PURE__ */ defineChain({
7+
blockExplorers: [
8+
{
9+
name: "Apescan",
10+
url: "https://apescan.io",
11+
},
12+
],
13+
id: 33139,
14+
name: "Ape Chain",
15+
nativeCurrency: {
16+
name: 'ApeCoin',
17+
symbol: 'APE',
18+
decimals: 18,
19+
},
20+
});
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import { defineChain } from "../utils.js";
2+
3+
/**
4+
* @chain
5+
*/
6+
export const curtis = /* @__PURE__ */ defineChain({
7+
blockExplorers: [
8+
{
9+
name: "Curtis Explorer",
10+
url: "https://explorer.curtis.apechain.com",
11+
},
12+
],
13+
id: 33_111,
14+
name: "Curtis",
15+
nativeCurrency: { name: 'ApeCoin', symbol: 'APE', decimals: 18 },
16+
testnet: true,
17+
});

packages/thirdweb/src/exports/chains.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
export { abstract } from "../chains/chain-definitions/abstract.js";
44
export { abstractTestnet } from "../chains/chain-definitions/abstract-testnet.js";
5+
export { apechain } from "../chains/chain-definitions/apechain.js";
6+
export { curtis } from "../chains/chain-definitions/curtis.js";
57

68
/**
79
* PRE_DEFINED CHAINS

0 commit comments

Comments
 (0)