-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: specify addresses in config generation instead of reading from …
…deployments Allows one to run config generation tool completely separate of importing the ua-utils tool to the target repository. Signed-off-by: Ryan Goulding <[email protected]>
- Loading branch information
1 parent
ed2ada8
commit c737642
Showing
4 changed files
with
99 additions
and
13 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,66 @@ | ||
import { HardhatUserConfig } from "hardhat/config"; | ||
|
||
import "./src/index" | ||
|
||
// This adds support for typescript paths mappings | ||
import "tsconfig-paths/register"; | ||
|
||
const config: HardhatUserConfig = { | ||
networks: { | ||
'sepolia-testnet': { | ||
url: 'https://eth-sepolia.public.blastapi.io' | ||
}, | ||
'bsc-testnet': { | ||
url: 'https://data-seed-prebsc-1-s1.bnbchain.org:8545' | ||
}, | ||
'avalanche-testnet': { | ||
url: 'https://ava-testnet.public.blastapi.io/ext/bc/C/rpc' | ||
}, | ||
'idex-testnet': { | ||
url: 'https://rpc-devnet-idex.hardfork.dev' | ||
}, | ||
|
||
|
||
'ethereum-mainnet': { | ||
url: 'https://eth.llamarpc.com' | ||
}, | ||
'bsc-mainnet': { | ||
url: 'https://binance.llamarpc.com' | ||
}, | ||
'avalanche-mainnet': { | ||
url: 'https://api.avax.network/ext/bc/C/rpc' | ||
}, | ||
'polygon-mainnet': { | ||
url: 'https://polygon.llamarpc.com' | ||
}, | ||
'arbitrum-mainnet': { | ||
url: 'https://arbitrum.llamarpc.com' | ||
}, | ||
'optimism-mainnet': { | ||
url: 'https://mainnet.optimism.io' | ||
}, | ||
'fantom-mainnet': { | ||
url: 'https://fantom-mainnet.public.blastapi.io' | ||
}, | ||
'base-mainnet': { | ||
url: 'https://base.llamarpc.com' | ||
}, | ||
'kava-mainnet': { | ||
url: 'https://kava-evm.publicnode.com' | ||
}, | ||
'mantle-mainnet': { | ||
url: 'https://1rpc.io/mantle' | ||
}, | ||
'metis-mainnet': { | ||
url: 'https://metis-mainnet.public.blastapi.io' | ||
}, | ||
'scroll-mainnet': { | ||
url: 'https://rpc.scroll.io' | ||
}, | ||
'zkconsensys-mainnet': { | ||
url: 'https://1rpc.io/linea' | ||
} | ||
} | ||
}; | ||
|
||
export default config; |
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