Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@certifaction/verification-core

Package Overview
Dependencies
Maintainers
5
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@certifaction/verification-core

Provides a client that can verify a hash against the certifaction Ethereum smart contract.

  • 3.7.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-50%
Maintainers
5
Weekly downloads
 
Created
Source

@certifaction/verification-core

npm lerna

The verification-core contains everything needed verify a filehash on the Ethereum Smart Contract of Certifaction. It returns a full verification object and meta information regarding the registration event, the registration transaction as well as revocation meta data.

Table of contents

Install

As NPM package

npm install @certifaction/verification-core

# or if using yarn
yarn add @certifaction/verification-core

Usage

ES6

import { CertifactionEthVerifier } from '@certifaction/verification-core'

const certifactionEthVerifier = new CertifactionEthVerifier()
// or with custom properties (the values shown here are the default values)
const certifactionEthVerifier = new CertifactionEthVerifier(
    'https://mainnet.infura.io/v3/4559d381898847c0b13ced86a45a4ec0', // providerUrl
    '0xdc1d2c136cad73e10ae367d075995185edd68cae', // legacyContractAddress
    ['0xf73e27c5008ff487803d2337fc3ac4016f6526e4', '0x5ee4ec3cbee909050e68c7ff7a8b422cfbd72244'], // legacyContractFallbackAddresses
    '0x5532ba4add77dd25fa11acc5a84e5f183f57525e', // claimContractAddress
    '0x3f647d9f6a22768EA9c91C299d0AD5924c6164Be', // acceptedIssuerKey
    'https://api.certifaction.io/' // certifactionApiUrl
)

const verification = certifactionEthVerifier.verify(fileHash)

License

License

Released by Certifaction AG

FAQs

Package last updated on 10 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc