@aragon/hardhat-aragon
v1.0.0
Published
Hardhat plugin for developing Aragon apps.
Downloads
252
Readme
Aragon Hardhat plugin
Hardhat plugin for publishing Aragon apps and templates.
Required plugins
This plugin currently requires:
Installation
yarn add --dev @aragon/hardhat-aragon @nomiclabs/hardhat-ethers ethers @nomiclabs/hardhat-etherscanAnd add the following statement to your hardhat.config.js:
require('@aragon/hardhat-aragon')
require('@nomiclabs/hardhat-ethers')
require('@nomiclabs/hardhat-etherscan')Or, if you are using TypeScript, add this to your hardhat.config.ts:
import '@aragon/hardhat-aragon'
import '@nomiclabs/hardhat-ethers'
import '@nomiclabs/hardhat-etherscan'Tasks
This plugin provides the publish task which allows you to publish an Aragon app to the Aragon Package Manager
Usage
hardhat publish --contract <STRING> --ipfs-api-url <STRING> [--dry-run] [--only-content] [--skip-app-build] [--skip-validation] [--verify] [--confirmations <blocks>] [--constructor-args-path <path>] bump [...constructorArgsParams]
Options
--contractContract previously deployed--dry-runOutput transaction data without broadcasting--only-contentPrevents contract compilation, deployment, and artifact generation--skip-app-buildPrevents building application--skip-validationPrevents validation of artifact files--ipfs-api-urlUrl to upload app content to IFPS--verifyAutomatically verify contract--confirmationsWait this number of blocks of confirmation for contract creation. Default to 1. Etherscan recommends waiting 5 blocks before verifying to ensure transaction available at etherscan's node--constructor-args-pathFile path to a javascript module that exports the list of contract constructor arguments
Positional Arguments
bumpType of bump (major, minor, patch) or sematic version. Use major for contract change.constructorArgsParamsConstructor arguments for the app contract, Ignored if the --constructor-args-path option is used. default [].
