Initialize the DataVerificationRequest instance to be signed:
const user_data_verifying_key = {
KeysetEndpoint: {
jku: "YOUR_ISSUER_JWK_SET_URL",
kid: "YOUR_ISSUER_KID",
},
};
const dvr = new DataVerificationRequest(
dvrTitle, //YOUR_DVR_TITLE
dvrId, //YOUR_DVR_ID
query_engine_ver, //YOUR_QUERY_ENGINE_VERSION, you get this from zkpass-client
query_method_ver, //YOUR_QUERY_METHOD_VERSION, you get this from zkpass-client
query, //YOUR_FULL_QUERY
user_data_url, //YOUR_USER_DATA_URL
user_data_verifying_key
);
Step 3: Set Up Details
Replace the placeholder values with your actual details: