small fix

This commit is contained in:
erhant
2023-04-21 18:02:30 +03:00
parent 9abf3d4dbb
commit 6cf5952952
5 changed files with 10 additions and 4 deletions

View File

@@ -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"

View File

@@ -0,0 +1,6 @@
// auto-generated by instantiate.js
pragma circom 2.0.0;
include "../multiplier.circom";
component main = Multiplier(3);

View File

@@ -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",

0
scripts/functions/calldata.sh Normal file → Executable file
View File

View File

@@ -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