@dfinity/bls-verify

1.1.1 • Public • Published

@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,
  },
});

Package Sidebar

Install

npm i @dfinity/bls-verify

Weekly Downloads

0

Version

1.1.1

License

Apache-2.0

Unpacked Size

5.48 MB

Total Files

178

Last publish

Collaborators

  • dfx-json
  • dfn_wndlng
  • nathan.mcgrath.dfinity
  • frederikrothenberger
  • bitdivine
  • ielashi
  • dayyildiz
  • eric-swanson-dfinity
  • krpeacock
  • npm-dfinity-org