This repository integrates Hardhat with Tenderly for advanced Ethereum smart contract development, testing, and monitoring.
hardhat-tenderly provides:
- Seamless deployment, verification, and monitoring of smart contracts on Tenderly.
- Powerful development environment using Hardhat.
- Automated error tracking and debugging capabilities.
- Hardhat Integration: Use Hardhat tasks and plugins for streamlined development.
- Tenderly Monitoring: Track contract transactions, errors, and performance on Tenderly.
- Automated Verification: Auto-verify contracts after deployment.
- Custom Scripts: Add your own custom deployment, testing, and management scripts.
- Node.js (v14 or above)
- Yarn or npm
- Hardhat
- Tenderly Account
Clone the repository:
git clone https://github.com/Dimvy-Clothing-brand/hardhat-tenderly.git
cd hardhat-tenderlyInstall dependencies:
yarn install
# or
npm install- Create a
.envfile in the root directory:TENDERLY_PROJECT=<your-tenderly-project> TENDERLY_USERNAME=<your-tenderly-username> TENDERLY_ACCESS_KEY=<your-tenderly-access-key> - Update
hardhat.config.jswith your desired network and Tenderly settings.
-
Compile Contracts
npx hardhat compile
-
Deploy Contracts
npx hardhat run scripts/deploy.js --network <network>
-
Push to Tenderly
npx hardhat tenderly:push --network <network>
-
Verify on Tenderly
npx hardhat tenderly:verify --network <network>
/contracts: Solidity smart contracts/scripts: Deployment and management scripts/test: Automated tests/tasks: Custom Hardhat tasks
- Avoid exposing sensitive keys and secrets.
- Use
.envfor API keys and credentials. - Regularly audit contracts for vulnerabilities.
- If you encounter errors, check your configuration and API keys.
- Ensure your Hardhat and Tenderly plugins are up to date.
- Refer to the Hardhat documentation and Tenderly docs for more information.
Pull requests and issues are welcome! Please open an issue to discuss improvements or report bugs.
Dimvy Clothing Brand — Blockchain Innovation for Fashion