@@ -2,7 +2,10 @@ import { createStore } from "@mina-js/connect";
2
2
import { useLocalStorage , useObjectState } from "@uidotdev/usehooks" ;
3
3
import { clsx } from "clsx" ;
4
4
import { useState , useSyncExternalStore } from "react" ;
5
- import { sampleCredential3 , samplePresentationRequest1 } from "./sample-data" ;
5
+ import {
6
+ sampleCredentialSimpleFromExample ,
7
+ samplePresentationRequestHttps ,
8
+ } from "./sample-data" ;
6
9
7
10
const store = createStore ( ) ;
8
11
@@ -21,10 +24,10 @@ export const TestZkApp = () => {
21
24
const [ signFieldsWithPassphraseInput , setSignFieldsWithPassphraseInput ] =
22
25
useState ( JSON . stringify ( sampleSignFieldsWithPassphrase , null , 2 ) ) ;
23
26
const [ credentialInput , setCredentialInput ] = useState (
24
- JSON . stringify ( sampleCredential3 , null , 2 ) ,
27
+ JSON . stringify ( sampleCredentialSimpleFromExample , null , 2 ) ,
25
28
) ;
26
29
const [ presentationRequest , setPresentationRequest ] = useState (
27
- JSON . stringify ( samplePresentationRequest1 , null , 2 ) ,
30
+ JSON . stringify ( samplePresentationRequestHttps , null , 2 ) ,
28
31
) ;
29
32
const [ transactionBody , setTransactionBody ] = useObjectState ( {
30
33
to : "B62qnVUL6A53E4ZaGd3qbTr6RCtEZYTu3kTijVrrquNpPo4d3MuJ3nb" ,
0 commit comments