mirror of
https://github.com/selfxyz/self.git
synced 2026-01-10 07:08:10 -05:00
How to generate mock passport data based on your real data?
- Build the app and scan your passport to log your passport data.
- Copy one of the files of this folder and paste your passport data.
- Adapt the
verifyfunction to verify it. Once this is done, adapt thegenMockPassportDatato generate a mock one. - Once the mock passport data generated is verified correctly by the same
verifyfunction that verifies yours, you're all set! - Run the script to generate a mock passport data and add it to
common/src/utils/mockPassportData.ts - Do a PR
- DM us to collect your bounty!