Commit Graph

36 Commits

Author SHA1 Message Date
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
kevinsslin
2607dac0b0 cherry pick commit from add-test-self-verification... 2025-06-22 18:18:23 +02:00
nicoshark
aca1474c2f prettier (#629) 2025-06-16 21:49:51 +09: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
Aaron DeRuvo
0e9c59c0fb SEL-56: Setup Yarn Workspaces (#584) 2025-06-04 11:37:32 +02: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
3db25aa469 Push notification (#536)
* add push notification feature

* merge new app impl

* change dsc key

* import

* reverse mock dsc

* worked in the ios

* checked in android

* update url and delete console

* delete small changes

* lint

* add yarn.lock

* fix warning message

* add mock notification service for test code

* fix path for the mock implementation

* add mock deeplink to the test code

* nice notificationServiceMock.js

* delete unused firebase related implementation

* fix wording and UI related to notification service

* hotfix on mockdatascreen

---------

Co-authored-by: turnoffthiscomputer <colin.remi07@gmail.com>
2025-05-15 23:46:21 +02: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
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
7646dc67a1 update solidity version and move extract functions to handler lib 2024-10-21 17:27:40 +09:00
motemotech
873bbb02d7 down grade solidity version for fully hardhat support 2024-10-21 01:00:29 +09:00
motemotech
20b5247a0f add deploy scripts and verifier setting scripts 2024-10-17 19:40:40 +09:00
motemotech
dcf54e16a4 write deploy codes 2024-10-17 16:13:45 +09:00
motemotech
34eb3f546b add test for transfer and coverage check tool 2024-10-08 22:13:12 +09:00
motemotech
a432d2eb12 fix hardhat config and .env file 2024-10-06 10:56:23 +09:00
0xturboblitz
b542b58ce5 Merge branch 'dev' into new-circuits-in-app 2024-05-17 13:53:08 +09:00
turnoffthiscomputer
ad8d759aa3 Revert "implement neo bank flow"
This reverts commit 1fc4a56f4f.
2024-05-16 16:16:32 +02:00
turboblitz
df2ab3f8b2 Merge branch 'dev' into new-circuits-in-app 2024-05-16 17:33:56 +09:00
0xturboblitz
7b213f71f3 Integrate new two-step process and proving in mobile app
- still need to solve https call to merkle tree server
- not tested on android
2024-05-16 17:26:36 +09:00
turnoffthiscomputer
1fc4a56f4f implement neo bank flow 2024-05-16 06:29:05 +02:00
turnoffthiscomputer
44443c3b7a Add ProofOfPassportRegister_dev.sol 2024-05-15 10:24:21 +02:00
turnoffthiscomputer
59d5027dcc add Deploy_All.ts 2024-05-15 09:56:30 +02:00
0xturboblitz
e7b714d130 few cleans in circuits 2024-05-14 18:57:20 +09:00
turnoffthiscomputer
4795cdaa37 Update to LeanIMT, add Ignition deployment 2024-05-14 17:31:53 +09:00
turnoffthiscomputer
aa304a8366 add Register.sol and tests 2024-05-14 17:31:45 +09:00
0xturboblitz
af6a770ec2 merging dev, fixing bugs and new deployment 2024-03-23 11:53:58 -07:00
0xturboblitz
981da57356 new merkle tree circuit test deployment 2024-03-21 17:18:32 +01:00
0xturboblitz
03484bb09f add sepolia + deployment on sepolia 2024-01-17 13:54:39 +01:00
0xturboblitz
5269758eb1 add aws minter on mumbai 2023-12-29 00:06:47 +01:00
0xturboblitz
38a6c11483 formatting, factorize formatter, add countryCodes 2023-12-26 19:33:02 +01:00
0xturboblitz
2520d8e71d tokenURI working on opensea 2023-11-26 14:33:00 +01:00
0xturboblitz
569f87a2c7 proof of passport nft 2023-11-26 12:36:05 +01:00
0xturboblitz
5e83b88a24 hardhat config with all chains 🔗 2023-07-22 19:51:18 +02:00
0xturboblitz
edc7a7c994 moving contracts in /contract 2023-07-22 15:44:07 +02:00