wighawag / hardhat-deploy

hardhat deployment plugin
MIT License
1.19k stars 292 forks source link

How exactly use deterministic deployment? #349

Open yieniggu opened 2 years ago

yieniggu commented 2 years ago

What exactly needs to be passed to the deterministic deployment option??

on hardhat.config.js I have:

/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
  solidity: "0.8.13",
  networks: {
    goerli: {
      url: "<endpoint>",
      accounts: [PRIVATE_KEY],
    },
    rinkeby: {
      url: "<endpoint>",
      accounts: [PRIVATE_KEY],
    },
  },

  deterministicDeployment: {
    rinkeby: {
      factory: "0x5C3cc6bCb7Bd5a757B51bABDb053068aC55c4c6D",
      deployer: "0xF600c24AdC748AA5B42b94A9D39053299ffEA2f2",
      funding: "100000",
      signedTx: "",
    },
  },
};

I can't make it work :(