mirror of
https://github.com/zama-ai/fhevm-solidity.git
synced 2026-01-10 13:07:56 -05:00
91 lines
3.9 KiB
JSON
91 lines
3.9 KiB
JSON
{
|
|
"name": "fhevm",
|
|
"description": "A Solidity library for interacting with the Zama Blockchain",
|
|
"version": "0.2.2",
|
|
"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",
|
|
"coverage": "hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"test/**/*.ts\" && pnpm typechain",
|
|
"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 npx hardhat test --network hardhat",
|
|
"coverage:mock": "HARDHAT_NETWORK=hardhat npx 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",
|
|
"task:getEthereumAddress": "hardhat task:getEthereumAddress",
|
|
"task:deployIdentity": "hardhat task:deployIdentity",
|
|
"fhevm:start": "docker run -i -p 8545:8545 --rm --name fhevm ghcr.io/zama-ai/ethermint-dev-node:v0.2.0",
|
|
"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": {
|
|
"@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",
|
|
"chai": "^4.3.7",
|
|
"chalk": "^4.1.2",
|
|
"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.2.0",
|
|
"fs-extra": "^10.1.0",
|
|
"ganache": "^7.9.0",
|
|
"hardhat": "^2.12.2",
|
|
"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.1",
|
|
"ts-generator": "^0.1.1",
|
|
"ts-node": "^10.9.1",
|
|
"typechain": "^8.2.0",
|
|
"typescript": "^5.1.6"
|
|
},
|
|
"dependencies": {
|
|
"@openzeppelin/contracts": "^4.9.2",
|
|
"hardhat-preprocessor": "^0.1.5"
|
|
}
|
|
}
|