Skip to content

Commit

Permalink
Please merge
Browse files Browse the repository at this point in the history
Merge branch 'docs-proof' of https://github.com/MosCD3/aries-framework-javascript into docs-proof
  • Loading branch information
Mostafa committed Jan 1, 2022
2 parents 93fc4fd + d9afd21 commit d1ecdd9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/getting-started/6-proofs.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ In VC proofs, we have two involved parties:

The process for proving your VC starts by a verifier to request a presentation from a prover, and for the prover to respond by presenting a proof to the verifier or the prover to send a presentation proposal to the verifier.

## Method 1 - Prover (holder) responds to presentation proposal from the verifier
## Method 1 - Prover (holder) responds to presentation request from the verifier

> Note: This setup is assumed for a react native mobile agent
Expand Down Expand Up @@ -73,9 +73,7 @@ const handleProofStateChange = async (agent: Agent, event: ProofStateChangedEven
Make sure to add the event listener to the agent after initializing the wallet

```ts
agent.events.on<ProofStateChangedEvent>(ProofEventTypes.ProofStateChanged, (event) => {
handleProofStateChange(event)
})
agent.events.on<ProofStateChangedEvent>(ProofEventTypes.ProofStateChanged, handleProofStateChange)
```

## Manually accepting proof request
Expand Down

0 comments on commit d1ecdd9

Please sign in to comment.