-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat-factories-by-default
- Loading branch information
Showing
5 changed files
with
81 additions
and
6 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 |
---|---|---|
@@ -1,4 +1,43 @@ | ||
import { defineChain } from 'viem'; | ||
import { sepolia, arbitrumSepolia } from 'viem/chains'; | ||
|
||
export const chains = [sepolia, arbitrumSepolia]; | ||
export { sepolia, arbitrumSepolia }; | ||
const nitroTestnodeL1 = defineChain({ | ||
id: 1_337, | ||
network: 'Nitro Testnode L1', | ||
name: 'nitro-testnode-l1', | ||
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 }, | ||
rpcUrls: { | ||
default: { | ||
http: ['http://127.0.0.1:8545'], | ||
}, | ||
public: { | ||
http: ['http://127.0.0.1:8545'], | ||
}, | ||
}, | ||
testnet: true, | ||
}); | ||
|
||
const nitroTestnodeL2 = defineChain({ | ||
id: 412_346, | ||
network: 'Nitro Testnode L2', | ||
name: 'nitro-testnode-l2', | ||
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 }, | ||
rpcUrls: { | ||
default: { | ||
http: ['http://127.0.0.1:8547'], | ||
}, | ||
public: { | ||
http: ['http://127.0.0.1:8547'], | ||
}, | ||
}, | ||
testnet: true, | ||
}); | ||
|
||
export const chains = [ | ||
sepolia, | ||
arbitrumSepolia, | ||
nitroTestnodeL1, | ||
nitroTestnodeL2, | ||
] as const; | ||
|
||
export { sepolia, arbitrumSepolia, nitroTestnodeL1, nitroTestnodeL2 }; |
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
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
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
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