-
-
Notifications
You must be signed in to change notification settings - Fork 815
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add Unichain Sepolia Testnet (#2840)
* Add Unichain Sepolia * Fix ID * Add Changeset
- Loading branch information
1 parent
075f8dc
commit e9cf6ee
Showing
3 changed files
with
39 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 | ||
--- | ||
|
||
Add Unichain Sepolia 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,33 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
const sourceId = 11_155_111 // sepolia | ||
|
||
export const unichainSepolia = /*#__PURE__*/ defineChain({ | ||
id: 1301, | ||
name: 'Unichain Sepolia', | ||
nativeCurrency: { | ||
name: 'Ether', | ||
symbol: 'ETH', | ||
decimals: 18, | ||
}, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://sepolia.unichain.org'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Uniscan', | ||
url: 'https://sepolia.uniscan.xyz', | ||
apiUrl: 'https://api-sepolia.uniscan.xyz', | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: '0xca11bde05977b3631167028862be2a173976ca11', | ||
blockCreated: 0, | ||
}, | ||
}, | ||
testnet: true, | ||
sourceId, | ||
}) |
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