mirror of
https://github.com/socathie/zkPuzzles.git
synced 2026-04-20 03:00:10 -04:00
48 lines
1.2 KiB
JavaScript
48 lines
1.2 KiB
JavaScript
require("@nomiclabs/hardhat-waffle");
|
|
require("@nomiclabs/hardhat-ethers");
|
|
require("hardhat-deploy");
|
|
require("hardhat-contract-sizer");
|
|
require("hardhat-gas-reporter");
|
|
|
|
// Replace this private key with your Harmony account private key
|
|
// To export your private key from Metamask, open Metamask and
|
|
// go to Account Details > Export Private Key
|
|
// Be aware of NEVER putting real Ether into testing accounts
|
|
//const HARMONY_PRIVATE_KEY = "insert private key here";
|
|
|
|
module.exports = {
|
|
solidity: {
|
|
version: "0.8.4",
|
|
optimizer: {
|
|
enabled: true,
|
|
runs: 200
|
|
}
|
|
},
|
|
networks: {
|
|
hardhat: {
|
|
gas: 100000000,
|
|
blockGasLimit: 0x1fffffffffffff
|
|
}/*,
|
|
testnet: {
|
|
url: "https://api.s0.b.hmny.io",
|
|
chainId: 1666700000,
|
|
accounts: [`${HARMONY_PRIVATE_KEY}`]
|
|
},
|
|
mainnet: {
|
|
url: "https://api.s0.t.hmny.io",
|
|
chainId: 1666600000,
|
|
accounts: [`${HARMONY_PRIVATE_KEY}`]
|
|
},*/
|
|
},
|
|
namedAccounts: {
|
|
deployer: 0,
|
|
},
|
|
paths: {
|
|
deploy: "deploy",
|
|
deployments: "deployments",
|
|
},
|
|
mocha: {
|
|
timeout: 1000000
|
|
}
|
|
};
|