hardhat-deploy-tenderly
v0.2.0
Published
Hardhat plugin for hardhat-deploy to push contracts to tenderly
Downloads
3,359
Maintainers
Readme
hardhat-deploy-tenderly
A plugin to push contracts to tenderly
What
This plugin add 2 commands to hardhat
hardhat --network <networkName> tenderly:push
hardhat --network <networkName> tenderly:verify
Installation
npm install -D hardhat-deploy-tenderly
And 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:push
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
tenderly:verify
This plugin adds the tenderly:verify task to Hardhat:
hardhat --network <networkName> tenderly:verify
This 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:push
hardhat --network <networkName> tenderly:verify