* Run prettier
* Update yarn.lock
* Refactor SelfVerificationRoot contract to support bytes-based proof verification and update related interfaces. Introduce contract versioning and enhance event emissions for verification success. Update Airdrop, HappyBirthday, and SelfPassportERC721 contracts to align with new SelfVerificationRoot structure and improve attestation ID handling.
* add fix
* add getSKIPems to fetchAll - store the passport data with the used csca
* fix the dsc parsing error
* use bitwise operation, implement the new isRegisteredWithAlternativesCSCA in the recovery methods
* 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
---------
Co-authored-by: turnoffthiscomputer <colin.remi07@gmail.com>
* 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
* add prettier and run prettier except .sol files
* prettier
---------
Co-authored-by: turnoffthiscomputer <colin.remi07@gmail.com>
* 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
---------
Co-authored-by: turnoffthiscomputer <colin.remi07@gmail.com>
* add eu id support
* add ofac and disclosure euid support
* add contract support for euid cards
---------
Co-authored-by: motemotech <i.am.nicoshark@gmail.com>
* Add SelfVerificationConsumer contract for self-verification logic
- Introduced an abstract contract, SelfVerificationConsumer, that extends SelfVerificationRoot.
- Implemented nullifier tracking, verification success events, and customizable validation and update methods for nullifiers.
- Added error handling for nullifier check failures and hooks for derived contracts to implement custom logic after successful verification.
* Add SelfHappyBirthday contract example using SelfVerificationConsumer
- Introduced SelfHappyBirthday contract that allows users to claim USDC on their birthday.
- Integrated SelfVerificationConsumer for handling verification and nullifier tracking.
- Added functions to set claimable amount and window, along with event emissions for state changes.
- Implemented logic to check if the claim is within the user's birthday window and transfer USDC accordingly.
* Refactor imports in HappyBirthday contract for better organization
- Updated import statements in HappyBirthday.sol to use relative paths for ISelfVerificationRoot, SelfCircuitLibrary, and SelfVerificationConsumer.
- Improved code readability and maintainability by organizing imports more logically.
* Refactor Airdrop contract to use SelfVerificationConsumer for registration logic
- Updated Airdrop contract to inherit from SelfVerificationConsumer instead of SelfVerificationRoot.
- Refactored mappings for user identifiers and nullifiers for improved clarity and functionality.
- Enhanced error handling and updated function parameters for consistency.
- Implemented new validation and update methods for nullifiers, streamlining the registration process.
- Removed deprecated verifySelfProof function and integrated logic into new methods.
* Add events and refactor SelfVerificationRoot and related contracts
- Introduced new events in SelfVerificationRoot for verification configuration updates, scope changes, and attestation ID management.
- Updated Airdrop contract to remove deprecated events and added a new event for Merkle root updates.
- Refactored SelfPassportERC721 to inherit from SelfVerificationConsumer, enhancing verification logic and event handling.
- Improved function parameters for consistency and clarity across contracts.
* Refactor contracts to use SelfVerificationRoot and enhance verification logic
- Removed SelfVerificationConsumer contract and updated related contracts to inherit from SelfVerificationRoot.
- Refactored mappings and event emissions in Airdrop, HappyBirthday, and SelfPassportERC721 for improved clarity and functionality.
- Enhanced verification success hooks to include user identifiers and nullifiers for better tracking.
- Updated constructor parameters for consistency across contracts and improved error handling for user registration and claims.
* Refactor constructor in SelfPassportERC721 for improved readability
* Refactor function parameters in SelfVerificationRoot and related contracts
* Refactor constructor parameter names in IdentityVerificationHub, Airdrop, IdentityRegistry, and ProxyRoot contracts for improved clarity and consistency
* 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
* clean up nav and home boundaries, passport data screen insets
* migrate proof history screen out of settings
* minor clean up
* save wip
* add new ibm plex mono font and clean up proof detail screen
* remove test data
* remove extra loading screen text
* remove unnecessary ceil
* create new loading screen and rename static to misc
* fix route
* save wip loading screen
* save wip animation
* save static wip design
* continue
* splash
* add a loading screen text helper
* add test for loading screen text
* save wip. almost there
* update haptic logic
* better feedback and add dev scren
* save current work
* update text logic and tests
* load passport metadata in loading screen
* simplify and fix tests
* test for additional exponents
* add new animation
* rename file
* consolidate ui useEffect and fix loading screen layout
* fix current state
* remove mockPassportFlow param
* merge new loading screen and new notification logic
* simplify
* update lock
* use passportMetadata instead of metadata
* save simplification
* update loading text based on pr feedback and tests
* feat: Use vision for MRZ scanning
* modify label to position the smartphone during the OCR scan
---------
Co-authored-by: turnoffthiscomputer <colin.remi07@gmail.com>
* 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>
* remove dupe account screens and prefer the term home
* organize screen loading better
* sort keys
* rename screen files wip
* fix deleted directory issues
* rename folders
* fix paths and naming
* save working jest import test
* save base working jest navigation test
* finalize navigation refactor and jest test
* update test name and podfile lock
* remove unused packages
* use the correct version of react test renderer
* add common sdk
* remove sdk backend api
* remove registry
* regenerate sha256 rsa dsc each time
* download ski-pem dynamically on staging, refactor initpassportDataParsing
* add state machine for button on prove screen, improve ux on splash screen
* fetch ski-pem in production
* fix linter issues
* fix prove screen button bugs
* update podfile.lock and yarn.lock
* run linter in circuits repo
* bump build
* bump version for sentry debugging
* bump ios to version 118
---------
Co-authored-by: Justin Hernandez <transphorm@gmail.com>
* refactor proving impleting xstate, speedup proving
* add disclosure proof support
* keep refactoring provingMachine, clean old implementation
* call init method when switching from dsc to register
* rebase with dev to display why the proof verification failed
* refactor ws connexion between front-end and mobile to retrieve self-app
* update the webclient at proofVerification and use selfAppStore in provingMachine
* fix provintStore.init in ProveScreen
* yarn nice
* fetch data correctly in splash screen
* save wip
* use elint instead of prettier to sort imports
* set imports to warn
* sync prettier settigns
* update prettier settings
* save working version
* fix export and disable mobile pipeline for now
* limit auto formatting to the app folder