diff --git a/.cli.env b/.cli.env index 5595c4e..dc5a4c1 100644 --- a/.cli.env +++ b/.cli.env @@ -2,7 +2,7 @@ CIRCOMKIT_COMPILER_ARGS="-l ./node_modules --r1cs --wasm --sym" # proof system to be used, can be: groth16 | plonk | fflonk -CIRCOMKIT_PROOF_SYSTEM="plonk" +CIRCOMKIT_PROOF_SYSTEM="groth16" # solidity contract export path CIRCOMKIT_SOLIDITY_PATH="./contracts" diff --git a/circuits/main/multiplier_3.circom b/circuits/main/multiplier_3.circom new file mode 100644 index 0000000..a8559aa --- /dev/null +++ b/circuits/main/multiplier_3.circom @@ -0,0 +1,6 @@ +// auto-generated by instantiate.js +pragma circom 2.0.0; + +include "../multiplier.circom"; + +component main = Multiplier(3); diff --git a/package.json b/package.json index 4526c6a..faebda6 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "circomkit", "version": "0.0.1", "description": "A Circom development environment", + "author": "erhant", "license": "MIT", "engines": { "node": ">=10.4.0" @@ -24,7 +25,6 @@ "format": "npx prettier --check ./**/*.ts", "lint": "npx gts lint" }, - "author": "erhant", "devDependencies": { "@types/chai": "^4.3.4", "@types/ejs": "^3.1.2", diff --git a/scripts/functions/calldata.sh b/scripts/functions/calldata.sh old mode 100644 new mode 100755 diff --git a/scripts/functions/setup.sh b/scripts/functions/setup.sh index ceb2a1d..ebfde16 100755 --- a/scripts/functions/setup.sh +++ b/scripts/functions/setup.sh @@ -1,4 +1,4 @@ -## Commence a circuit-specific phase-2 powers-of-tau ceremony +## Commence a circuit-specific setup setup() { echo -e "\n${CIRCOMKIT_COLOR_TITLE}=== Circuit Setup ($CIRCOMKIT_PROOF_SYSTEM) ===${CIRCOMKIT_COLOR_RESET}" local CIRCUIT=$1 # circuit name @@ -10,7 +10,7 @@ setup() { # check if P1_PTAU exists if [ ! -f "$P1_PTAU" ]; then - echo -e "${CIRCOMKIT_COLOR_ERR}${P1_PTAU} does not exist.${CIRCOMKIT_COLOR_RESET}" + echo -e "PTAU file ${CIRCOMKIT_COLOR_ERR}${P1_PTAU} does not exist.${CIRCOMKIT_COLOR_RESET}" exit 1 fi