Eric Mastro 98c2555036
chore: clean up
- Move bulk of verification to curves/Bn254Proofs.sol
- remove all unneeded structs and add Proof struct
- bring in point `isOnCurve` check so that we can use solidity compiler 0.8.x
- remove all other Bn254 library deps
- changed proof type from bool to Proof
- add Bn254 test file (uncalled yet)

TODO:
- update Proofs test such that verifyProof test is called (need to generate proof using https://github.com/status-im/nim-codex/pull/76)
- call Bn254 tests from test harness
2022-06-08 15:06:53 +10:00

25 lines
725 B
JSON

{
"name": "dagger-contracts",
"license": "MIT",
"scripts": {
"test": "npm run lint && hardhat test",
"start": "hardhat node --export deployment-localhost.json",
"format": "prettier --write contracts/**/*.sol test/**/*.js",
"lint": "solhint contracts/**.sol"
},
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.5",
"@nomiclabs/hardhat-waffle": "^2.0.3",
"@openzeppelin/contracts": "^4.5.0",
"chai": "^4.3.6",
"ethereum-waffle": "^3.4.0",
"ethers": "^5.6.0",
"hardhat": "^2.9.1",
"hardhat-deploy": "^0.9.29",
"hardhat-deploy-ethers": "^0.3.0-beta.13",
"prettier": "^2.5.1",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"solhint": "^3.3.7"
}
}