@yuetlooo/hardhat-aragon
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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-etherscan

And 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

  • --contract Contract previously deployed
  • --dry-run Output transaction data without broadcasting
  • --only-content Prevents contract compilation, deployment, and artifact generation
  • --skip-app-build Prevents building application
  • --skip-validation Prevents validation of artifact files
  • --ipfs-api-url Url to upload app content to IFPS
  • --verify Automatically verify contract
  • --confirmations Wait 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-path File path to a javascript module that exports the list of contract constructor arguments

Positional Arguments

  • bump Type of bump (major, minor, patch) or sematic version. Use major for contract change.
  • constructorArgsParams Constructor arguments for the app contract, Ignored if the --constructor-args-path option is used. default [].

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.00latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.00
0.3.30
0.3.20
0.3.10
0.3.00
0.2.1000
0.2.120
0.2.110
0.2.100
0.2.90
0.2.80
0.2.60
0.2.50
0.2.40
0.2.30
0.2.20
0.2.10
0.2.00
1.0.190
1.0.180
1.0.170
1.0.160
1.0.151
1.0.140
1.0.130
1.0.120
1.0.110
1.0.100
1.0.90
1.0.80
1.0.70
1.0.60
1.0.50
1.0.41
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i @yuetlooo/hardhat-aragon

Weekly Downloads

2

Version

1.1.0

License

AGPL-3.0-or-later

Unpacked Size

235 kB

Total Files

179

Last publish

Collaborators

  • yuetlooo