Commit Graph

100 Commits

Author SHA1 Message Date
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
turnoffthiscomputer
cc169061bd add common sdk (#537)
* 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>
2025-05-07 11:45:21 +02: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
acd3329f31 Feat/proof conversion (#491)
* export castFromScope

* export proof conversion
2025-03-28 17:13:45 +01:00
nicoshark
f63ee37118 Perf/contract test (#224) 2025-03-04 16:03:03 -08:00
nicoshark
01ceaa9f44 add example contract how to integrate self verifier (#198) 2025-02-23 00:15:53 +01:00
turnoffthiscomputer
a7dbd5c788 Increase forbidden country list size (#175)
Co-authored-by: nicoshark <i.am.nicoshark@gmail.com>
2025-02-20 05:34:43 +01:00
nicoshark
43d968e8d6 add error code in the return value (#171) 2025-02-20 00:21:16 +01:00
nicoshark
7d0e83a727 Feat/clean sdk code (#155)
Co-authored-by: turnoffthiscomputer <98749896+remicolin@users.noreply.github.com>
2025-02-19 05:51:37 +01:00
nicoshark
e13c64ba10 Add verifier ids (#139) 2025-02-19 05:48:07 +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
c6db61b2c0 Use secret from keychain (#108) 2025-02-14 14:30:14 +01: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
nicoshark
03b5428d92 Update/contract sdk (#61) 2025-02-11 00:17:13 +09: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
turnoffthiscomputer
6ef481e3fb delete RegisterAndDisclose.ts 2024-12-17 18:34:10 +01:00
motemotech
039f1220ad add test cases 2024-12-18 00:41:37 +09:00
motemotech
be67f50ce5 add test and merge test/contracts 2024-12-17 22:46:03 +09:00
motemotech
29c90af806 Merge branch 'test/contracts' into fix/register-contract 2024-12-17 21:54:46 +09:00
motemotech
f816696466 add openpassport register contract 2024-12-17 21:51:51 +09:00
motemotech
03b312a8b4 update contracts test code 2024-12-16 15:36:10 +09:00
motemotech
c895d2ee77 update function name and function to extract forbidden countries 2024-10-21 00:29:55 +09:00
motemotech
fa1e0eb9af fix test code 2024-10-16 12:36:48 +09:00
motemotech
ac6e8fbb4d checked the flow writtein in readme 2024-10-10 20:11:51 +09:00
motemotech
0936edeb57 delete unused imports 2024-10-10 19:47:16 +09:00
motemotech
2822070005 add integration test for mint function 2024-10-10 18:03:25 +09:00
motemotech
f9d37568b6 add test:prod command and change dsc to be able to get env val 2024-10-10 16:21:55 +09:00
motemotech
8c46ade8ba remove commentout from dsc proof generation 2024-10-10 02:24:48 +09:00
motemotech
9a8a6da068 Merge branch 'feat/integration-test-for-one-time-verification' of https://github.com/zk-passport/openpassport into feat/integration-test-for-one-time-verification 2024-10-10 02:08:23 +09:00
motemotech
649cba8495 update snarkjs version 2024-10-10 02:07:51 +09:00
nico shark
42b5257701 fix inputs for prove proof gen 2024-10-10 01:55:30 +09:00
motemotech
387a4c7501 try proof gen in test code, but seems not working. 2024-10-09 23:49:01 +09:00
motemotech
1c371b2035 change to magic value to constant 2024-10-09 18:12:49 +09:00
motemotech
c881b7779b fix local commentout 2024-10-09 17:18:32 +09:00
motemotech
946d4c591c preparation for OneTimeVerification.ts 2024-10-09 17:16:22 +09:00
motemotech
5e215ef6cd Merge branch 'dev' into feat/integration-test-for-one-time-verification 2024-10-09 15:28:50 +09:00
motemotech
42b2fb91bd add OneTimeVerification.ts. this is integration test for one time minting flow 2024-10-09 15:28:01 +09:00
motemotech
ddf1360abf delete unused imports 2024-10-08 23:09:49 +09:00
motemotech
e7dabf4271 add integration dir and integration test 2024-10-08 23:08:18 +09:00
motemotech
3a7e1d52aa move into unit test 2024-10-08 23:04:14 +09:00
motemotech
34eb3f546b add test for transfer and coverage check tool 2024-10-08 22:13:12 +09:00
motemotech
ca2d7bcfab add test when you successfuly mint sbt 2024-10-08 21:22:17 +09:00
motemotech
6e8d134a70 add test for mint validations 2024-10-08 20:04:13 +09:00
motemotech
bb0054f50d update require to custom errors 2024-10-08 01:40:52 +09:00
motemotech
f50e7eeeb0 delete attributePositions and made library to get attribute from passport format 2024-10-08 00:59:40 +09:00
turnoffthiscomputer
a239169f80 split bitmap into selector_dg1 and selector_older_than, fix nullifier generation in prove circuits 2024-09-19 19:03:39 +02:00
0xturboblitz
fb15c9427c update getLeaf to use DSC and SignatureAlgorithmIndex to use new names 2024-09-14 12:39:51 +09:00
0xturboblitz
2bdfc60d4b massive renaming to OpenPassport 2024-08-10 23:40:42 -07:00