This repository has been archived by the owner on Sep 6, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Filecoin chain configuration (#103)
* Update Filecoin chain configuration * Eslint fixes * Export filecoin calibrationnet chain * Use EIP-3091 standard for Glif explorer * Glif explorer on single line * Add as const satisfies Chain for Filecoin Calibration * Add changeset for Filecoin chains update * Add numeric separators for filecoin test chain ids * Update .changeset/old-adults-jump.md * Update packages/chains/src/filecoinCalibration.ts * Update packages/chains/src/filecoinHyperspace.ts --------- Co-authored-by: awkweb <tom@meagher.co>
- Loading branch information
Showing
5 changed files
with
30 additions
and
4 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 @@ | ||
--- | ||
'@wagmi/chains': patch | ||
--- | ||
|
||
Updated Filecoin Chains. Added Filecoin Calibration Chain. |
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
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,19 @@ | ||
import { Chain } from './types' | ||
|
||
export const filecoinCalibration: Chain = { | ||
id: 314_159, | ||
name: 'Filecoin Calibration', | ||
network: 'filecoin-calibration', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'testnet filecoin', | ||
symbol: 'tFIL', | ||
}, | ||
rpcUrls: { | ||
default: { http: ['https://api.calibration.node.glif.io/rpc/v1'] }, | ||
public: { http: ['https://api.calibration.node.glif.io/rpc/v1'] }, | ||
}, | ||
blockExplorers: { | ||
default: { name: 'Filscan', url: 'https://calibration.filscan.io' }, | ||
}, | ||
} as const satisfies Chain |
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
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