Skip to content

Commit

Permalink
Add Mantle to hardhat config
Browse files Browse the repository at this point in the history
  • Loading branch information
TomiOhl committed Dec 5, 2023
1 parent 82e7ad1 commit 85ba948
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Networks can be configured in _[hardhat.config.ts](hardhat.config.ts)_. We've pr
- `base` (Base Mainnet)
- `optimism` (Optimism Mainnet)
- `cronos` (Cronos Mainnet)
- `mantle` (Mantle Network Mainnet)

## Verification

Expand Down
4 changes: 4 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ const config: HardhatUserConfig = {
cronos: {
url: "https://cronos-evm.publicnode.com",
accounts: process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : []
},
mantle: {
url: "https://rpc.mantle.xyz",
accounts: process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : []
}
},
gasReporter: {
Expand Down

0 comments on commit 85ba948

Please sign in to comment.