forked from 0xPolygonID/contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 4.81 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "contracts",
"devDependencies": {
"@0xpolygonid/js-sdk": "1.20.0",
"@iden3/js-jsonld-merklization": "1.4.1",
"@iden3/contracts": "2.4.5",
"@iden3/js-crypto": "^1.1.0",
"@iden3/js-iden3-core": "^1.4.1",
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
"@nomicfoundation/hardhat-verify": "^2.0.5",
"@openzeppelin/contracts": "^5.0.2",
"@openzeppelin/contracts-upgradeable": "^5.0.2",
"@openzeppelin/hardhat-upgrades": "^3.0.5",
"@typechain/ethers-v6": "^0.5.1",
"@types/chai": "^4.3.1",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"async": "^3.2.3",
"circomlibjs": "^0.1.7",
"dotenv": "^16.4.5",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"ethereumjs-util": "^7.1.4",
"hardhat": "^2.22.9",
"jsonfile": "^6.1.0",
"prettier": "^3.2.5",
"prettier-plugin-solidity": "^1.1.1",
"random-bytes": "^1.0.0",
"solhint": "4.1.1",
"solhint-plugin-prettier": "^0.1.0",
"solidity-bytes-utils": "^0.8.0",
"typescript": "^5.4.4",
"web3": "^4.7.0"
},
"scripts": {
"node": "npx hardhat node",
"compile": "npx hardhat compile",
"test": "npx hardhat test",
"test:gas": "REPORT_GAS=true npx hardhat test",
"deploy:erc20linkeduniversalverifier:localhost": "npx hardhat run scripts/deployERC20LinkedUniversalVerifier.ts --network localhost",
"deploy:mumbai:erc20": "npx hardhat run scripts/deployERC20.ts --network mumbai",
"deploy:mumbai:sig": "npx hardhat run scripts/deploySigV2Validator.ts --network mumbai",
"deploy:mumbai:mtp": "npx hardhat run scripts/deployMTPV2Validator.ts --network mumbai",
"deploy:mumbai:identityexample": "npx hardhat run scripts/deployIdentityExample.ts --network mumbai",
"deploy:amoy:identityexample": "npx hardhat run scripts/deployIdentityExample.ts --network amoy",
"deploy:main:identityexample": "npx hardhat run scripts/deployIdentityExample.ts --network main",
"deploy:mumbai:balancecredentialissuer": "npx hardhat run scripts/deployBalanceCredentialIssuer.ts --network mumbai",
"deploy:amoy:balancecredentialissuer": "npx hardhat run scripts/deployBalanceCredentialIssuer.ts --network amoy",
"deploy:main:balancecredentialissuer": "npx hardhat run scripts/deployBalanceCredentialIssuer.ts --network main",
"deploy:main:sig": "npx hardhat run scripts/deploySigV2Validator.ts --network main",
"deploy:main:mtp": "npx hardhat run scripts/deployMTPV2Validator.ts --network main",
"deploy:main:v3": "npx hardhat run scripts/deployV3Validator.ts --network main",
"deploy:main:erc20": "npx hardhat run scripts/deployERC20.ts --network main",
"deploy:mumbai:v3": "npx hardhat run scripts/deployV3Validator.ts --network mumbai",
"deploy:mumbai:erc20:v3": "npx hardhat run scripts/deployERC20SelectiveDisclosure.ts --network mumbai",
"setrequests:mumbai:v3": "npx hardhat run scripts/setRequests-v3validator.ts --network mumbai",
"setrequests:mumbai:v2": "npx hardhat run scripts/setRequests-v2validator.ts --network mumbai",
"upgrade:mumbai:sigv2": "npx hardhat run scripts/upgradeSigValidator.ts --network mumbai",
"upgrade:mumbai:mtpv2": "npx hardhat run scripts/upgradeMTPValidator.ts --network mumbai",
"upgrade:mumbai:v3": "npx hardhat run scripts/upgradeV3Validator.ts --network mumbai",
"upgrade:main:sigv2": "npx hardhat run scripts/upgradeSigValidator.ts --network main",
"upgrade:main:mtpv2": "npx hardhat run scripts/upgradeMTPValidator.ts --network main",
"deploy:amoy:sig": "npx hardhat run scripts/deploySigV2Validator.ts --network amoy",
"deploy:amoy:mtp": "npx hardhat run scripts/deployMTPV2Validator.ts --network amoy",
"deploy:amoy:v3": "npx hardhat run scripts/deployV3Validator.ts --network amoy",
"deploy:amoy:erc20": "npx hardhat run scripts/deployERC20.ts --network amoy",
"deploy:amoy:erc20:v3": "npx hardhat run scripts/deployERC20SelectiveDisclosure.ts --network amoy",
"setrequests:amoy:v3": "npx hardhat run scripts/setRequests-v3validator.ts --network amoy",
"setrequests:amoy:v2": "npx hardhat run scripts/setRequests-v2validator.ts --network amoy",
"upgrade:amoy:sigv2": "npx hardhat run scripts/upgradeSigValidator.ts --network amoy",
"upgrade:amoy:mtpv2": "npx hardhat run scripts/upgradeMTPValidator.ts --network amoy",
"upgrade:amoy:v3": "npx hardhat run scripts/upgradeV3Validator.ts --network amoy",
"deploy:vc-payment": "npx hardhat run scripts/deployVCPayment.ts --network linea",
"payment:set-payment-value": "npx hardhat run scripts/setPaymentValue.ts --network linea",
"format": "prettier --write scripts/*.ts test/**/*.ts",
"lint:contracts": "npx solhint contracts/**/*.sol",
"prettier:contracts": "prettier --write --plugin=prettier-plugin-solidity 'contracts/**/*.sol'"
}
}