Commit Graph

87 Commits

Author SHA1 Message Date
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
0xturboblitz
86c38b8c9d rename to OpenPassport in UI and readmes 2024-08-10 12:26:49 -07:00
turnoffthiscomputer
fa381707e6 update contracts 2024-07-26 08:23:13 +02:00
turnoffthiscomputer
aedbd79491 use randomness to generate throw away dsc secret 2024-06-30 22:43:31 +02:00
turnoffthiscomputer
51b81f6f63 decomment some tests, update revert in contracts 2024-06-30 15:45:29 +02:00
turnoffthiscomputer
f433bf84ce refactor some code, allow dsc verification with mock passport data 2024-06-30 12:58:00 +02:00
turnoffthiscomputer
557fc740be Merge remote-tracking branch 'origin/dev' into csca 2024-06-29 22:55:01 +02:00
turnoffthiscomputer
1f0e1bfc7c clean imports in Verifier_dsc_4096.ts 2024-06-24 23:18:22 +02:00
turnoffthiscomputer
3ce51d0a34 add script to debug on-chain verifier 2024-06-24 23:17:34 +02:00
turnoffthiscomputer
cb2a5e911a update contracts 2024-06-24 23:08:48 +02:00
0xturboblitz
09a8b77e82 add solidity tests for sha256WithRSASSAPSS 2024-06-22 11:50:46 -07:00
turnoffthiscomputer
501020b44c update smart contracts with the new two proofs set-up 2024-06-22 20:21:02 +02:00
0xturboblitz
139151c337 make DEVELOPMENT_MODE global 2024-06-18 17:23:37 -07:00
0xturboblitz
41ec15d8aa adapt contract tests to multiple register circuits 2024-06-18 16:55:57 -07:00