Skip to content

Commit 673e51b

Browse files
[SDK] Replace Celo Alfajores with Celo Sepolia Testnet (#8384)
1 parent 282edf7 commit 673e51b

File tree

4 files changed

+23
-18
lines changed

4 files changed

+23
-18
lines changed

.changeset/shaky-dragons-check.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"thirdweb": patch
3+
---
4+
5+
Replace celo alfajores with celoSepoliaTestnet

packages/thirdweb/src/chains/chain-definitions/celo-alfajores-testnet.ts

Lines changed: 0 additions & 17 deletions
This file was deleted.
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 celoSepoliaTestnet = /* @__PURE__ */ defineChain({
7+
blockExplorers: [
8+
{
9+
name: "Celo Sepolia Explorer",
10+
url: "https://celo-sepolia.blockscout.com/",
11+
},
12+
],
13+
id: 11142220,
14+
name: "Celo Sepolia Testnet",
15+
nativeCurrency: { decimals: 18, name: "CELO", symbol: "CELO-S" },
16+
testnet: true,
17+
});

packages/thirdweb/src/exports/chains.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export { blastSepolia } from "../chains/chain-definitions/blast-sepolia.js";
2424
export { bsc } from "../chains/chain-definitions/bsc.js";
2525
export { bscTestnet } from "../chains/chain-definitions/bsc-testnet.js";
2626
export { celo } from "../chains/chain-definitions/celo.js";
27-
export { celoAlfajoresTestnet } from "../chains/chain-definitions/celo-alfajores-testnet.js";
27+
export { celoSepoliaTestnet } from "../chains/chain-definitions/celo-sepolia-testnet.js";
2828
export { coreMainnet } from "../chains/chain-definitions/core-mainnet.js";
2929
export { coreTestnet } from "../chains/chain-definitions/core-testnet.js";
3030
export { cronos } from "../chains/chain-definitions/cronos.js";

0 commit comments

Comments
 (0)