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

@settlemint/certimint-validate

Package Overview
Dependencies
Maintainers
10
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@settlemint/certimint-validate

Tools for validating the CertiMint proofs without CertiMint

  • 3.5.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-83.33%
Maintainers
10
Weekly downloads
 
Created
Source

A toolkit to independently verify CertiMint seals

This npm package allows you to independently verify a CertiMint blockchain seal.

Installation

npm install --save @settlemint/certimint-validate

Usage

import { CertiMintValidation } from '@settlemint/certimint-validate';


const config = {
  bitcoin: {
    url: 'https://api.blockcypher.com/v1/btc/main', // Optional; Api url for bitcoin
    apiKey:  'xxx'; // Optional, your api key from blockcypher if you use bitcoin anchors
  },

  ethereum: {
    apiKey:  'e341cb773bff270e539690b93fb69f32'; // Optional, your project id from infura if you use ethereum anchors on the mainnet
  }
}

const certiMintValidation = new CertiMintValidation(bitcoinApiKey);


status = await certiMintValidation.validateSeal(mySealObject);

status === SealStatus.CONFIRMED; // Seal has successfully been anchored
status === SealStatus.FAILED; // Failed to anchor seal, signinvites and/or signatures
status === SealStatus.PENDING; // Waiting for seal, signinvites and/or signatures to be anchored

Keywords

FAQs

Package last updated on 09 Nov 2021

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