@chainsafe/bls
Version:
Implementation of bls signature verification for ethereum 2.0
18 lines (17 loc) • 577 B
JavaScript
import { SecretKey } from "./secretKey.js";
import { PublicKey } from "./publicKey.js";
import { Signature } from "./signature.js";
import { init, destroy } from "./context.js";
import { functionalInterfaceFactory } from "../functional.js";
await init();
export * from "../constants.js";
export { SecretKey, PublicKey, Signature, init, destroy };
const implementation = "herumi";
export const bls = {
implementation,
SecretKey,
PublicKey,
Signature,
...functionalInterfaceFactory({ implementation, SecretKey, PublicKey, Signature }),
};
export default bls;