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

@notabene/verify-proof

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@notabene/verify-proof

Verify ownership proofs

  • 1.0.6
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
69
decreased by-12.66%
Maintainers
0
Weekly downloads
 
Created
Source

@notabene/verify-proof

This package provides functionality to verify ownership proofs for the Notabene SDK.

Description

The @notabene/verify-proof package is designed to work with the Notabene SDK, offering methods to verify various types of ownership proofs used in blockchain transactions and identity verification.

Installation

npm install @notabene/verify-proof

or

yarn add @notabene/verify-proof

Usage

Here's a basic example of how to use the verifyProof function:

import { verifyProof } from '@notabene/verify-proof';
import { OwnershipProof } from '@notabene/javascript-sdk';

async function checkProof(proof: OwnershipProof) {
  const verifiedProof = await verifyProof(proof);
  console.log(verifiedProof.status);
}

Supported Proof Types

  • Checkbox Confirmation (ProofTypes.CheckboxConfirmation)
  • Screenshot (ProofTypes.Screenshot)
  • Personal Sign EIP191 (ProofTypes.EIP191)
  • Personal Sign EIP712 (ProofTypes.EIP712)
  • Personal Sign BIP137 (ProofTypes.BIP137)
  • Personal Sign XPUB (ProofTypes.XPUB)
  • Micro Transfer (ProofTypes.MicroTransfer)

Development

To set up the development environment:

  1. Clone the repository
  2. Install dependencies: yarn install
  3. Run tests: yarn test

Scripts

  • yarn dev: Start development server
  • yarn build: Build the project
  • yarn lint: Run linter
  • yarn test: Run tests

Dependencies

  • @notabene/javascript-sdk: Notabene JavaScript SDK
  • viem: Ethereum utility library
  • bitcoinjs-message: Bitcoin message signing and verification

License

This project is private and not publicly licensed.

Author

Pelle Braendgaard

FAQs

Package last updated on 22 Dec 2024

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