mirror of
https://github.com/erhant/circomkit.git
synced 2026-05-05 03:00:37 -04:00
small fix
This commit is contained in:
2
.cli.env
2
.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"
|
||||
|
||||
6
circuits/main/multiplier_3.circom
Normal file
6
circuits/main/multiplier_3.circom
Normal file
@@ -0,0 +1,6 @@
|
||||
// auto-generated by instantiate.js
|
||||
pragma circom 2.0.0;
|
||||
|
||||
include "../multiplier.circom";
|
||||
|
||||
component main = Multiplier(3);
|
||||
@@ -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
0
scripts/functions/calldata.sh
Normal file → Executable 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user