@dfinity/bls-verify
v1.1.1 internet computer ic dfinity canister webauthn identity principal dfx candid and 8 more...
@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,
},
});
npm i @dfinity/bls-verify
Metadata
- Apache-2.0
- Whatever
- DFINITY Stiftung
- released 3/19/2024