Skip to content

opscientia/holo-relayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use relayer

RELAYER_URL is https://relayer.holonym.id

issuer is the address of the credential issuer

v, r, and s constitute the issuer's ECDSA signature of the old leaf

zkp is the ZoKrates-generated JSON object of the proof. However, it's just the proof object of a, b, and c without public inputs.

zkpInputs are the inputs part of the of the ZoKrates-generated proof

const axios = require("axios");
const res = await axios.post(`${RELAYER_URL}/addLeaf`, {
            addLeafArgs: {
                issuer : ISSUER_ADDRESS, 
                v : SIGV, 
                r : SIGR, 
                s : SIGS, 
                zkp : ZKP, 
                zkpInputs : ZKPINPUTS
            }
            });

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published