diff --git a/README.md b/README.md index ad9287b..123431b 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,8 @@ npx hardhat test npx hardhat deploy --network rinkeby --tags Deployment ``` +Deploying to mainnet is possible by subsituting all `--network rinkeby` arguments with `--network mainnet`. + ## Upgrading Upgrading contracts that are owned by a multisig should be proposed using [Defender](https://docs.openzeppelin.com/defender/guide-upgrades) @@ -88,6 +90,14 @@ npx hardhat deploy --network rinkeby --tags Upgrade ## Deployments +## Mainnet + +| Contract | Address | +| ------------------- | ------------------------------------------ | +| Gnosis Safe | 0x03b5Dc2CE78a7bEe9F66DD619b291595a2E166BB | +| ArrowToken | 0x736609D310B5F925531B5ad895925CB0586F6241 | +| ArrowVestingFactory | 0xe774395857A91f7158FB0a79385c4C9F7975B848 | + ### Rinkeby | Contract | Address | diff --git a/hardhat.config.js b/hardhat.config.js index 33a6816..ef3ea34 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -18,7 +18,14 @@ module.exports = { }, }, + defaultNetwork: "hardhat", + networks: { + hardhat: {}, + mainnet: { + url: `https://mainnet.infura.io/v3/${process.env.INFURA_PROJECT_ID}`, + accounts: (process.env.DEPLOYMENT_PRIVATE_KEY === undefined) ? [] : [`${process.env.DEPLOYMENT_PRIVATE_KEY}`] + }, rinkeby: { url: `https://rinkeby.infura.io/v3/${process.env.INFURA_PROJECT_ID}`, accounts: (process.env.DEPLOYMENT_PRIVATE_KEY === undefined) ? [] : [`${process.env.DEPLOYMENT_PRIVATE_KEY}`]