diff --git a/build_circuits.sh b/build_circuits.sh new file mode 100644 index 0000000..b905286 --- /dev/null +++ b/build_circuits.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +echo 'test' diff --git a/package.json b/package.json new file mode 100644 index 0000000..c857049 --- /dev/null +++ b/package.json @@ -0,0 +1,25 @@ +{ + "name": "eth-attestor", + "version": "0.0.1", + "description": "Attestations to Ethereum data in circom", + "main": "index.js", + "scripts": { + "build": "./build_circuits.sh", + }, + "repository": "git@github.com:yi-sun/eth-attestor.git", + "author": "Yi Sun ", + "dependencies": { + "circomlib": "^2.0.2", + "snarkjs": "^0.4.10" + }, + "devDependencies": { + "@types/chai": "^4.3.0", + "@types/expect": "^24.3.0", + "@types/mocha": "^9.0.0", + "chai": "^4.3.4", + "circom_tester": "0.0.9", + "mocha": "^9.1.3", + "ts-node": "^10.4.0", + "typescript": "^4.5.4" + } +} diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..674bd7e --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,12 @@ +{ + "compilerOptions": { + "target": "ES2020", + "module": "commonjs", + "strict": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "skipLibCheck": true, + "forceConsistentCasingInFileNames": true + }, + "include": ["./scripts", "./test"] +}