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.
feat(chains): add cronos testnet (#343)
* Added cronosTestnet * Update cronosTestnet.ts * Added cronos and cronosTestnet to README * Added changeset * chore: pr updates --------- Co-authored-by: Tom Meagher <[email protected]>
- Loading branch information
Showing
5 changed files
with
31 additions
and
1 deletion.
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": minor | ||
--- | ||
|
||
Added cronos testnet 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
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,23 @@ | ||
import { Chain } from './types' | ||
|
||
export const cronosTestnet = { | ||
id: 338, | ||
name: 'Cronos Testnet', | ||
network: 'cronos-testnet', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'CRO', | ||
symbol: 'tCRO', | ||
}, | ||
rpcUrls: { | ||
default: { http: ['https://evm-t3.cronos.org'] }, | ||
public: { http: ['https://evm-t3.cronos.org'] }, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Cronos Explorer', | ||
url: 'https://cronos.org/explorer/testnet3', | ||
}, | ||
}, | ||
testnet: true, | ||
} 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