mirror of
https://github.com/luxfhe/example-confidential-voting.git
synced 2026-10-30 18:13:35 +00:00
- Update to unified FHE decryption API - Add foundry.toml for testing - Update dependencies to @luxfi/contracts
98 lines
3.4 KiB
JSON
98 lines
3.4 KiB
JSON
{
|
|
"name": "@luxfheProtocol/confidential-voting",
|
|
"description": "",
|
|
"version": "1.0.0",
|
|
"author": {
|
|
"name": "luxfheProtocol",
|
|
"url": "https://github.com/luxfheProtocol"
|
|
},
|
|
"devDependencies": {
|
|
"@luxfi/contracts": "^1.4.0",
|
|
"@nomicfoundation/hardhat-chai-matchers": "^2.0.0",
|
|
"@nomicfoundation/hardhat-ethers": "^3.0.0",
|
|
"@nomicfoundation/hardhat-network-helpers": "^1.0.6",
|
|
"@nomicfoundation/hardhat-toolbox": "^3.0.0",
|
|
"@nomicfoundation/hardhat-verify": "^1.0.0",
|
|
"@openzeppelin/contracts": "^4.9.2",
|
|
"@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",
|
|
"axios": "^1.4.0",
|
|
"chai": "^4.3.7",
|
|
"cross-env": "^7.0.3",
|
|
"dotenv": "^16.0.3",
|
|
"eslint": "^8.28.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"ethers": "^6.4.0",
|
|
"@luxfhe/sdk": "^0.5.0",
|
|
"fs-extra": "^10.1.0",
|
|
"hardhat": "^2.12.2",
|
|
"hardhat-deploy": "^0.11.29",
|
|
"hardhat-gas-reporter": "^1.0.9",
|
|
"lodash": "^4.17.21",
|
|
"mocha": "^10.1.0",
|
|
"prettier": "^2.8.4",
|
|
"prettier-plugin-solidity": "^1.1.2",
|
|
"rimraf": "^4.1.2",
|
|
"solhint": "^3.4.0",
|
|
"solhint-plugin-prettier": "^0.0.5",
|
|
"solidity-coverage": "^0.8.2",
|
|
"ts-generator": "^0.1.1",
|
|
"ts-node": "^10.9.1",
|
|
"typechain": "^8.2.0",
|
|
"typescript": "^4.9.3"
|
|
},
|
|
"files": [
|
|
"contracts"
|
|
],
|
|
"keywords": [
|
|
"blockchain",
|
|
"ethers",
|
|
"ethereum",
|
|
"hardhat",
|
|
"smart-contracts",
|
|
"solidity",
|
|
"template",
|
|
"typescript",
|
|
"typechain"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"clean": "rimraf ./artifacts ./cache ./coverage ./types ./coverage.json ./deployments/localluxfhe && pnpm typechain",
|
|
"compile": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile",
|
|
"deploy:contracts": "hardhat deploy",
|
|
"lint": "pnpm lint:sol && pnpm lint:ts && pnpm prettier:check",
|
|
"lint:sol": "solhint --max-warnings 0 \"contracts/**/*.sol\"",
|
|
"lint:ts": "eslint --ignore-path ./.eslintignore --ext .js,.ts .",
|
|
"postinstall": "DOTENV_CONFIG_PATH=./.env.example pnpm typechain",
|
|
"prettier:check": "prettier --check \"**/*.{js,json,sol,ts,yml}\"",
|
|
"prettier:write": "prettier --write \"**/*.{js,json,md,sol,ts,yml}\"",
|
|
"hardhat": "hardhat",
|
|
"task:wrap": "hardhat task:wrap",
|
|
"task:addCount": "hardhat task:addCount",
|
|
"task:vote": "hardhat task:vote",
|
|
"task:fundAccounts": "hardhat task:fundAccounts",
|
|
"task:getCount": "hardhat task:getCount",
|
|
"task:fin": "hardhat task:fin",
|
|
"task:getWin": "hardhat task:getWin",
|
|
"task:getVote": "hardhat task:getVote",
|
|
"test": "hardhat test --network localluxfhe",
|
|
"ci-test": "hardhat test --network ci_localluxfhe",
|
|
"typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain",
|
|
"start:localluxfhe": "docker run -it -p 8545:8545 -p 6000:6000 -p 5000:5000 --rm --name localluxfhe ghcr.io/luxfhe/luxfhe-devnet:0.1.6",
|
|
"stop:localluxfhe": "docker stop localluxfhe && docker rm localluxfhe",
|
|
"restart:localluxfhe": "stop:localluxfhe && start:localluxfhe",
|
|
"faucet": "node getFromFaucet.js"
|
|
},
|
|
"dependencies": {
|
|
"ganache-cli": "^6.12.2"
|
|
}
|
|
} |