Socket
Socket
Sign inDemoInstall

@vaultie/lds-merkle-proof-2019

Package Overview
Dependencies
7
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaultie/lds-merkle-proof-2019


Version published
Maintainers
2
Created

Readme

Source

LDS Merkle Proof 2019

This package contains the set of tools for LDS Merkle Proof 2019.

  • Encoding proofValue.
  • Decoding proofValue.

Installation

To install run:

npm i --save @vaultie/lds-merkle-proof-2019

Encoding proofValue

To encode JSON proofValue:

const { Encoder } = require('@vaultie/lds-merkle-proof-2019')
const encoder = new Encoder(proofValueJSON)

encoder.encode() // Buffer of Base58 encoded data
encoder.encode().toString() // Base58 string

Decoding proofValue

To decode base58 proofValue:

const { Decoder } = require('@vaultie/lds-merkle-proof-2019')
const decoder = new Decoder(proofValueBase58)

decoder.decode() // JSON object with proofValue

Keywords

FAQs

Last updated on 26 Oct 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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc