hardhat-deploy-tenderly
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

hardhat

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

Package Sidebar

Install

npm i hardhat-deploy-tenderly

Weekly Downloads

733

Version

0.2.0

License

MIT

Unpacked Size

85.8 kB

Total Files

53

Last publish

Collaborators

  • wighawag