mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
9 lines
590 B
Markdown
9 lines
590 B
Markdown
# 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 `verify` function to verify it. Once this is done, adapt the `genMockPassportData` to generate a mock one.
|
|
- Once the mock passport data generated is verified correctly by the same `verify` function 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! |