Socket
Socket
Sign inDemoInstall

blech32

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blech32

Blech32 encoding / decoding


Version published
Weekly downloads
1K
decreased by-5.84%
Maintainers
1
Weekly downloads
 
Created
Source

Blech32.js

A Elements extended BIP173 compatible Blech32 encoding/decoding library.

This package provides two types of encoding:

  • BLECH32 for witness version 0.
  • BLECH32M for witness version 1-16. Note that the blech32m encoding const on Liquid differs from the bitcoin one

Example

Check out tests that also demonstrate how to serialize a pubkey and a witness program for generating a confidential address.

Installation

Install dependencies:

yarn install

Build:

yarn build

Test

$ yarn test

Credits

Keywords

FAQs

Package last updated on 15 Apr 2022

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