Skip to content

Commit 5019240

Browse files
committed
feat(wallet-unit-poc): generalized predicates + SDK test/packaging improvements
1 parent c2ede64 commit 5019240

54 files changed

Lines changed: 6777 additions & 6641 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

wallet-unit-poc/circom/inputs/jwt/1k/default.json

Lines changed: 501 additions & 762 deletions
Large diffs are not rendered by default.

wallet-unit-poc/circom/inputs/jwt/2k/default.json

Lines changed: 502 additions & 763 deletions
Large diffs are not rendered by default.

wallet-unit-poc/circom/inputs/jwt/4k/default.json

Lines changed: 517 additions & 778 deletions
Large diffs are not rendered by default.

wallet-unit-poc/circom/inputs/jwt/8k/default.json

Lines changed: 514 additions & 775 deletions
Large diffs are not rendered by default.

wallet-unit-poc/circom/inputs/jwt/default.json

Lines changed: 1295 additions & 1536 deletions
Large diffs are not rendered by default.
Lines changed: 25 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1,98 +1,37 @@
11
{
2-
"deviceKeyX": "10283670616283124985004861241909155264348590883166032930404728007837945326374",
3-
"deviceKeyY": "8158006864510812124793259187023368988849910890253257806921974031302562241728",
4-
"sig_r": "15292294489786119095063582586198413196853202569869921482641658019344154606312",
5-
"sig_s_inverse": "58156950284449761300506806981210003509685504976728541007576408736826002799956",
6-
"messageHash": "61278793845066689164579696028586138176329473066036169991668911406714546917604",
7-
"claim": [
8-
"91",
9-
"34",
10-
"74",
11-
"104",
12-
"53",
13-
"110",
14-
"74",
15-
"110",
16-
"51",
17-
"65",
18-
"78",
19-
"117",
20-
"67",
21-
"102",
22-
"57",
23-
"86",
24-
"66",
25-
"68",
26-
"72",
27-
"56",
28-
"76",
29-
"98",
30-
"99",
31-
"65",
32-
"34",
33-
"44",
34-
"34",
35-
"114",
36-
"111",
37-
"99",
38-
"95",
39-
"98",
40-
"105",
41-
"114",
42-
"116",
43-
"104",
44-
"100",
45-
"97",
46-
"121",
47-
"34",
48-
"44",
49-
"34",
50-
"49",
51-
"48",
52-
"52",
53-
"48",
54-
"54",
55-
"48",
56-
"53",
57-
"34",
58-
"93",
59-
"0",
60-
"0",
61-
"0",
62-
"0",
63-
"0",
64-
"0",
65-
"0",
66-
"0",
67-
"0",
68-
"0",
69-
"0",
70-
"0",
71-
"0",
72-
"0",
73-
"0",
74-
"0",
75-
"0",
76-
"0",
77-
"0",
78-
"0",
79-
"0",
80-
"0",
81-
"0",
82-
"0",
83-
"0",
84-
"0",
85-
"0",
86-
"0",
2+
"deviceKeyX": "15062684308666870687237182595879271589293011559576916925067707587254549323656",
3+
"deviceKeyY": "72692724349364563201987397574253417157292779280894985227121347482682744851105",
4+
"sig_r": "29681824164325538089070525720003540283260375370471909549987275693544534040732",
5+
"sig_s_inverse": "3843771020488708268699938097262929466731191032510575669114379179489059189649",
6+
"messageHash": "71626210704787442897132725684487903241364004889506724340459234306533503072459",
7+
"predicateLen": "1",
8+
"claimValues": [
9+
"1040605",
10+
"0"
11+
],
12+
"predicateClaimRefs": [
8713
"0",
14+
"0"
15+
],
16+
"predicateOps": [
8817
"0",
18+
"2"
19+
],
20+
"predicateCompareValues": [
21+
"1070101",
22+
"1040605"
23+
],
24+
"tokenTypes": [
8925
"0",
9026
"0",
9127
"0",
9228
"0",
9329
"0",
9430
"0",
9531
"0",
32+
"0"
33+
],
34+
"tokenValues": [
9635
"0",
9736
"0",
9837
"0",
@@ -102,7 +41,5 @@
10241
"0",
10342
"0"
10443
],
105-
"currentYear": "2026",
106-
"currentMonth": "2",
107-
"currentDay": "23"
44+
"exprLen": "1"
10845
}
Lines changed: 25 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1,98 +1,37 @@
11
{
2-
"deviceKeyX": "114302704320367459076016268580547848714896553400780471973044687652812063189595",
3-
"deviceKeyY": "45633956396711144865775776557581523829463431471390183309515882049612400516441",
4-
"sig_r": "13164821447282475676869501346647911659241316710272155925742957070515074379182",
5-
"sig_s_inverse": "33440417623168693358226823653075820506000110425185172493006211287009128710212",
6-
"messageHash": "24891999081123204790578945735370858114973226700365084907962044544427077041239",
7-
"claim": [
8-
"91",
9-
"34",
10-
"68",
11-
"105",
12-
"118",
13-
"70",
14-
"85",
15-
"112",
16-
"55",
17-
"76",
18-
"107",
19-
"71",
20-
"53",
21-
"77",
22-
"114",
23-
"88",
24-
"116",
25-
"95",
26-
"55",
27-
"84",
28-
"103",
29-
"81",
30-
"87",
31-
"65",
32-
"34",
33-
"44",
34-
"34",
35-
"114",
36-
"111",
37-
"99",
38-
"95",
39-
"98",
40-
"105",
41-
"114",
42-
"116",
43-
"104",
44-
"100",
45-
"97",
46-
"121",
47-
"34",
48-
"44",
49-
"34",
50-
"49",
51-
"48",
52-
"52",
53-
"48",
54-
"54",
55-
"48",
56-
"53",
57-
"34",
58-
"93",
59-
"0",
60-
"0",
61-
"0",
62-
"0",
63-
"0",
64-
"0",
65-
"0",
66-
"0",
67-
"0",
68-
"0",
69-
"0",
70-
"0",
71-
"0",
72-
"0",
73-
"0",
74-
"0",
75-
"0",
76-
"0",
77-
"0",
78-
"0",
79-
"0",
80-
"0",
81-
"0",
82-
"0",
83-
"0",
84-
"0",
85-
"0",
86-
"0",
2+
"deviceKeyX": "50396704117765892350525601813334669809677891794615329928425326074016094390435",
3+
"deviceKeyY": "47218508047852740890502193677934106640109853916283742577478020788817689973170",
4+
"sig_r": "72683532629611372119289699543708691159201549531688107537081548768410162400861",
5+
"sig_s_inverse": "38241001843493348073790036444659008997636962088920292592305719305216355686853",
6+
"messageHash": "76978350620869230126007083719440733630481619136244011842832997285918554322831",
7+
"predicateLen": "1",
8+
"claimValues": [
9+
"1040605",
10+
"0"
11+
],
12+
"predicateClaimRefs": [
8713
"0",
14+
"0"
15+
],
16+
"predicateOps": [
8817
"0",
18+
"2"
19+
],
20+
"predicateCompareValues": [
21+
"1070101",
22+
"1040605"
23+
],
24+
"tokenTypes": [
8925
"0",
9026
"0",
9127
"0",
9228
"0",
9329
"0",
9430
"0",
9531
"0",
32+
"0"
33+
],
34+
"tokenValues": [
9635
"0",
9736
"0",
9837
"0",
@@ -102,7 +41,5 @@
10241
"0",
10342
"0"
10443
],
105-
"currentYear": "2026",
106-
"currentMonth": "2",
107-
"currentDay": "23"
44+
"exprLen": "1"
10845
}
Lines changed: 25 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1,98 +1,37 @@
11
{
2-
"deviceKeyX": "63413157590550809957780582371049286493941490437448678089476621325915227182908",
3-
"deviceKeyY": "27284044213251915516918753977873536796639360858878944035441953276141089057175",
4-
"sig_r": "22944409481212393348779559800999785668814618700520372338889458818541956049848",
5-
"sig_s_inverse": "26160644427133617003656372817151596702461902464893129344748292578129351136950",
6-
"messageHash": "76150497070163471715041886211946789854960694826079200101182005000495124853896",
7-
"claim": [
8-
"91",
9-
"34",
10-
"68",
11-
"54",
12-
"86",
13-
"107",
14-
"69",
15-
"67",
16-
"81",
17-
"52",
18-
"54",
19-
"119",
20-
"81",
21-
"97",
22-
"100",
23-
"73",
24-
"103",
25-
"95",
26-
"65",
27-
"80",
28-
"105",
29-
"70",
30-
"119",
31-
"81",
32-
"34",
33-
"44",
34-
"34",
35-
"114",
36-
"111",
37-
"99",
38-
"95",
39-
"98",
40-
"105",
41-
"114",
42-
"116",
43-
"104",
44-
"100",
45-
"97",
46-
"121",
47-
"34",
48-
"44",
49-
"34",
50-
"49",
51-
"48",
52-
"52",
53-
"48",
54-
"54",
55-
"48",
56-
"53",
57-
"34",
58-
"93",
59-
"0",
60-
"0",
61-
"0",
62-
"0",
63-
"0",
64-
"0",
65-
"0",
66-
"0",
67-
"0",
68-
"0",
69-
"0",
70-
"0",
71-
"0",
72-
"0",
73-
"0",
74-
"0",
75-
"0",
76-
"0",
77-
"0",
78-
"0",
79-
"0",
80-
"0",
81-
"0",
82-
"0",
83-
"0",
84-
"0",
85-
"0",
86-
"0",
2+
"deviceKeyX": "51283712417826774270693536443791577047550197141646998851606311136057543568447",
3+
"deviceKeyY": "82199452036803519786500822081590291770872381875845804633820012723913848732405",
4+
"sig_r": "4636680118337098094643220782241759193061199444335423565142690363948665965380",
5+
"sig_s_inverse": "61283114671115414730164360398633345183448014464197766594081329114554755826867",
6+
"messageHash": "99185223643964009653939860043649018701623003545662943568437184204224952015220",
7+
"predicateLen": "1",
8+
"claimValues": [
9+
"1040605",
10+
"0"
11+
],
12+
"predicateClaimRefs": [
8713
"0",
14+
"0"
15+
],
16+
"predicateOps": [
8817
"0",
18+
"2"
19+
],
20+
"predicateCompareValues": [
21+
"1070101",
22+
"1040605"
23+
],
24+
"tokenTypes": [
8925
"0",
9026
"0",
9127
"0",
9228
"0",
9329
"0",
9430
"0",
9531
"0",
32+
"0"
33+
],
34+
"tokenValues": [
9635
"0",
9736
"0",
9837
"0",
@@ -102,7 +41,5 @@
10241
"0",
10342
"0"
10443
],
105-
"currentYear": "2026",
106-
"currentMonth": "2",
107-
"currentDay": "23"
44+
"exprLen": "1"
10845
}

0 commit comments

Comments
 (0)