hardhat-deploy-tenderly v0.2.1
hardhat-deploy-tenderly
A plugin to push contracts to tenderly
What
This plugin add 2 commands to hardhat
hardhat --network <networkName> tenderly:pushhardhat --network <networkName> tenderly:verify
Installation
npm install -D hardhat-deploy-tenderlyAnd add the following statement to your hardhat.config.ts:
import "hardhat-deploy-tenderly";Required plugins
hardhat-deploy
Tasks
tenderly:push
This plugin adds the tenderly:push task to Hardhat:
hardhat --network <networkName> tenderly:pushThis 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
tenderly:verify
This plugin adds the tenderly:verify task to Hardhat:
hardhat --network <networkName> tenderly:verifyThis will push all your contract currently deployed on that network to tenderly and verify them publicly.
Configuration
This plugin extends the HardhatConfig's ProjectPaths object with an optional
tenderly field.
This is an example of how to set it:
module.exports = {
tenderly: {
project: '<tenderly project name>',
username: '<tenderly username>',
}
};Usage
Make sure you configure your tenderly settings above.
Install it and you can execute
hardhat --network <networkName> tenderly:pushhardhat --network <networkName> tenderly:verify