revocation-verifier
v1.0.3
Published
Module for verifying blockcerts revocation status with the Ethereum revocation method.
Downloads
3
Readme
Revocation Verifier
This module is to be used in the context of Blockcerts Ethereum revocation method. Requires the Metamask browser extension to be running.
Usage
- Install de module
npm install revocation-verifier
- Add it to the Cert-Verifier and call the verification method, which returns a promise
var revocation-verifier = require('revocation-verifier')
// returns true if certificate is valid
// the certificate should be passed as an object, not stringified
revocation-verifier.getRevocationStatus(CERTIFICATE_HERE).then(console.log)