Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@dfinity/bls-verify

Package Overview
Dependencies
Maintainers
10
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dfinity/bls-verify

bls verification strategy in JavaScript

latest
Source
npmnpm
Version
1.1.1
Version published
Weekly downloads
37
117.65%
Maintainers
10
Weekly downloads
 
Created
Source

@dfinity/bls-verify

Package wrapping the @noble/bls-12-381 pure JS BLS verification implementation for use in agent-js. This is useful in contexts like React Native, where wasm implementations of BLS verification are not supported.

Visit the Dfinity Forum and SDK Documentation for more information and support building on the Internet Computer.

Additional API Documentation can be found here.

Installation

Using Principal:

npm i --save @dfinity/bls-verify

To use in your application

import { blsVerify } from '@dfinity/bls-verify';
import { createActor, canisterId } from '../declarations/example';

const exampleActor = createActor(canisterId, {
  actorOptions: {
    blsVerify,
  },
});

Keywords

internet computer

FAQs

Package last updated on 19 Mar 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