Commit Graph

62 Commits

Author SHA1 Message Date
Justin Hernandez
9efe13386b add bulk sort command (#723) 2025-07-01 18:32:56 -07:00
turnoffthiscomputer
239b6ed10a Contract/fix sdk (#695)
* fix contracts sdk

* fix contracts sdk
2025-06-28 11:02:26 +02:00
turnoffthiscomputer
816e765491 Contracts/update verifier (#673)
* update hardhat config

* update vc and disclose verifier

* update vc and disclose verifier script and run it

* update test self verification root
2025-06-24 14:35:33 +02:00
turnoffthiscomputer
dd02d04a09 Contracts/deploy staging (#668)
* update scripts

* deploy vc and disclose id

* fix the deployment scripts on staging

* update yarn.lock
2025-06-24 00:29:12 +02:00
nicoshark
d79563c104 publish npm-package (#651) 2025-06-23 10:21:49 +02:00
nicoshark
7cab29dd91 implement self uups upgradeable (#592)
* implement self uups upgradeable

* small changes in identityVerificationHubImplV2

* delete aderyn.toml

* chore: add custom verifier

* chnage return output

* feat: use self structs and a Generic output struct

* feat: add userIdentifier, nullifier, forbiddencountries to returned output

* add root view functions from registry

* fix: build and compilation errors

* add userDefined data into selfVerificationRoot

* "resolve conflicts"

* fix compilation problem

* fix how to register verification config

* test: CustomVerifier

* fix verification root and hub integration

* add scope check in hub impl

* replace poseidon hash to ripemd+sha256

* add todo list

* feat: refactor and add test cases for generic formatter

* add performUserIdentifierCheck in basicVerification

* change how to handle additionalData and fix stack too deep

* start adding test codes

* fix dependency problems in monorepo

* fix: forbidden countries (#612)

LGTM!

* able to run test code

* pass happy path

* delete unused codes

* change error code name, add caller address validation and add scripts to run test and build in monorepo

* add all test cases in vcAndDisclose flow

* remove comment out

* chore: use actual user identifier outputs

* success in registration tests

* cover all cases

* pass contractVersion instead of circuitVersion

* fix disclose test

* chore: add natspecs for ImplHubV2, CustomVerifier and GenericFormatter

* change val name and remove unused lines

* add val name change

* remove userIdentifier from return data

* feat: use GenericDiscloseOutput struct in verfication hook  fix test cases for user identifier

* chore: change the function order for Hub Impl V2 (#625)

* fix nat specs

* add nat spec in SelfStructs

---------

Co-authored-by: Ayman <aymanshaik1015@gmail.com>
Co-authored-by: Nesopie <87437291+Nesopie@users.noreply.github.com>
2025-06-16 14:44:44 +02:00
Justin Hernandez
6d27b365c7 Bump build to test PACE polling (ios 127; android 66) (#591)
* bump builds

* update env.sample with new env vars, and add _NFC to mixpanel nfc var

* remove NDEF so we can keep target sdk version at 15

* add sort package json command

* sort all project package.json files

* enable hermes

* disable hermes

* revert disabling

* remove hermes
2025-06-06 07:29:26 -07:00
Aaron DeRuvo
0e9c59c0fb SEL-56: Setup Yarn Workspaces (#584) 2025-06-04 11:37:32 +02:00
nicoshark
668732a57b Chore/refactor contracts (#582)
* 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>
2025-06-03 14:58:41 +09:00
Kevin Lin
5a3bd28e7b Feature/add prettier formatter (#568)
* Add Prettier configuration and ignore files for code formatting

- Created .prettierignore to exclude specific directories and files from formatting.
- Added .prettierrc.yml with custom settings for print width and trailing commas.
- Updated package.json to include Prettier and its Solidity plugin as dependencies, along with scripts for formatting and checking code.

* Run prettier formatting
2025-05-23 15:52:59 +09:00
nicoshark
b2a5ef0346 forgot to include package update (#521) 2025-04-18 00:17:58 +09:00
turnoffthiscomputer
5904234d2e Feat/simpler contract sdk (#519)
* make contract sdk simpler

* reduce root inputs

* delete convert function

* summarize our library

* update npm package

* update package version

* update attestation id

* add util function to get revealed data

---------

Co-authored-by: motemotech <i.am.nicoshark@gmail.com>
2025-04-17 16:06:49 +02:00
nicoshark
624d0e568d Feat/forbidden countries utils (#504)
* add forbidden countries util function

* remove casting
2025-04-04 18:58:30 +05:30
nicoshark
d266cf2ced Feat/add new verifiers (#488)
* update verifiers

* update and deploy new verifiers
2025-03-30 19:22:15 +02:00
turnoffthiscomputer
9203f08bc9 Merge pull request #427 from selfxyz/feat/deployed-informations
Feat/deployed informations
2025-03-12 04:36:02 -04:00
motemotech
5c03638c43 add deployed informations 2025-03-12 12:01:20 +09:00
motemotech
c253877d91 Merge branch 'main' into feat/download-n-update-verifiers 2025-03-12 11:39:41 +09:00
nicoshark
f63ee37118 Perf/contract test (#224) 2025-03-04 16:03:03 -08:00
motemotech
03019eee49 download and update verifiers 2025-02-24 15:10:32 -08:00
nicoshark
80a88f2a38 add contract upgrade scripts (#205) 2025-02-23 00:16:37 +01:00
turnoffthiscomputer
c220d58d9d Update verifiers (#184) 2025-02-21 00:09:00 +01:00
nicoshark
e09a5e8349 Update/sdk addresses (#188) 2025-02-21 00:08:34 +01:00
nicoshark
074b1cc947 Chore/get custom error (#173) 2025-02-20 02:51:58 +01:00
turnoffthiscomputer
3f889c1c9a add PCR0 contract management (#134)
Co-authored-by: 0xturboblitz <florent.tavernier@gmail.com>
2025-02-18 23:07:12 +01:00
turboblitz
7f9889307b new verifiers for deployment on celo (#129) 2025-02-17 04:21:12 +01:00
turboblitz
fd74ffa156 New backend verification sdk (#131)
Co-authored-by: motemotech <i.am.nicoshark@gmail.com>
2025-02-16 18:33:54 -08:00
turboblitz
6d4c211c51 New OFAC updates (#47)
Co-authored-by: nicoshark <i.am.nicoshark@gmail.com>
2025-02-12 22:21:01 +01:00
nicoshark
762708d326 Fix/contract improvements (#75) 2025-02-12 15:57:55 +01:00
turnoffthiscomputer
8eb64171d2 Feat/backend api (#78)
Co-authored-by: motemotech <i.am.nicoshark@gmail.com>
2025-02-12 13:09:50 +01:00
Justin Hernandez
73421f6a9a Improve UX and DX (#66)
Co-authored-by: Nicolas Brugneaux <nicolas.brugneaux@gmail.com>
2025-02-11 10:08:07 +01:00
nicoshark
03b5428d92 Update/contract sdk (#61) 2025-02-11 00:17:13 +09:00
nicoshark
8c786e5e1a add contract deployment scripts (#28) 2025-02-06 11:49:47 +01:00
turboblitz
629dfdad1a Bringing openpassport/main (#19)
Co-authored-by: seshanthS <seshanth@protonmail.com>
Co-authored-by: turnoffthiscomputer <colin.remi07@gmail.com>
Co-authored-by: thomas-senechal <thomas.senechal@pm.me>
Co-authored-by: motemotech <i.am.nicoshark@gmail.com>
Co-authored-by: turnoffthiscomputer <98749896+remicolin@users.noreply.github.com>
Co-authored-by: ayman <aymanshaik1015@gmail.com>
2025-02-05 11:13:52 +01:00
motemotech
03b312a8b4 update contracts test code 2024-12-16 15:36:10 +09:00
motemotech
901cc4e008 update extractUserIdentifier function 2024-10-21 17:45:17 +09:00
motemotech
7646dc67a1 update solidity version and move extract functions to handler lib 2024-10-21 17:27:40 +09:00
motemotech
fdcc7acc20 add open passport attestation struct 2024-10-21 16:32:24 +09:00
motemotech
f9d9c5b1b2 add verifier id constants 2024-10-21 15:42:05 +09:00
motemotech
dcf54e16a4 write deploy codes 2024-10-17 16:13:45 +09:00
motemotech
101464b27c fix package.json for npm 2024-10-17 14:28:15 +09:00
motemotech
758be53faa update verifier and openpassport verifier 2024-10-17 12:58:05 +09:00
motemotech
2822070005 add integration test for mint function 2024-10-10 18:03:25 +09:00
motemotech
8c46ade8ba remove commentout from dsc proof generation 2024-10-10 02:24:48 +09:00
motemotech
649cba8495 update snarkjs version 2024-10-10 02:07:51 +09:00
motemotech
946d4c591c preparation for OneTimeVerification.ts 2024-10-09 17:16:22 +09:00
motemotech
34eb3f546b add test for transfer and coverage check tool 2024-10-08 22:13:12 +09:00
turnoffthiscomputer
fa381707e6 update contracts 2024-07-26 08:23:13 +02:00
turnoffthiscomputer
a2da30b9a6 update hardhat version 2024-07-25 12:08:10 +02:00
turnoffthiscomputer
501020b44c update smart contracts with the new two proofs set-up 2024-06-22 20:21:02 +02:00
0xturboblitz
0f92f33885 fixing LeanIMT import to @zk-kit/lean-imt (except in app.tsx) 2024-05-21 15:51:32 +09:00