Skip to content

guix77/react-blockcerts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

React component to display and verify a BlockCerts certificate.

Resources

Stars

Watchers

Forks

Packages

No packages published