Skip to content

Commit

Permalink
add Flow's previewnet evm network
Browse files Browse the repository at this point in the history
  • Loading branch information
bthaile committed Mar 6, 2024
1 parent be96fba commit ec29f31
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/gentle-jokes-rule.md
@@ -0,0 +1,5 @@
---
"viem": patch
---

Add Flow previewnet evm network
23 changes: 23 additions & 0 deletions src/chains/definitions/flowPreviewnet.ts
@@ -0,0 +1,23 @@
import { defineChain } from '../../utils/chain/defineChain.js'

export const flowPreviewnet = /*#__PURE__*/ defineChain({
id: 646,
name: 'Flow Previewnet',
network: 'previewnet',
nativeCurrency: {
decimals: 18,
name: 'Flow',
symbol: 'FLOW',
},
rpcUrls: {
default: {
http: ['https://previewnet.evm.nodes.onflow.org']
},
},
blockExplorers: {
default: {
name: 'Previewnet Explorer',
url: 'https://previewnet.flowdiver.io',
},
},
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Expand Up @@ -72,6 +72,7 @@ export { filecoinCalibration } from './definitions/filecoinCalibration.js'
export { filecoinHyperspace } from './definitions/filecoinHyperspace.js'
export { flare } from './definitions/flare.js'
export { flareTestnet } from './definitions/flareTestnet.js'
export { flowPreviewnet } from './definitions/flowPreviewnet.js'
/** @deprecated Use `anvil` instead. */
export { foundry } from './definitions/foundry.js'
export { fraxtal } from './definitions/fraxtal.js'
Expand Down

0 comments on commit ec29f31

Please sign in to comment.