Skip to content

add function to get output out of witness#18

Open
mimoo wants to merge 1 commit into
iden3:mainfrom
mimoo:patch-1
Open

add function to get output out of witness#18
mimoo wants to merge 1 commit into
iden3:mainfrom
mimoo:patch-1

Conversation

@mimoo

@mimoo mimoo commented Aug 1, 2023

Copy link
Copy Markdown

Useful to implement tests in some cases. Can be used like this:

    const w = await circuit.calculateWitness({ in: input });
    const o = await circuit.getOutput(w);
    console.log(o);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant