UNPKG

@rarimo/passport-contracts

Version:
94 lines (93 loc) 3.54 kB
{ "name": "@rarimo/passport-contracts", "version": "0.4.3", "license": "MIT", "author": "Zero Block Global Foundation", "readme": "README.md", "description": "Decentralized Identity Issuance", "repository": { "type": "git", "url": "https://github.com/rarimo/passport-contracts" }, "keywords": [ "solidity", "ethereum", "smart-contracts", "zero-knowledge", "passports" ], "files": [ "**/*.sol", "!mock/**/*" ], "scripts": { "prepare": "husky", "compile": "npx hardhat compile --force", "coverage": "npx hardhat coverage --solcoverjs ./.solcover.ts", "clean": "npx hardhat clean", "prepare-circuits": "npx hardhat zkit make && ./scripts/replace-circuits-files.sh", "test": "npm run prepare-circuits && npx hardhat test", "test-all": "npx hardhat migrate && npm run test", "private-network": "npx hardhat node", "private-network-fork": "npx hardhat node --fork https://mainnet.infura.io/v3/$(grep INFURA_KEY .env | cut -d '\"' -f2)", "deploy-rarimo-l2": "npx hardhat migrate --network rarimo-l2 --verify", "deploy-rarimo-l2-testnet": "npx hardhat migrate --network rarimo-l2-testnet --verify", "deploy-rarimo-dev": "npx hardhat migrate --network rarimo-dev --verify", "deploy-rarimo-beta": "npx hardhat migrate --network rarimo-beta --verify", "generate-types": "TYPECHAIN_FORCE=true npx hardhat typechain && npx hardhat gobind", "generate-docs": "npx hardhat markup", "solhint-check": "solhint --noPoster \"./contracts/**/*.sol\"", "lint-fix": "npm run lint-sol-fix && npm run lint-ts-fix && npm run lint-json-fix && npm run solhint-check", "lint-json-fix": "prettier --write \"./**/*.json\"", "lint-ts-fix": "prettier --write \"./**/*.ts\" --ignore-path .prettierignore", "lint-sol-fix": "prettier --write \"contracts/**/*.sol\"", "publish-to-npm": "npm run lint-fix && bash ./scripts/publish.sh --public" }, "dependencies": { "@openzeppelin/contracts": "5.2.0", "@openzeppelin/contracts-upgradeable": "5.2.0", "@rarimo/evidence-registry": "0.1.1", "@solarity/solidity-lib": "3.1.0", "poseidon-solidity": "0.0.5" }, "devDependencies": { "@iden3/js-crypto": "^1.0.3", "@metamask/eth-sig-util": "^7.0.1", "@nomicfoundation/hardhat-chai-matchers": "^2.0.6", "@nomicfoundation/hardhat-ethers": "^3.0.5", "@nomicfoundation/hardhat-network-helpers": "^1.0.10", "@nomicfoundation/hardhat-verify": "^2.0.14", "@solarity/hardhat-gobind": "^1.2.2", "@solarity/hardhat-markup": "^1.0.10", "@solarity/hardhat-migrate": "^3.0.4", "@solarity/hardhat-smart-compare": "^0.1.6", "@solarity/hardhat-zkit": "^0.5.15", "@typechain/ethers-v6": "^0.5.1", "@typechain/hardhat": "^9.1.0", "@types/chai": "^4.3.14", "@types/fs-extra": "^11.0.4", "@types/mocha": "^10.0.6", "@types/node": "^18.16.0", "bignumber.js": "^9.1.2", "chai": "^4.4.1", "circomlibjs": "^0.1.7", "dotenv": "16.4.5", "ethers": "^6.11.1", "fs-extra": "^11.2.0", "hardhat": "2.24.1", "hardhat-contract-sizer": "^2.10.0", "hardhat-gas-reporter": "^2.0.2", "husky": "^9.0.11", "merkletreejs": "^0.3.11", "mocha": "^10.3.0", "prettier": "^3.2.5", "prettier-plugin-solidity": "^1.3.1", "solhint": "^5.2.0", "solhint-plugin-prettier": "^0.1.0", "solidity-coverage": "^0.8.11", "ts-node": "^10.9.2", "tsconfig-paths": "^4.2.0", "typechain": "8.3.2", "typescript": "^5.4.3" } }