Hardhat plugin for hardhat-deploy to push contracts to tenderly
npm install hardhat-deploy-tenderly
_A plugin to push contracts to tenderly_
This plugin add 2 commands to hardhat
- hardhat --network
- hardhat --network
``bash`
npm install -D hardhat-deploy-tenderly
And add the following statement to your hardhat.config.ts:
`ts`
import "hardhat-deploy-tenderly";
hardhat-deploy
This plugin adds the _tenderly:push_ task to Hardhat:
`sh`
hardhat --network
This will push all your contract currently deployed on that network to tenderly.
You ll have access to all debugging facility of Tenderly but your contract code will remains private to you and tenderly
This plugin adds the _tenderly:verify_ task to Hardhat:
`sh`
hardhat --network
This will push all your contract currently deployed on that network to tenderly and verify them publicly.
This plugin extends the HardhatConfig's ProjectPaths object with an optional tenderly field.
This is an example of how to set it:
`js`
module.exports = {
tenderly: {
project: '
username: '
}
};
Make sure you configure your tenderly settings above.
Install it and you can execute
- hardhat --network hardhat --network
-