Skip to content

Latest commit

 

History

History
54 lines (31 loc) · 1.37 KB

README.md

File metadata and controls

54 lines (31 loc) · 1.37 KB

React Blockcerts

July 23, 2020: This project is not maintained any more for now. There is the new Auther project, a complete Blockcerts v2 opensource solution https://github.com/AutherOrg

Introduction

This component for React allows to view and verify certificates compliant with the Blockcerts standard.

This is not the official Blockcerts.org viewer, but it implements the same verification process and uses some of its code (cert-verifier-js).

For official information about Blockcerts, please check https://www.blockcerts.org/about.html

Demo

https://guix77.github.io/react-blockcerts

How to use

yarn add react-blockcerts

Then in your React app:

import React from 'react'
import Blockcerts from 'react-blockcerts'

const App = () => {
  return (
    <Blockcerts
      src="https://raw.githubusercontent.com/blockchain-certificates/cert-verifier-js/master/tests/data/sample-cert-mainnet-valid-2.0.json"
    />
  )
}

Props

  • src (string or object): url of the certificate JSON, or certificate JSON

Author

Guillaume Duveau, blockchain and web developer. See my pages about Blockcerts

Sponsors

Development

Publish NPM package:

yarn publish

Publish demo:

yarn publish-demo