UNPKG

@ieigen/zkzru

Version:

An implementation of [ZK-ZKRollup](https://github.com/ieigen/ZKZRU) in which the relayer **does not** publish transaction data to the main chain, but only publishes the new Merkle root at every update. This provides gas savings but not data availability g

59 lines (58 loc) 1.86 kB
{ "name": "@ieigen/zkzru", "version": "0.0.17", "description": "An implementation of [ZK-ZKRollup](https://github.com/ieigen/ZKZRU) in which the relayer **does not** publish transaction data to the main chain, but only publishes the new Merkle root at every update. This provides gas savings but not data availability guarantees: we assume the operator will always provide data to users so they can update their leaf.", "keywords": [ "zkp", "privacy", "anonymity", "blockchain" ], "scripts": { "lint_js": "./node_modules/.bin/eslint src --ext .js", "lint_sol": "./node_modules/.bin/solhint 'contracts/**/*.sol'", "lint": "yarn lint_js & yarn lint_sol", "clean": "rm -rf build dist typechain cache artifacts", "compile": "hardhat compile", "build": "yarn clean && yarn", "test": "yarn build && yarn compile && npx hardhat test" }, "author": "EigenLabs", "license": "Apache-2.0", "files": [ "src/*.js", "scripts/*.js", "circuits/*.circom", "circuits/*/*.circom", "operator/*.js", "client/*.js", "index.js", "circuits/setup_2^15.key" ], "main": "index.js", "dependencies": { "@ieigen/anonmisc": "^0.0.8", "@ieigen/zkzru": "^0.0.16", "@ieigen/plonkjs-node": "^0.0.2", "circomlib": "^2.0.5", "circomlibjs": "^0.1.1", "consola": "^2.15.3", "ffjavascript": "^0.2.55", "solhint": "^3.3.7" }, "devDependencies": { "@nomiclabs/hardhat-ethers": "^2.0.6", "@nomiclabs/hardhat-waffle": "^2.0.1", "@types/jest": "^28.1.3", "@typescript-eslint/eslint-plugin": "^5.29.0", "chai": "^4.2.0", "dotenv": "^16.0.1", "eslint": "^8.17.0", "eslint-config-google": "^0.14.0", "ethereum-waffle": "^3.0.0", "ethers": "^5.6.8", "hardhat": "^2.9.9", "mocha": "^10.0.0", "typechain": "^8.1.0" } }