Tenderly / hardhat-tenderly

Tenderly plugin for HardHat
https://www.npmjs.com/package/@tenderly/hardhat-tenderly
Other
154 stars 40 forks source link

Enable multiple tenderly networks in hardhat.config.ts #169

Closed dule-git closed 9 months ago

dule-git commented 9 months ago

Enable multiple tenderly networks in hardhat.config.ts

From now on, you can put multiple networks in your hardhat.config.ts file in the networks property without the need name the network tenderly or devnet.

Just put:

networks: {
  my_tenderly_network_1: {
    url: "https://rpc.tenderly.co/fork/<forkId>",
  },
  my_tenderly_network_2: {
    url: "https://rpc.tenderly.co/fork/<forkId>",
  },
}

After that you can do:

npx hardhat run scripts/deploy.ts --network my_tenderly_network_1
changeset-bot[bot] commented 9 months ago

🦋 Changeset detected

Latest commit: 731d58a72b258280842a96419a2c34e97157d3f2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | -------------------------- | ----- | | tenderly | Minor | | @tenderly/hardhat-tenderly | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

dule-git commented 9 months ago

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.