{"_id":"@anudit/hardhat-vyper","_rev":"2-7d9e76fe96a0d48175eb6133f644ca21","name":"@anudit/hardhat-vyper","dist-tags":{"latest":"3.0.8"},"versions":{"3.0.6":{"name":"@anudit/hardhat-vyper","version":"3.0.6","description":"Hardhat plugin to develop smart contracts in Vyper","repository":{"type":"git","url":"git+https://github.com/nomiclabs/hardhat.git"},"homepage":"https://github.com/nomiclabs/hardhat/tree/main/packages/hardhat-vyper","author":{"name":"Nomic Labs LLC"},"license":"MIT","main":"dist/src/index.js","types":"dist/src/index.d.ts","keywords":["ethereum","smart-contracts","hardhat","hardhat-plugin","vyper"],"scripts":{"lint":"pnpm prettier --check && pnpm eslint","lint:fix":"pnpm prettier --write && pnpm eslint --fix","eslint":"eslint 'src/**/*.ts' 'test/**/*.ts'","prettier":"prettier \"**/*.{js,md,json}\"","pretest":"cd ../.. && pnpm build","test":"mocha --recursive \"test/**/*.ts\"","prebuild":"cd ../../crates/edr_napi && yarn build","build":"tsc --build .","prepublishOnly":"pnpm build","clean":"rimraf dist"},"dependencies":{"debug":"^4.1.1","fs-extra":"^7.0.1","io-ts":"1.10.4","lodash":"^4.17.11","semver":"^6.3.0"},"devDependencies":{"@nomicfoundation/eslint-plugin-hardhat-internal-rules":"workspace:^","@nomicfoundation/eslint-plugin-slow-imports":"workspace:^","@types/chai":"^4.2.0","@types/chai-as-promised":"^7.1.3","@types/debug":"^4.1.4","@types/fs-extra":"^5.1.0","@types/lodash":"^4.14.123","@types/mocha":">=9.1.0","@types/node":"^18.0.0","@types/semver":"^6.0.2","@typescript-eslint/eslint-plugin":"5.61.0","@typescript-eslint/parser":"5.61.0","chai":"^4.2.0","chai-as-promised":"^7.1.1","eslint":"^8.44.0","eslint-config-prettier":"8.3.0","eslint-plugin-import":"2.27.5","eslint-plugin-no-only-tests":"3.0.0","eslint-plugin-prettier":"3.4.0","hardhat":"workspace:^2.8.3","mocha":"^10.0.0","prettier":"2.4.1","rimraf":"^3.0.2","ts-node":"^10.8.0","typescript":"~5.0.0"},"peerDependencies":{"hardhat":"workspace:^2.8.3"},"gitHead":"ae2840e7013c2867901303666dba8ce682b7f050","bugs":{"url":"https://github.com/nomiclabs/hardhat/issues"},"_id":"@anudit/hardhat-vyper@3.0.6","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-wei/N0iHZMssC9vKq5gkq/8LelM3CfU1uJBYAFD64dymbTMVPfVAYrPPeRWvGgP/iXYc+ua6+vJPfnsQMwuB6A==","shasum":"d9e78d8df29dfcb6bf9095cc4f55535a72a4ba0a","tarball":"https://registry.npmjs.org/@anudit/hardhat-vyper/-/hardhat-vyper-3.0.6.tgz","fileCount":63,"unpackedSize":113957,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFDnvp+y/lO/DIR4uN6TH8+BqxlEXco5OO+j03GDjqg3AiEAh6JuWKEVKGnMEIkPxQH4vmgNqaLbBL0fyRuuJEedNtI="}]},"_npmUser":{"name":"anudit","email":"nagaranudit@gmail.com"},"directories":{},"maintainers":[{"name":"anudit","email":"nagaranudit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hardhat-vyper_3.0.6_1711935477012_0.3516332418661101"},"_hasShrinkwrap":false},"3.0.7":{"name":"@anudit/hardhat-vyper","version":"3.0.7","description":"Hardhat plugin to develop smart contracts in Vyper","repository":{"type":"git","url":"git+https://github.com/nomiclabs/hardhat.git"},"homepage":"https://github.com/nomiclabs/hardhat/tree/main/packages/hardhat-vyper","author":{"name":"Nomic Labs LLC"},"license":"MIT","main":"dist/src/index.js","types":"dist/src/index.d.ts","keywords":["ethereum","smart-contracts","hardhat","hardhat-plugin","vyper"],"scripts":{"lint":"pnpm prettier --check && pnpm eslint","lint:fix":"pnpm prettier --write && pnpm eslint --fix","eslint":"eslint 'src/**/*.ts' 'test/**/*.ts'","prettier":"prettier \"**/*.{js,md,json}\"","pretest":"cd ../.. && pnpm build","test":"mocha --recursive \"test/**/*.ts\"","prebuild":"cd ../../crates/edr_napi && yarn build","build":"tsc --build .","prepublishOnly":"pnpm build","clean":"rimraf dist"},"dependencies":{"debug":"^4.1.1","fs-extra":"^7.0.1","io-ts":"1.10.4","lodash":"^4.17.11","semver":"^6.3.0"},"devDependencies":{"@nomicfoundation/eslint-plugin-hardhat-internal-rules":"workspace:^","@nomicfoundation/eslint-plugin-slow-imports":"workspace:^","@types/chai":"^4.2.0","@types/chai-as-promised":"^7.1.3","@types/debug":"^4.1.4","@types/fs-extra":"^5.1.0","@types/lodash":"^4.14.123","@types/mocha":">=9.1.0","@types/node":"^18.0.0","@types/semver":"^6.0.2","@typescript-eslint/eslint-plugin":"5.61.0","@typescript-eslint/parser":"5.61.0","chai":"^4.2.0","chai-as-promised":"^7.1.1","eslint":"^8.44.0","eslint-config-prettier":"8.3.0","eslint-plugin-import":"2.27.5","eslint-plugin-no-only-tests":"3.0.0","eslint-plugin-prettier":"3.4.0","hardhat":"workspace:^2.8.3","mocha":"^10.0.0","prettier":"2.4.1","rimraf":"^3.0.2","ts-node":"^10.8.0","typescript":"~5.0.0"},"peerDependencies":{"hardhat":"workspace:^2.8.3"},"gitHead":"ae2840e7013c2867901303666dba8ce682b7f050","bugs":{"url":"https://github.com/nomiclabs/hardhat/issues"},"_id":"@anudit/hardhat-vyper@3.0.7","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-3HH/M5o0Ja1kvU5Gh/GfHOazW+PQumkWnNk705LgQkk+Q+nXBYYLrrGcSrKwLkOQ1Y4Cgl6op3+LzDspHWJhQg==","shasum":"3308a79b9f53a85fdfd2431ca6d2aae40d399b84","tarball":"https://registry.npmjs.org/@anudit/hardhat-vyper/-/hardhat-vyper-3.0.7.tgz","fileCount":63,"unpackedSize":114900,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFQ9AAWN9s3H2FEPZ6IFAyFIS2YlHKhsYIPaE3kF9lgAIhAIYkLUo8CfxDmy7eRi2B7EdZpisseRu95xHD2NvAsyJG"}]},"_npmUser":{"name":"anudit","email":"nagaranudit@gmail.com"},"directories":{},"maintainers":[{"name":"anudit","email":"nagaranudit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hardhat-vyper_3.0.7_1711973411577_0.8672411081912148"},"_hasShrinkwrap":false},"3.0.8":{"name":"@anudit/hardhat-vyper","version":"3.0.8","description":"Hardhat plugin to develop smart contracts in Vyper","repository":{"type":"git","url":"git+https://github.com/nomiclabs/hardhat.git"},"homepage":"https://github.com/nomiclabs/hardhat/tree/main/packages/hardhat-vyper","author":{"name":"Nomic Labs LLC"},"license":"MIT","main":"dist/src/index.js","types":"dist/src/index.d.ts","keywords":["ethereum","smart-contracts","hardhat","hardhat-plugin","vyper"],"scripts":{"lint":"pnpm prettier --check && pnpm eslint","lint:fix":"pnpm prettier --write && pnpm eslint --fix","eslint":"eslint 'src/**/*.ts' 'test/**/*.ts'","prettier":"prettier \"**/*.{js,md,json}\"","pretest":"cd ../.. && pnpm build","test":"mocha --recursive \"test/**/*.ts\"","prebuild":"cd ../../crates/edr_napi && yarn build","build":"tsc --build .","prepublishOnly":"pnpm build","clean":"rimraf dist"},"dependencies":{"debug":"^4.1.1","fs-extra":"^7.0.1","io-ts":"1.10.4","lodash":"^4.17.11","semver":"^6.3.0"},"devDependencies":{"@nomicfoundation/eslint-plugin-hardhat-internal-rules":"latest","@nomicfoundation/eslint-plugin-slow-imports":"latest","@types/chai":"^4.2.0","@types/chai-as-promised":"^7.1.3","@types/debug":"^4.1.4","@types/fs-extra":"^5.1.0","@types/lodash":"^4.14.123","@types/mocha":">=9.1.0","@types/node":"^18.0.0","@types/semver":"^6.0.2","@typescript-eslint/eslint-plugin":"5.61.0","@typescript-eslint/parser":"5.61.0","chai":"^4.2.0","chai-as-promised":"^7.1.1","eslint":"^8.44.0","eslint-config-prettier":"8.3.0","eslint-plugin-import":"2.27.5","eslint-plugin-no-only-tests":"3.0.0","eslint-plugin-prettier":"3.4.0","hardhat":"^2.8.3","mocha":"^10.0.0","prettier":"2.4.1","rimraf":"^3.0.2","ts-node":"^10.8.0","typescript":"~5.0.0"},"peerDependencies":{"hardhat":"^2.8.3"},"gitHead":"ae2840e7013c2867901303666dba8ce682b7f050","bugs":{"url":"https://github.com/nomiclabs/hardhat/issues"},"_id":"@anudit/hardhat-vyper@3.0.8","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-GVaFeKnW/RKzWS1UDqfNRVKNag4ftNdJr5W2GCRTPN/bZIPSxsJ9bn427xPzaOngpEuWt9KzMMG2fpdZreT80Q==","shasum":"8fb0b7f833d3debd7ddc8e0f8ee7cfd55c11f300","tarball":"https://registry.npmjs.org/@anudit/hardhat-vyper/-/hardhat-vyper-3.0.8.tgz","fileCount":63,"unpackedSize":114870,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWa9eeC1rhLB5jGOCc3S00U1GXI1q9ba3siQYI+DkFpQIgY4OhxqX7Kb9m/y80P+UqlSs/m43286t3FWMK7NxImos="}]},"_npmUser":{"name":"anudit","email":"nagaranudit@gmail.com"},"directories":{},"maintainers":[{"name":"anudit","email":"nagaranudit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hardhat-vyper_3.0.8_1712071893389_0.043892433717672485"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-01T01:37:56.912Z","3.0.6":"2024-04-01T01:37:57.207Z","modified":"2024-04-02T15:31:33.775Z","3.0.7":"2024-04-01T12:10:11.783Z","3.0.8":"2024-04-02T15:31:33.540Z"},"maintainers":[{"name":"anudit","email":"nagaranudit@gmail.com"}],"description":"Hardhat plugin to develop smart contracts in Vyper","homepage":"https://github.com/nomiclabs/hardhat/tree/main/packages/hardhat-vyper","keywords":["ethereum","smart-contracts","hardhat","hardhat-plugin","vyper"],"repository":{"type":"git","url":"git+https://github.com/nomiclabs/hardhat.git"},"author":{"name":"Nomic Labs LLC"},"bugs":{"url":"https://github.com/nomiclabs/hardhat/issues"},"license":"MIT","readme":"# hardhat-vyper\n\n[![npm](https://img.shields.io/npm/v/@nomiclabs/hardhat-vyper.svg)](https://www.npmjs.com/package/@nomiclabs/hardhat-vyper) [![hardhat](https://hardhat.org/buidler-plugin-badge.svg?1)](https://hardhat.org)\n\n[Hardhat](https://hardhat.org) plugin to develop smart contracts with Vyper.\n\n## What\n\nThis plugin adds support for Vyper to Hardhat. Once installed, Vyper contracts can be compiled by running the `compile` task.\n\nThis plugin generates the same artifact format as the built-in Solidity compiler, so that it can be used in conjunction with all other plugins.\n\nThe Vyper compiler is run using the [official binary releases](https://github.com/vyperlang/vyper/releases).\n\n## Installation\n\nFirst, you need to install the plugin by running\n\n```bash\nnpm install --save-dev @nomiclabs/hardhat-vyper\n```\n\nAnd add the following statement to your `hardhat.config.js`:\n\n```js\nrequire(\"@nomiclabs/hardhat-vyper\");\n```\n\nOr, if you are using TypeScript, add this to your `hardhat.config.ts`:\n\n```js\nimport \"@nomiclabs/hardhat-vyper\";\n```\n\n## Required plugins\n\nNo plugins dependencies.\n\n## Tasks\n\nThis plugin creates no additional tasks.\n\n## Environment extensions\n\nThis plugin does not extend the Hardhat Runtime Environment.\n\n## Configuration\n\nThis plugin adds an optional `vyper` entry to Hardhat's config, which lets you specify the Vyper version to use.\n\nThis is an example of how to set it:\n\n```js\nmodule.exports = {\n  vyper: {\n    version: \"0.3.0\",\n  },\n};\n```\n\nYou can also configure multiple versions of the Vyper compiler:\n\n```js\nmodule.exports = {\n  vyper: {\n    compilers: [{ version: \"0.2.1\" }, { version: \"0.3.0\" }],\n  },\n};\n```\n\n## Usage\n\nThere are no additional steps you need to take for this plugin to work.\n\n## Test directives\n\nBrownie allows you to use the test directive `#@ if mode == \"test\":` to specify when a portion of code should be included only for testing purposes.\n\nExample:\n\n```py\n#@ if mode == \"test\":\n@external\ndef _mint_for_testing(_to: address, _token_id: uint256):\n    self._mint(_to, _token_id)\n#@ endif\n```\n\nWe do NOT support this feature. An error will be thrown every time that, when compiling a contract, the directive `#@ if mode == \"test\":` is found.\n\n### Additional notes\n\nThe oldest vyper version supported by this plugin is 0.2.0. Versions older than this will not work and will throw an error.\n","readmeFilename":"README.md"}