interface · Browser and Node
Crs
Setup data for proving and verifying: uncompressed BN254 G1 points (64 bytes each) and the G2 point.
@toip-tools/anon-membershipView sourceimport { type Crs } from "@toip-tools/anon-membership";
Declaration
interface Crs {
points: number;
g1: Uint8Array;
g2: Uint8Array;
}
Properties
pointsrequirednumberg1requiredUint8Array<ArrayBufferLike>g2requiredUint8Array<ArrayBufferLike>