-
-
Notifications
You must be signed in to change notification settings - Fork 836
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add Fluence, Fluence Testnet, Fluence Stage (#2670)
* Added three chains: Fluence, Fluence Testnet, Fluence Stage * Update eight-lies-shop.md --------- Co-authored-by: jxom <j@wevm.dev>
- Loading branch information
1 parent
e026509
commit d1ca95c
Showing
5 changed files
with
70 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 Fluence, Fluence Testnet, and Fluence Stage. |
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,20 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
export const fluence = /*#__PURE__*/ defineChain({ | ||
id: 9_999_999, | ||
name: 'Fluence', | ||
nativeCurrency: { name: 'FLT', symbol: 'FLT', decimals: 18 }, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://rpc.mainnet.fluence.dev'], | ||
webSocket: ['wss://ws.mainnet.fluence.dev'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Blockscout', | ||
url: 'https://blockscout.mainnet.fluence.dev', | ||
apiUrl: 'https://blockscout.mainnet.fluence.dev/api', | ||
}, | ||
}, | ||
}) |
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,21 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
export const fluenceStage = /*#__PURE__*/ defineChain({ | ||
id: 123_420_000_220, | ||
name: 'Fluence Stage', | ||
nativeCurrency: { name: 'tFLT', symbol: 'tFLT', decimals: 18 }, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://rpc.stage.fluence.dev'], | ||
webSocket: ['wss://ws.stage.fluence.dev'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Blockscout', | ||
url: 'https://blockscout.stage.fluence.dev', | ||
apiUrl: 'https://blockscout.stage.fluence.dev/api', | ||
}, | ||
}, | ||
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,21 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
export const fluenceTestnet = /*#__PURE__*/ defineChain({ | ||
id: 52_164_803, | ||
name: 'Fluence Testnet', | ||
nativeCurrency: { name: 'tFLT', symbol: 'tFLT', decimals: 18 }, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://rpc.testnet.fluence.dev'], | ||
webSocket: ['wss://ws.testnet.fluence.dev'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Blockscout', | ||
url: 'https://blockscout.testnet.fluence.dev', | ||
apiUrl: 'https://blockscout.testnet.fluence.dev/api', | ||
}, | ||
}, | ||
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