Added Fraxtal and Mode Testnets to the chain-definitions (#3996)

Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
This commit is contained in:
Aryan Malik
2024-08-07 21:42:16 -07:00
committed by GitHub
co-authored by Jonas Daniels
parent 698b8dbb97
commit 2b4629b505
3 changed files with 39 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"thirdweb": patch
---
Added Fraxtal and Mode Testnets to the chain-definitions
@@ -0,0 +1,17 @@
import { defineChain } from "../utils.js";
/**
* @chain
*/
export const fraxtalTestnet = /* @__PURE__ */ defineChain({
id: 2522,
name: "Fraxtal Testnet",
nativeCurrency: { name: "Frax Ether", symbol: "frxETH", decimals: 18 },
blockExplorers: [
{
name: "Fraxscan",
url: "https://holesky.fraxscan.com/",
},
],
testnet: true,
});
@@ -0,0 +1,17 @@
import { defineChain } from "../utils.js";
/**
* @chain
*/
export const modeTestnet = /* @__PURE__ */ defineChain({
id: 919,
name: "Mode Testnet",
nativeCurrency: { name: "Sepolia Ether", symbol: "ETH", decimals: 18 },
blockExplorers: [
{
name: "Modescout",
url: "https://sepolia.explorer.mode.network/",
},
],
testnet: true,
});