mirror of
https://github.com/selfxyz/self.git
synced 2026-01-15 01:28:18 -05: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>
15 lines
446 B
TypeScript
15 lines
446 B
TypeScript
import { buildModule } from "@nomicfoundation/hardhat-ignition/modules";
|
|
|
|
/**
|
|
* This module deploys the ID Card Verifier contract specifically for register_id
|
|
* with SHA256+SHA256+SHA256+RSA verifier
|
|
*/
|
|
export default buildModule("DeployIdCardVerifier", (m) => {
|
|
// Deploy the ID Card Verifier contract
|
|
const idCardVerifier = m.contract("Verifier_register_id_sha256_sha256_sha256_rsa_65537_4096");
|
|
|
|
return {
|
|
idCardVerifier,
|
|
};
|
|
});
|