mirror of
https://github.com/selfxyz/self.git
synced 2026-04-27 03:01:15 -04:00
* add eu id support * add ofac and disclosure euid support * add contract support for euid cards * update contracts * add comment out to remember the interface what we need to implement * prettier * get combine verifyVcAndDisclose function and get bytes data * unified library and clean constant V2 * fix verifyVcAndDisclose interface * add prettier and run prettier except .sol files * prettier * circuit compilation for local environment * add register id circuit in the contracts dir * clean up ignition deploy scritps * refactor deploy scripts * prettier * update serialized dsc tree * fix ofac check * fix passport attestation id --------- Co-authored-by: turnoffthiscomputer <colin.remi07@gmail.com>
25 lines
661 B
Bash
Executable File
25 lines
661 B
Bash
Executable File
#!/bin/bash
|
|
|
|
source "scripts/build/common.sh"
|
|
|
|
# Set environment (change this value as needed)
|
|
# ENV="prod"
|
|
ENV="staging"
|
|
|
|
echo -e "${GREEN}Building disclose circuits for $ENV environment${NC}"
|
|
|
|
# Circuit-specific configurations
|
|
CIRCUIT_TYPE="disclose"
|
|
OUTPUT_DIR="build/${CIRCUIT_TYPE}"
|
|
|
|
# Define circuits and their configurations
|
|
# format: name:poweroftau:build_flag
|
|
CIRCUITS=(
|
|
"vc_and_disclose:20:true"
|
|
)
|
|
|
|
build_circuits "$CIRCUIT_TYPE" "$OUTPUT_DIR" "${CIRCUITS[@]}"
|
|
|
|
echo -e "${GREEN}Disclose circuits build completed for $ENV environment!${NC}"
|
|
echo -e "${YELLOW}Generated files are located in: contracts/verifiers/local/${ENV}/${CIRCUIT_TYPE}/${NC}"
|