Cannon is a Hardhat plug-in inspired by Docker and Terraform. Visit the website for more information, including documentation.
- Install the Hardhat plug-in
npm install hardhat-cannon
- Add this to your hardhat.config.js
require('hardhat-cannon');
- Start a local chain with Synthetix
npx hardhat cannon synthetix:latest
Browse packages for other protocols you can quickly deploy.
This plug-in is based on the Hardhat TypeScript plugin boilerplate. Review the README for some relevant information.
With appropriate npm permissions, run the following commands:
npx lerna bootstrap
npx lerna publish patch