mirror of
https://github.com/selfxyz/self.git
synced 2026-01-10 07:08:10 -05:00
96 lines
4.5 KiB
JSON
96 lines
4.5 KiB
JSON
{
|
|
"name": "@openpassport/contracts",
|
|
"version": "0.0.7",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/zk-passport/openpassport"
|
|
},
|
|
"author": "motemotech <i.am.nicoshark@gmail.com>",
|
|
"scripts": {
|
|
"test": "npx hardhat test",
|
|
"test:view": "npx hardhat test test/view.ts",
|
|
"test:local": "TEST_ENV=local npx hardhat test",
|
|
"test:unit:local": "TEST_ENV=local npx hardhat test test/unit/*",
|
|
"test:integration:local": "TEST_ENV=local npx hardhat test test/integration/*",
|
|
"test:example:local": "TEST_ENV=local npx hardhat test test/example/*",
|
|
"test:registry:local": "TEST_ENV=local npx hardhat test test/unit/IdentityRegistry.test.ts",
|
|
"test:hub:local": "TEST_ENV=local npx hardhat test test/unit/IdentityVerificationHub.test.ts",
|
|
"test:formatter:local": "TEST_ENV=local npx hardhat test test/unit/Formatter.test.ts",
|
|
"test:attribute:local": "TEST_ENV=local npx hardhat test test/unit/CircuitAttributeHandler.test.ts",
|
|
"test:register:local": "TEST_ENV=local npx hardhat test test/integration/commitmentRegistration.test.ts",
|
|
"test:disclose:local": "TEST_ENV=local npx hardhat test test/integration/vcAndDisclose.test.ts",
|
|
"test:endtoend:local": "TEST_ENV=local npx hardhat test test/Integration/endToEnd.test.ts",
|
|
"test:airdrop:local": "TEST_ENV=local npx hardhat test test/example/airdrop.test.ts",
|
|
"test:coverage": "npx hardhat coverage",
|
|
"test:coverage:local": "TEST_ENV=local npx hardhat coverage",
|
|
"deploy_all": "npx hardhat ignition deploy ignition/modules/Deploy_All.ts --network optimism --verify",
|
|
"deploy:verifiers:sepolia": "npx hardhat ignition deploy ignition/modules/deploy_verifiers.ts --network sepolia --verify",
|
|
"deploy:registry:sepolia": "npx hardhat ignition deploy ignition/modules/deploy_registry.ts --network sepolia --verify",
|
|
"deploy:hub:sepolia": "npx hardhat ignition deploy ignition/modules/deploy_hub.ts --network sepolia --verify",
|
|
"deploy:all:sepolia": "npm run deploy:verifiers:sepolia && npm run deploy:registry:sepolia && npm run deploy:hub:sepolia",
|
|
"update:cscaroot:sepolia": "npx hardhat ignition deploy ignition/modules/scripts/updateRegistryCscaRoot.ts --network sepolia",
|
|
"update:ofacroot:sepolia": "npx hardhat ignition deploy ignition/modules/scripts/updateRegistryOfacRoot.ts --network sepolia",
|
|
"update:hub:sepolia": "npx hardhat ignition deploy ignition/modules/scripts/updateRegistryHub.ts --network sepolia",
|
|
"compile": "npx hardhat clean && npx hardhat compile",
|
|
"publish": "npm publish --access public"
|
|
},
|
|
"files": [
|
|
"contracts/constants/*",
|
|
"contracts/interfaces/*",
|
|
"contracts/libraries/*",
|
|
"contracts/proxy/*",
|
|
"contracts/registry/*",
|
|
"contracts/verifiers/*",
|
|
"contracts/IdentityVerificationHub.sol",
|
|
"contracts/IdentityVerificationHubImplV1.sol"
|
|
],
|
|
"devDependencies": {
|
|
"@nomicfoundation/hardhat-chai-matchers": "^2.0.6",
|
|
"@nomicfoundation/hardhat-ethers": "^3.0.5",
|
|
"@nomicfoundation/hardhat-ignition": "^0.15.3",
|
|
"@nomicfoundation/hardhat-ignition-ethers": "^0.15.3",
|
|
"@nomicfoundation/hardhat-network-helpers": "^1.0.10",
|
|
"@nomicfoundation/hardhat-toolbox": "^3.0.0",
|
|
"@nomicfoundation/hardhat-verify": "^2.0.6",
|
|
"@nomicfoundation/ignition-core": "^0.15.3",
|
|
"@typechain/ethers-v6": "^0.4.3",
|
|
"@typechain/hardhat": "^8.0.3",
|
|
"@types/chai": "^4.3.16",
|
|
"@types/mocha": "^10.0.6",
|
|
"@types/snarkjs": "^0.7.7",
|
|
"chai": "^4.4.1",
|
|
"ethers": "^6.12.1",
|
|
"hardhat": "^2.22.6",
|
|
"hardhat-gas-reporter": "^1.0.10",
|
|
"mochawesome": "^7.1.3",
|
|
"solidity-coverage": "^0.8.14",
|
|
"ts-node": "^10.9.1",
|
|
"typechain": "^8.3.2",
|
|
"typescript": "^5.1.6"
|
|
},
|
|
"dependencies": {
|
|
"@ashpect/smt": "https://github.com/ashpect/smt#main",
|
|
"@eth-optimism/hardhat-ovm": "^0.2.4",
|
|
"@nomiclabs/hardhat-ethers": "^2.2.3",
|
|
"@openpassport/zk-kit-lean-imt": "^0.0.6",
|
|
"@openpassport/zk-kit-smt": "^0.0.1",
|
|
"@openzeppelin/contracts": "^5.0.2",
|
|
"@openzeppelin/contracts-upgradeable": "^5.1.0",
|
|
"@types/circomlibjs": "^0.1.6",
|
|
"@types/jest": "^29.5.12",
|
|
"@zk-kit/imt": "^2.0.0-beta.4",
|
|
"@zk-kit/imt.sol": "^2.0.0-beta.12",
|
|
"@zk-kit/lean-imt": "^2.0.1",
|
|
"axios": "^1.6.2",
|
|
"circomlibjs": "^0.1.7",
|
|
"dotenv": "^16.3.1",
|
|
"hardhat-contract-sizer": "^2.10.0",
|
|
"mocha": "^10.4.0",
|
|
"node-forge": "^1.3.1",
|
|
"poseidon-lite": "^0.3.0",
|
|
"poseidon-solidity": "^0.0.5",
|
|
"snarkjs": "^0.7.4"
|
|
}
|
|
}
|