.
Showing
contracts/XFTanon.sol
0 → 100644
download/Verifier.sol
0 → 100644
download/withdraw.json
0 → 100644
This diff is collapsed.
File added
This diff is collapsed.
package.json
0 → 100644
{ | |||
"name": "circuits", | |||
"version": "1.0.0", | |||
"description": "", | |||
"main": "index.js", | |||
"scripts": { | |||
"build:circuit:compile": "npx circom circuits/withdraw.circom -o build/circuits/withdraw.json && npx snarkjs info -c build/circuits/withdraw.json", | |||
"build:circuit:setup": "npx snarkjs setup --protocol groth -c build/circuits/withdraw.json --pk build/circuits/withdraw_proving_key.json --vk build/circuits/withdraw_verification_key.json", | |||
"build:circuit:bin": "node node_modules/websnark/tools/buildpkey.js -i build/circuits/withdraw_proving_key.json -o build/circuits/withdraw_proving_key.bin", | |||
"build:circuit:contract": "npx snarkjs generateverifier -v build/circuits/Verifier.sol --vk build/circuits/withdraw_verification_key.json", | |||
"build:circuit": "npm run build:circuit:compile && npm run build:circuit:setup && npm run build:circuit:bin && npm run build:circuit:contract", | |||
"build:contract": "npx truffle compile", | |||
"build": "npm run build:circuit && npm run build:contract", | |||
"test": "npx truffle test", | |||
"migrate": "npm run migrate:kovan", | |||
"migrate:dev": "npx truffle migrate --network development --reset", | |||
"multimigrate:dev": "node ./scripts/multi.js", | |||
"eslint": "eslint --ext .js --ignore-path .gitignore .", | |||
"prettier:check": "prettier --check . --config .prettierrc", | |||
"prettier:fix": "prettier --write . --config .prettierrc", | |||
"lint": "yarn eslint && yarn prettier:check", | |||
"flat": "npx truffle-flattener contracts/XFTanon.sol > XFTanon_flat.sol", | |||
"download": "bash scripts/download.sh", | |||
"coverage": "yarn truffle run coverage", | |||
"fork": "npx ganache-cli -m \"artwork story jeans lyrics expose update sword absurd rail game argue submit\" -p 8545 -h 0.0.0.0 -l 80000000 --fork <RPC URL HERE> --defaultBalanceEther 100000", | |||
"ganache": "npx ganache-cli -m \"artwork story jeans lyrics expose update sword absurd rail game argue submit\" -p 8545 -h 0.0.0.0" | |||
}, | |||
"keywords": [], | |||
"author": "", | |||
"license": "ISC", | |||
"dependencies": { | |||
"@chainlink/contracts": "^0.5.1", | |||
"@openzeppelin/contracts": "^3.4.1", | |||
"@truffle/contract": "^4.0.39", | |||
"@truffle/hdwallet-provider": "^1.0.24", | |||
"@uniswap/v3-core": "^1.0.1", | |||
"@uniswap/v3-periphery": "^1.4.3", | |||
"@uniswap/v3-staker": "^1.0.2", | |||
"axios": "^0.19.0", | |||
"babel-eslint": "^10.1.0", | |||
"bn-chai": "1.0.1", | |||
"browserify": "^16.5.0", | |||
"chai": "4.2.0", | |||
"chai-as-promised": "7.1.1", | |||
"circom": "^0.0.35", | |||
"circomlib": "git+https://github.com/tornadocash/circomlib.git#c372f14d324d57339c88451834bf2824e73bbdbc", | |||
"commander": "^4.1.1", | |||
"dotenv": "^8.2.0", | |||
"eslint": "^7.19.0", | |||
"eslint-config-prettier": "^7.2.0", | |||
"eslint-plugin-prettier": "^3.3.1", | |||
"esm": "^3.2.25", | |||
"eth-json-rpc-filters": "^4.1.1", | |||
"fixed-merkle-tree": "^0.6.0", | |||
"ganache-cli": "^6.7.0", | |||
"prettier": "^2.2.1", | |||
"prettier-plugin-solidity": "^1.0.0-beta.3", | |||
"snarkjs": "git+https://github.com/tornadocash/snarkjs.git#869181cfaf7526fe8972073d31655493a04326d5", | |||
"solhint-plugin-prettier": "^0.0.5", | |||
"solidity-coverage": "^0.7.20", | |||
"truffle": "^5.1.67", | |||
"truffle-flattener": "^1.4.2", | |||
"web3": "^1.3.4", | |||
"web3-utils": "^1.3.4", | |||
"websnark": "git+https://github.com/tornadocash/websnark.git#4c0af6a8b65aabea3c09f377f63c44e7a58afa6d" | |||
} | |||
} |
scripts/compileHasher.js
0 → 100644
scripts/download.sh
0 → 100644
scripts/ganacheHelper.js
0 → 100644
test/Oracle.test.js
0 → 100644
This diff is collapsed.
test/XFTanon.mainnet.test.js
0 → 100644
This diff is collapsed.
truffle-config.js
0 → 100644
Please register or sign in to comment