{ "name": "fhevm", "description": "A Solidity library for interacting with the Zama Blockchain", "version": "0.4.0", "main": "lib/TFHE.sol", "directories": { "example": "examples", "lib": "lib" }, "scripts": { "clean": "rimraf ./artifacts ./cache ./coverage ./types ./coverage.json && npm run typechain", "compile": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile", "deploy:contracts": "hardhat deploy", "lint": "npm run lint:sol && npm run lint:ts && npm run prettier:check", "lint:ts": "eslint --ignore-path ./.eslintignore --ext .js,.ts .", "prettier:check": "prettier --check \"**/*.{js,json,md,sol,ts,yml}\"", "prettier": "prettier --write \"**/*.{js,json,md,sol,ts,yml}\"", "test:inband": "hardhat test", "test": "HARDHAT_PARALLEL=1 hardhat test --parallel", "test:mock": "HARDHAT_NETWORK=hardhat hardhat test --network hardhat", "coverage:mock": "HARDHAT_NETWORK=hardhat hardhat coverage-mock --network hardhat", "typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain", "codegen": "npx ts-node codegen/main.ts && npm run prettier", "codegen:overloads": "npx ts-node codegen/generateOverloads.ts", "task:getEthereumAddress": "hardhat task:getEthereumAddress", "task:deployIdentity": "hardhat task:deployIdentity", "task:deployOracle": "hardhat task:deployOracle", "task:addRelayer": "hardhat task:addRelayer", "task:removeRelayer": "hardhat task:removeRelayer", "fhevm:start": " ./launch-fhevm.sh", "fhevm:stop": "docker rm -f fhevm", "fhevm:restart": "fhevm:stop && fhevm:start", "fhevm:faucet": "npm run fhevm:faucet:alice && sleep 5 && npm run fhevm:faucet:bob && sleep 5 && npm run fhevm:faucet:carol && sleep 5 && npm run fhevm:faucet:dave && sleep 5 && npm run fhevm:faucet:eve", "fhevm:faucet:alice": "docker exec -i fhevm faucet $(npx hardhat task:getEthereumAddressAlice)", "fhevm:faucet:bob": "docker exec -i fhevm faucet $(npx hardhat task:getEthereumAddressBob)", "fhevm:faucet:carol": "docker exec -i fhevm faucet $(npx hardhat task:getEthereumAddressCarol)", "fhevm:faucet:dave": "docker exec -i fhevm faucet $(npx hardhat task:getEthereumAddressDave)", "fhevm:faucet:eve": "docker exec -i fhevm faucet $(npx hardhat task:getEthereumAddressEve)" }, "repository": { "type": "git", "url": "git+https://github.com/zama-ai/fhevm.git" }, "author": "", "license": "BSD-3-Clause-Clear", "bugs": { "url": "https://github.com/zama-ai/fhevm/issues" }, "homepage": "https://github.com/zama-ai/fhevm#readme", "devDependencies": { "@commitlint/config-conventional": "^18.6.1", "@nomicfoundation/hardhat-chai-matchers": "^2.0.0", "@nomicfoundation/hardhat-ethers": "^3.0.4", "@nomicfoundation/hardhat-network-helpers": "^1.0.6", "@nomicfoundation/hardhat-toolbox": "^3.0.0", "@nomicfoundation/hardhat-verify": "^1.0.0", "@trivago/prettier-plugin-sort-imports": "^4.0.0", "@typechain/ethers-v6": "^0.4.0", "@typechain/hardhat": "^8.0.0", "@types/chai": "^4.3.4", "@types/fs-extra": "^9.0.13", "@types/mocha": "^10.0.0", "@types/node": "^18.11.9", "@typescript-eslint/eslint-plugin": "^5.44.0", "@typescript-eslint/parser": "^5.44.0", "bigint-buffer": "^1.1.5", "chai": "^4.3.7", "chalk": "^4.1.2", "conventional-changelog-atom": "^4.0.0", "cross-env": "^7.0.3", "dotenv": "^16.0.3", "eslint": "^8.28.0", "eslint-config-prettier": "^8.5.0", "ethers": "^6.8.0", "fhevmjs": "^0.4.0", "fs-extra": "^10.1.0", "ganache": "^7.9.0", "hardhat": "^2.19.4", "hardhat-deploy": "^0.11.29", "hardhat-gas-reporter": "^1.0.2", "lodash": "^4.17.21", "mocha": "^10.1.0", "prettier": "^3.0.0", "prettier-plugin-solidity": "^1.1.3", "rimraf": "^4.1.2", "solidity-coverage": "0.8.6", "ts-generator": "^0.1.1", "ts-node": "^10.9.2", "typechain": "^8.2.0", "typescript": "^5.1.6" }, "dependencies": { "@openzeppelin/contracts": "^5.0.1", "hardhat-preprocessor": "^0.1.5" } }