deploy scripts with hardhat-deploy module

Former-commit-id: 16b46efcab
This commit is contained in:
Andrija Novakovic
2021-10-21 00:14:20 +02:00
parent 3824857b04
commit bc4b0acefd
12 changed files with 100 additions and 215 deletions

View File

@@ -1,9 +1,13 @@
{
"name": "semaphore",
"version": "1.0.0",
"version": "2.0.0",
"description": "Solidity contracts, zk-SNARK circuits, and test scripts for the Semaphore zero-knowledge signalling gadget. This version uses the Poseidon hash and does not use EdDSA signatures.",
"scripts": {
"test": "ts-node test/verify.ts"
"test": "npx hardhat test",
"compile": "npx hardhat compile",
"develop": "npx hardhat node",
"deploy": "npx hardhat deploy --tags complete",
"deployPoseidon": "npx hardhat deploy --tags poseidon"
},
"repository": {
"type": "git",
@@ -20,6 +24,7 @@
"@libsem/identity": "^1.0.8",
"@libsem/protocols": "^1.0.9",
"circomlib": "^0.5.3",
"hardhat-deploy": "^0.9.4",
"web3": "^1.5.2"
},
"devDependencies": {