How to use the noble-bls12-381.getPublicKey function in noble-bls12-381

To help you get started, we’ve selected a few noble-bls12-381 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github MetaMask / snaps-cli / examples / bls-signer / index.js View on Github external
async function getPubKey () {
  const PRIV_KEY = await wallet.getAppKey()
  return bls.getPublicKey(PRIV_KEY)
}

noble-bls12-381

Fastest JS implementation of BLS12-381. Auditable, secure, 0-dependency aggregated signatures & pairings

MIT
Latest version published 3 years ago

Package Health Score

48 / 100
Full package analysis

Popular noble-bls12-381 functions