Skip to content

Commit bc0435c

Browse files
committed
feat: add berachain and berachain-bepolia chains
1 parent 35a909a commit bc0435c

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed
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 berachainBepolia = /* @__PURE__ */ defineChain({
7+
id: 80069,
8+
name: "Berachain Bepolia",
9+
nativeCurrency: { name: "BERA", symbol: "BERA", decimals: 18 },
10+
blockExplorers: [
11+
{
12+
name: "beratrail",
13+
url: "https://bepolia.beratrail.io/",
14+
},
15+
],
16+
testnet: true,
17+
});
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 berachain = /* @__PURE__ */ defineChain({
7+
id: 80094,
8+
name: "Berachain",
9+
nativeCurrency: { name: "BERA", symbol: "BERA", decimals: 18 },
10+
blockExplorers: [
11+
{
12+
name: "berascan",
13+
url: "https://berascan.com/",
14+
apiUrl: "https://api.berascan.com/api",
15+
},
16+
],
17+
});

packages/thirdweb/src/exports/chains.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,5 @@ export { soneiumMinato } from "../chains/chain-definitions/soneium-minato.js";
8383
export { treasure } from "../chains/chain-definitions/treasure.js";
8484
export { treasureTopaz } from "../chains/chain-definitions/treasureTopaz.js";
8585
export { monadTestnet } from "../chains/chain-definitions/monad-testnet.js";
86+
export { berachain } from "../chains/chain-definitions/berachain.js";
87+
export { berachainBepolia } from "../chains/chain-definitions/berachain-bepolia.js";

0 commit comments

Comments
 (0)