This repository has been archived on 2023-04-09. You can view files and clone it, but cannot push or open issues or pull requests.
chainsafe-bls/src/herumi/index.ts

23 lines
567 B
TypeScript
Raw Normal View History

import {SecretKey} from "./secretKey.js";
import {PublicKey} from "./publicKey.js";
import {Signature} from "./signature.js";
import {init, destroy} from "./context.js";
import {IBls} from "../interface.js";
import {functionalInterfaceFactory} from "../functional.js";
export * from "../constants.js";
2020-11-19 13:22:41 +00:00
2020-11-30 18:01:13 +00:00
export {SecretKey, PublicKey, Signature, init, destroy};
2020-11-19 13:22:41 +00:00
2020-11-25 16:23:53 +00:00
export const bls: IBls = {
implementation: "herumi",
2020-11-30 18:01:13 +00:00
SecretKey,
2020-11-19 13:22:41 +00:00
PublicKey,
Signature,
2020-11-30 18:01:13 +00:00
...functionalInterfaceFactory({SecretKey, PublicKey, Signature}),
2020-11-25 16:09:44 +00:00
init,
2020-11-19 13:22:41 +00:00
destroy,
};
2020-11-20 19:03:17 +00:00
export default bls;