-
-
Notifications
You must be signed in to change notification settings - Fork 868
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add swan chain * Sort import order * Update perfect-baboons-collect.md --------- Co-authored-by: jeff-0402 <jeff@clica.tech> Co-authored-by: jxom <j@wevm.dev>
- Loading branch information
1 parent
9ed514a
commit b70fc5e
Showing
5 changed files
with
59 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 Swan 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
export const swan = /*#__PURE__*/ defineChain({ | ||
id: 254, | ||
name: 'Swan Chain Mainnet', | ||
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 }, | ||
rpcUrls: { | ||
default: { http: ['https://mainnet-rpc.swanchain.org'] }, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Swan Explorer', | ||
url: 'https://swanscan.io', | ||
}, | ||
}, | ||
testnet: false, | ||
}) |
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,17 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
export const swanProximaTestnet = /*#__PURE__*/ defineChain({ | ||
id: 20241133, | ||
name: 'Swan Proxima Testnet', | ||
nativeCurrency: { name: 'Swan Ether', symbol: 'sETH', decimals: 18 }, | ||
rpcUrls: { | ||
default: { http: ['https://rpc-proxima.swanchain.io '] }, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Swan Explorer', | ||
url: 'https://proxima-explorer.swanchain.io', | ||
}, | ||
}, | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
export const swanSaturnTestnet = /*#__PURE__*/ defineChain({ | ||
id: 2024, | ||
name: 'Swan Saturn Testnet', | ||
nativeCurrency: { name: 'Swan Ether', symbol: 'sETH', decimals: 18 }, | ||
rpcUrls: { | ||
default: { http: ['https://saturn-rpc.swanchain.io'] }, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Swan Explorer', | ||
url: 'https://saturn-explorer.swanchain.io', | ||
}, | ||
}, | ||
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