{"_id":"@0xgabi/hardhat-aragon","_rev":"3-9531083f38467009695f1f5dd1b851a1","name":"@0xgabi/hardhat-aragon","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.4":{"name":"@0xgabi/hardhat-aragon","version":"0.0.4","description":"Aragon Hardhat plugin","author":{"name":"1hive","email":"info@1hive.org"},"license":"MIT","main":"dist/src/internal/index.js","types":"dist/src/internal/index.d.ts","keywords":["ethereum","smart-contracts","hardhat","hardhat-plugin","aragon"],"scripts":{"lint:fix":"prettier --write 'src/**/*.{js,ts}' 'test/**/*.{js,ts}' && eslint --fix","lint":"eslint","test":"mocha --exit --recursive 'test/**/*.test.ts'","build":"tsc","watch":"tsc -w","test:coverage":"nyc --all --reporter=lcov --reporter=text-summary --reporter=html yarn test","report-coverage":"codecov"},"dependencies":{"@solidity-parser/parser":"^0.12.2","chalk":"^4.1.1","execa":"^5.0.0","fs-extra":"^8.1.0","ipfs-http-client":"^50.0.0","node-fetch":"^2.6.1"},"devDependencies":{"@aragon/abis":"^1.1.0","@nomiclabs/hardhat-ethers":"^2.0.2","@types/chai":"^4.2.5","@types/fs-extra":"^8.1.0","@types/lodash":"^4.14.169","@types/mocha":"^5.2.7","@types/node":"12.7.5","@types/node-fetch":"^2.5.5","@types/semver":"^7.1.0","@types/sinon":"^7.5.2","@typescript-eslint/eslint-plugin":"^2.16.0","@typescript-eslint/parser":"^2.16.0","bignumber.js":"^9.0.0","chai":"^4.2.0","codecov":"^3.6.5","dotenv":"^8.2.0","eslint":"^6.8.0","eslint-config-prettier":"^6.9.0","eslint-plugin-prettier":"^3.1.2","ethers":"^5.5.1","hardhat":"^2.6.7","hardhat-deploy":"^0.9.4","kill-port":"^1.6.0","mocha":"^7.1.2","nyc":"^15.0.1","prettier":"2.0.5","sinon":"^9.0.1","ts-node":"^8.1.0","typescript":"^4.2.4"},"peerDependencies":{"@nomiclabs/hardhat-ethers":"^2.0.2","ethers":"^5.5.1","hardhat":"^2.6.7","hardhat-deploy":"^0.9.4"},"gitHead":"1f03d7ab3649af817d7f6a012635584c589b9940","_id":"@0xgabi/hardhat-aragon@0.0.4","_nodeVersion":"16.4.2","_npmVersion":"7.18.1","dist":{"integrity":"sha512-RpVh6sRn5Bn69CuA2WLoqhzU6miyHofT4y6zmYD4b8kHlR0q9VBLu55fKV7wsH7/V8KwfgzIDFJLU3Y7jS9NTA==","shasum":"5ff83a6770aa311f99036c94d60c7b4341f4ddba","tarball":"https://registry.npmjs.org/@0xgabi/hardhat-aragon/-/hardhat-aragon-0.0.4.tgz","fileCount":207,"unpackedSize":253163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhue36CRA9TVsSAnZWagAAHrAQAJSczwZpoWwHFaBY44oQ\nOUWabkLwYIu0biZ7w3KsY7V+bcLi5jEEnmzZ3FNvmnL5wDRjUR1Vj/eq7iHK\nS1a7dcR99yRi6lub/tF+ApsY42xNqMEkpHy8XdhX16Vvgkx8dqzHSv8//MZH\nUa4wTVwQXtAlLND9rh2uSJ4xE77c9WhSbCT9fPy6gfQXPd/TiB9Op3jMxtsX\nw1QGESNN0f7yzp8XJ5VQWTK1MKYhn+SZiVt0hdh0M4aLDUDgWh03oD1flJwj\nRkAwX5XmzOmqcALO4EfVmDXDaI4+lvWkYqiMKJoYEKfFvCdjSNhbwTLVCun1\nInokvecP8zC2fRehCtQSJg5xHneTsLNyH3qFFBqMOaC/Pj0dV+k43bHbaJr/\nsKkjyqz/wFj9ocvm+WRXtoovcxNs1PDrIzG5yI3HDKeal27QCxlqp3D5t4mC\njkv1hQdopsGOFKpVhDrUkXg9roWQIGZ6w3r359g+QqXRs92Om/JFfVTGG2Yx\n0rRNwmrh5GeLkW8PkWV0/EySmVTYScsM1KcLZQMwWaMGMssn/ax8BmWWQC5t\nMYVKLFFTOaC6t2PtTxYifvqRp8t1UaWNqO6+RyJ7tO2YZOewkGA+56LgA/X1\nRJudU0mJm+DusQ+xUpAH1PijjDrGcelZsfiqYA1IxDxCZttYscK1lcVFOzkT\nc3dn\r\n=850Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID/ICr+IbRe7DlhUeLDgTjDxXgOtinJx2ZBbBVIbp5CvAiAE3lRtzZufLbBYNLU3RcZ4cnBlSkms9M6vxzZ8zDdR3w=="}]},"_npmUser":{"name":"gabrielg","email":"gabrielpk.18@gmail.com"},"directories":{},"maintainers":[{"name":"gabrielg","email":"gabrielpk.18@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hardhat-aragon_0.0.4_1635561287392_0.482501096678581"},"_hasShrinkwrap":false},"0.1.0":{"name":"@0xgabi/hardhat-aragon","version":"0.1.0","description":"Aragon Hardhat plugin","author":{"name":"1hive","email":"info@1hive.org"},"license":"MIT","main":"dist/src/internal/index.js","types":"dist/src/internal/index.d.ts","keywords":["ethereum","smart-contracts","hardhat","hardhat-plugin","aragon"],"scripts":{"lint:fix":"prettier --write 'src/**/*.{js,ts}' 'test/**/*.{js,ts}' && eslint --fix","lint":"eslint","test":"mocha --exit --recursive 'test/**/*.test.ts'","build":"tsc","watch":"tsc -w","test:coverage":"nyc --all --reporter=lcov --reporter=text-summary --reporter=html yarn test","report-coverage":"codecov"},"dependencies":{"@solidity-parser/parser":"^0.6.0","chalk":"^4.1.1","execa":"^5.0.0","fs-extra":"^8.1.0","ipfs-http-client":"^52.0.0","node-fetch":"^2.6.1"},"devDependencies":{"@aragon/abis":"^1.1.0","@nomiclabs/hardhat-ethers":"^2.0.2","@types/chai":"^4.2.5","@types/fs-extra":"^8.1.0","@types/lodash":"^4.14.169","@types/mocha":"^5.2.7","@types/node":"12.7.5","@types/node-fetch":"^2.5.5","@types/semver":"^7.1.0","@types/sinon":"^7.5.2","@typescript-eslint/eslint-plugin":"^2.16.0","@typescript-eslint/parser":"^2.16.0","bignumber.js":"^9.0.0","chai":"^4.2.0","codecov":"^3.6.5","dotenv":"^8.2.0","eslint":"^6.8.0","eslint-config-prettier":"^6.9.0","eslint-plugin-prettier":"^3.1.2","ethers":"^5.5.1","hardhat":"^2.6.7","hardhat-deploy":"^0.9.4","kill-port":"^1.6.0","mocha":"^7.1.2","nyc":"^15.0.1","prettier":"2.0.5","sinon":"^9.0.1","ts-node":"^8.1.0","typescript":"^4.2.4"},"peerDependencies":{"@nomiclabs/hardhat-ethers":"^2.0.2","ethers":"^5.5.1","hardhat":"^2.6.7","hardhat-deploy":"^0.9.4"},"gitHead":"954e04cf1012d8f991794aaa1b63ffe123e84ba4","_id":"@0xgabi/hardhat-aragon@0.1.0","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-6pKCnbbvDce+yhxHlNo3LLVugbC+qFYKkilWRWvdJU6Vb3u323TME02lke6JHuzmBfl3dv2Blo8hCpDgERTKfA==","shasum":"be1b5e0b5d0e9a5397c88a14456774ff43f45b88","tarball":"https://registry.npmjs.org/@0xgabi/hardhat-aragon/-/hardhat-aragon-0.1.0.tgz","fileCount":212,"unpackedSize":257764,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiCCxWCRA9TVsSAnZWagAAHI4P/iLpI9N+u1FTgZ8aAhf0\nJI1vm6tMmE6HaadDWthN2704kkduJRcmR5eZioO9y8xR2p62dJB5s3H5XSF6\nXtggy6p0ZkMZBVFAB65+GTbSU+nvm1JVKOQ5b+3Nf83GZvdu/SXRT6oHp5e9\nHmvLHiPjr9bDzfB6RhXCw1UWruDeGsaJ/ovzCuYjQjczO4qKN5rPLL7j35OG\ncQWgRjkCRnSr9INrkKtjos3aDmJThM3LGziXGrRV0HL9dsG5gL6a0Mcw16zy\nlWS3ZGwJS1ou0PvUT1ZHIQwGvsIG+sICRgjAxzZhHwyED4Sw/catYUsBDsEJ\nsrjEs7MKymIyZyO6kPGbN5UnQ1SQSJ6eSdKfLxN5CuKd1k+gn6wEGayC4n/O\n8Tv5PZ0LIl+4E+6NRF5wzmSgI+TFdnxRhUB/MGWLxWntksuvtAXQ77d7oPy8\npWdspfz2XwX3Q68z1QKHKvc3OX0vUYbE+J6/fbhedKU3oY3lwjbv6ZcvrGy0\ntuFaENx7BA/J8ul06wMdCMmdTDlMnbtdjw95QaoQubsQeuN0BBAhCI1CxrDw\nsVMXu4qhHoF/6DPpHomf7+cnFHLL8bHPKuZal7V7JGMJJ3mMmshFhVYrsTiV\nitdMEtYo86O4383kqg7BJnKiUXB0FfuzIHoPfxTyJv3N/+y4biOpyPeOFneK\nBkHq\r\n=q22/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6FcyXRajGobWhorz7FHQbekC+rxS1cKSAW3VO0wu9dQIgTCQV5SXdnJUym43jmQCpaqhzGSECLuPPt4kiGRQVW2o="}]},"_npmUser":{"name":"gabrielg","email":"gabrielpk.18@gmail.com"},"directories":{},"maintainers":[{"name":"gabrielg","email":"gabrielpk.18@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hardhat-aragon_0.1.0_1644702806439_0.6906898477417662"},"_hasShrinkwrap":false}},"time":{"created":"2021-10-30T02:34:47.351Z","0.0.4":"2021-10-30T02:34:47.578Z","modified":"2022-04-04T10:29:01.137Z","0.1.0":"2022-02-12T21:53:26.668Z"},"maintainers":[{"name":"gabrielg","email":"gabrielpk.18@gmail.com"}],"description":"Aragon Hardhat plugin","keywords":["ethereum","smart-contracts","hardhat","hardhat-plugin","aragon"],"author":{"name":"1hive","email":"info@1hive.org"},"license":"MIT","readme":"# Aragon Hardhat plugin\n\nHardhat plugin for publishing Aragon apps to [Aragon Package Manager](https://hack.aragon.org/docs/apm-intro.html).\n\n## Required plugins\n\nThis plugin requires:\n\n- [**@nomiclabs/hardhat-ethers**](https://hardhat.org/plugins/nomiclabs-hardhat-ethers.html)\n- [**hardhat-deploy**](https://hardhat.org/plugins/hardhat-deploy.html)\n\n## Installation\n\n```\nyarn add --dev @1hve/hardhat-aragon @nomiclabs/hardhat-ethers ethers hardhat-deploy\n```\n\nAnd add the following statement to your hardhat.config.js:\n\n```js\nrequire('@1hive/hardhat-aragon')\nrequire('@nomiclabs/hardhat-ethers')\nrequire('hardhat-deploy')\n```\n\nOr, if you are using TypeScript, add this to your hardhat.config.ts:\n\n```ts\nimport '@1hive/hardhat-aragon'\nimport '@nomiclabs/hardhat-ethers'\nimport 'hardhat-deploy'\n```\n\n## Tasks\n\nThis plugin provides the `publish` task, which allows you to publish an Aragon app to the Aragon Package Manager.\n\n### Usage\n\n```sh\nhardhat [GLOBAL HARDHAT OPTIONS] publish --contract <STRING> [--dry-run] [--only-content] [--skip-app-build] [--skip-validation] bump [...constructorArgs]\n```\n\n### Options\n\n- `--contract`: Contract address previously deployed.\n- `--dry-run`: Output tx data without broadcasting.\n- `--only-content`: Prevents contract compilation, deployment, and artifact generation.\n- `--skip-app-build`: Skip application build.\n- `--skip-validation`: Skip validation of artifacts files.\n\n### Positional Arguments\n\n- **bump**: Type of bump (major, minor or patch) or semantic version\n\n- **constructorArgs**: Constructor arguments for the app contract. (default: `[]`)\n\n## Config extensions\n\nYou need to add the following `aragon` config to your `hardhat.config` file:\n\n```js\nmodule.exports = {\n  networks: {\n    mainnet: { ... }\n  },\n  aragon: {\n    appEnsName: string // counter.open.aragonpm.eth\n    appContractName: string // Counter\n  }\n};\n```\n\nAdditionaly you can also configure the optional `aragon` and `ipfs` configs:\n\n```js\nmodule.exports = {\n  networks: {\n    mainnet: { ... }\n  },\n  aragon: {\n    appEnsName: string // counter.open.aragonpm.eth\n    appContractName: string // Counter\n    appRoles: Role[]\n    appSrcPath: string // app/\n    appBuildOutputPath: string // dist/\n    appBuildScript: string  // build/\n    ignoreFilesPath: string // .\n  },\n  ipfs: {\n    url: string // https://ipfs.infura.io:5001/\n    gateway: string // https://ipfs.io/\n    pinata: {\n      key: \"YOUR_PINATA_API_KEY\"\n      secret: \"YOUR_PINATA_API_SECRET_KEY\"\n    }\n  }\n```\n\nWhere `Role` has the interface:\n\n```ts\ninterface Role {\n  name: string // 'Create new payments'\n  id: string // 'CREATE_PAYMENTS_ROLE'\n  params: string[] //  ['Token address', ... ]\n}\n```\n\nFinally the plugin also extend the hardhat network configuration to allow a custom `appEnsName` and `ensRegistry` per network:\n\n```js\nnetworks: {\n    hardhat: {\n      ensRegistry: '0xaafca6b0c89521752e559650206d7c925fd0e530',\n    },\n    rinkeby: {\n      appEnsName: 'counter.aragonpm.eth',\n      ensRegistry: '0x98df287b6c145399aaa709692c8d308357bc085d',\n      ...\n    },\n  },\n```\n\n## Environment extensions\n\nThis plugins adds an `ipfs` object to the Hardhat Runtime Environment.\n\nThis object has the same API that [`ipfs-http-client`](https://github.com/ipfs/js-ipfs/tree/master/packages/ipfs-http-client).\n\nThis object is already initialized and ready to interact with the IPFS network. You can configure the node `url` to connect with on the `hardhat.config` file.\n\n> **Note**<br>\n> The plugin default `url` is `http://localhost:5001/` assuming you have a local IPFS node at that endpoint running. You can configure a custom `url` node like `https://ipfs.infura.io:5001/` if you don't want to run your own node.\n","readmeFilename":"README.md"}