Skip to content

Commit 32364c4

Browse files
committed
chore: use happychain def from core package
1 parent fc80ee9 commit 32364c4

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

packages/core/src/network/config/chainConfigs.ts

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { happyChainSepolia as happyChainDef } from "@happy.tech/core";
12
import { garnet, MUDChain, mudFoundry, redstone } from "@latticexyz/common/chains";
23

34
const dev: ChainConfig = {
@@ -73,21 +74,8 @@ const baseSepolia: ChainConfig = {
7374
};
7475

7576
export const happyChainSepolia: ChainConfig = {
76-
name: "HappyChain Sepolia",
77-
id: 216,
78-
nativeCurrency: { decimals: 18, symbol: "HAPPY", name: "HappyChain" },
79-
rpcUrls: {
80-
default: {
81-
http: ["https://rpc.testnet.happy.tech/http"],
82-
},
83-
},
84-
blockExplorers: {
85-
default: {
86-
name: "HappyChain Sepolia Explorer",
87-
url: "https://explorer.testnet.happy.tech",
88-
},
89-
},
90-
// indexerUrl: "http://localhost:3001", // ## [happyTODO :: deploy indexer and then add the URL here] ##
77+
...happyChainDef,
78+
indexerUrl: "http://localhost:3001", // ## [happyTODO :: deploy indexer and then add the URL here] ##
9179
};
9280

9381
export type ChainConfig = MUDChain & { indexerUrl?: string };

0 commit comments

Comments
 (0)