HARDHAT CONFIGURATION AND DEPLOYMENT
Follow these steps in sequential order:
require("@nomiclabs/hardhat-ethers"); const mnemonic = "Enter_your_account_mnemonic_here"; module.exports = { solidity: "0.6.12", networks: { gather-testnet: { url: `https://testnet.gather.network`, chainId: 356256156, accounts: {mnemonic: mnemonic} }, gather-mainnet: { url: `https://mainnet.gather.network`, chainId: 192837465, accounts: {mnemonic: mnemonic} } } };npx hardhat run scripts/deploy.js --network gather-testnetnpx hardhat run scripts/deploy.js --network gather-mainnet
Last updated