| 1234567891011121314151617181920212223242526272829303132333435 |
- import { HardhatUserConfig } from "hardhat/config";
- import "@nomicfoundation/hardhat-toolbox";
- import deployer from './.secret'
- const ETH_RPC = '/ethereum/data/geth.ipc'
- const ETH_W_RPC = 'https://mainnet.ethereumpow.org'
- const config: HardhatUserConfig = {
- defaultNetwork: 'eth_w',
- solidity: "0.7.6",
- networks: {
- eth: {
- url: ETH_RPC,
- chainId: 1,
- accounts: [deployer.private]
- },
- eth_w: {
- url: ETH_W_RPC,
- chainId: 10001,
- accounts: [deployer.private]
- }
- },
- paths: {
- sources: "./contracts",
- tests: "./test",
- cache: "./cache",
- artifacts: "./artifacts"
- },
- mocha: {
- timeout: 40000
- }
- };
- export default config;
|