-
-
Notifications
You must be signed in to change notification settings - Fork 962
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add happychain testnet (#3282)
* feat: add happychain testnet * Update happychainTestnet.ts * Update index.ts --------- Co-authored-by: aodhgan <[email protected]> Co-authored-by: jxom <[email protected]>
- Loading branch information
1 parent
bc2028b
commit 3bf349e
Showing
3 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"viem": patch | ||
--- | ||
|
||
Added Happychain testnet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
export const happychainTestnet = /*#__PURE__*/ defineChain({ | ||
id: 216, | ||
name: 'Happychain Testnet', | ||
nativeCurrency: { | ||
symbol: 'HAPPY', | ||
name: 'HAPPY', | ||
decimals: 18, | ||
}, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://happy-testnet-sepolia.rpc.caldera.xyz/http'], | ||
webSocket: ['wss://happy-testnet-sepolia.rpc.caldera.xyz/ws'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Happy Chain Testnet Explorer', | ||
url: 'https://happy-testnet-sepolia.explorer.caldera.xyz/', | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: '0xca11bde05977b3631167028862be2a173976ca11', | ||
blockCreated: 1, | ||
}, | ||
}, | ||
testnet: true, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters