codex-storage-proofs/scripts/install-circom.sh

12 lines
235 B
Bash
Executable File

#!/bin/bash
circom_version=v2.1.4
if ! [ -x "$(command -v circom)" ]; then
git clone https://github.com/iden3/circom.git
cd circom
git checkout $circom_version
cargo build --release
cargo install --path circom
fi