Skip to content

Commit 9a7bc6e

Browse files
authored
feat: add forta chain (#3287)
1 parent c2f8579 commit 9a7bc6e

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

.changeset/eighty-dots-exist.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"viem": patch
3+
---
4+
5+
Added Forta Chain.

src/chains/definitions/forta.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import { defineChain } from '../../utils/chain/defineChain.js'
2+
3+
export const forta = /*#__PURE__*/ defineChain({
4+
id: 80_931,
5+
name: 'Forta Chain',
6+
nativeCurrency: {
7+
symbol: 'FORT',
8+
name: 'FORT',
9+
decimals: 18,
10+
},
11+
rpcUrls: {
12+
default: {
13+
http: ['https://rpc-forta-chain-8gj1qndmfc.t.conduit.xyz'],
14+
},
15+
},
16+
blockExplorers: {
17+
default: {
18+
name: 'Forta Explorer',
19+
url: 'https://explorer.forta.org',
20+
},
21+
},
22+
})

src/chains/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ export { fluence } from './definitions/fluence.js'
171171
export { fluenceStage } from './definitions/fluenceStage.js'
172172
export { fluenceTestnet } from './definitions/fluenceTestnet.js'
173173
export { forma } from './definitions/forma.js'
174+
export { forta } from './definitions/forta.js'
174175
/** @deprecated Use `anvil` instead. */
175176
export { foundry } from './definitions/foundry.js'
176177
export { fraxtal } from './definitions/fraxtal.js'

0 commit comments

Comments
 (0)