download here : https://github.com/iden3/snarkjs
circom multiplier2.circom --r1cs --wasm --sym
snarkjs info -r multiplier2.r1cs
snarkjs r1cs print -r multiplier2.r1cs -s multiplier2.sym
snarkjs r1cs export json multiplier2.r1cs multiplier2.r1cs.json
head multiplier2.r1cs.json
vim input.json
cd multiplier2_js
node generate_witness.js multiplier2.wasm ../input.json ../witness.wtns
ls
ls ..
snarkjs plonk setup multiplier2.r1cs ../../snark/pot12_final.ptau multiplier2_final.zkey
snarkjs zkey export verificationkey multiplier2_final.zkey verification_key.json
snarkjs plonk prove multiplier2_final.zkey witness.wtns proof.json public.json
head proof.json
head public.json
snarkjs plonk verify verification_key.json public.json proof.json