-
-
Notifications
You must be signed in to change notification settings - Fork 766
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add Forma mainnet and Sketchpad testnet chains (#2555)
Added Forma mainnet and Sketchpad testnet chains.
- Loading branch information
1 parent
5babc8d
commit 9be9b2c
Showing
4 changed files
with
62 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 Forma mainnet and Sketchpad testnet chains. |
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,30 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
export const forma = /*#__PURE__*/ defineChain({ | ||
id: 984122, | ||
name: 'Forma', | ||
network: 'forma', | ||
nativeCurrency: { | ||
symbol: 'TIA', | ||
name: 'TIA', | ||
decimals: 18, | ||
}, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://rpc.forma.art'], | ||
webSocket: ['wss://ws.forma.art'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Forma Explorer', | ||
url: 'https://explorer.forma.art', | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: '0xd53C6FFB123F7349A32980F87faeD8FfDc9ef079', | ||
blockCreated: 252705, | ||
}, | ||
}, | ||
}) |
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,25 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
export const sketchpad = /*#__PURE__*/ defineChain({ | ||
id: 984123, | ||
name: 'Forma Sketchpad', | ||
network: 'sketchpad', | ||
nativeCurrency: { | ||
symbol: 'TIA', | ||
name: 'TIA', | ||
decimals: 18, | ||
}, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://rpc.sketchpad-1.forma.art'], | ||
webSocket: ['wss://ws.sketchpad-1.forma.art'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Sketchpad Explorer', | ||
url: 'https://explorer.sketchpad-1.forma.art', | ||
}, | ||
}, | ||
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