Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aztec/bb.js

Package Overview
Dependencies
Maintainers
6
Versions
148
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aztec/bb.js - npm Package Compare versions

Comparing version 0.66.0 to 0.67.0

7

dest/browser/barretenberg_api/index.d.ts

@@ -48,6 +48,11 @@ import { BarretenbergWasmWorker, BarretenbergWasm } from '../barretenberg_wasm/index.js';

acirProveAndVerifyAztecClient(acirVec: Uint8Array[], witnessVec: Uint8Array[]): Promise<boolean>;
acirProveAztecClient(acirVec: Uint8Array[], witnessVec: Uint8Array[]): Promise<[Uint8Array, Uint8Array]>;
acirVerifyAztecClient(proofBuf: Uint8Array, vkBuf: Uint8Array): Promise<boolean>;
acirProveUltraHonk(acirVec: Uint8Array, recursive: boolean, witnessVec: Uint8Array): Promise<Uint8Array>;
acirProveUltraKeccakHonk(acirVec: Uint8Array, recursive: boolean, witnessVec: Uint8Array): Promise<Uint8Array>;
acirVerifyUltraHonk(proofBuf: Uint8Array, vkBuf: Uint8Array): Promise<boolean>;
acirVerifyUltraKeccakHonk(proofBuf: Uint8Array, vkBuf: Uint8Array): Promise<boolean>;
acirWriteVkUltraHonk(acirVec: Uint8Array, recursive: boolean): Promise<Uint8Array>;
getHonkSolidityVerifier(acirVec: Uint8Array, recursive: boolean): Promise<string>;
acirWriteVkUltraKeccakHonk(acirVec: Uint8Array, recursive: boolean): Promise<Uint8Array>;
acirHonkSolidityVerifier(acirVec: Uint8Array, vkBuf: Uint8Array): Promise<string>;
acirProofAsFieldsUltraHonk(proofBuf: Uint8Array): Promise<Fr[]>;

@@ -54,0 +59,0 @@ acirVkAsFieldsUltraHonk(vkBuf: Uint8Array): Promise<Fr[]>;

@@ -43,2 +43,12 @@ import { BackendOptions, Barretenberg, CircuitOptions } from './index.js';

}
/**
* Options for the UltraHonkBackend.
*/
export type UltraHonkBackendOptions = {
/**Selecting this option will use the keccak hash function instead of poseidon
* when generating challenges in the proof.
* Use this when you want to verify the created proof on an EVM chain.
*/
keccak: boolean;
};
export declare class UltraHonkBackend {

@@ -52,7 +62,7 @@ protected backendOptions: BackendOptions;

instantiate(): Promise<void>;
generateProof(compressedWitness: Uint8Array): Promise<ProofData>;
verifyProof(proofData: ProofData): Promise<boolean>;
generateProof(compressedWitness: Uint8Array, options?: UltraHonkBackendOptions): Promise<ProofData>;
verifyProof(proofData: ProofData, options?: UltraHonkBackendOptions): Promise<boolean>;
getVerificationKey(): Promise<Uint8Array>;
/** @description Returns a solidity verifier */
getSolidityVerifier(): Promise<string>;
getSolidityVerifier(vk?: Uint8Array): Promise<string>;
generateRecursiveProofArtifacts(_proof: Uint8Array, _numOfPublicInputs: number): Promise<{

@@ -72,2 +82,4 @@ proofAsFields: string[];

instantiate(): Promise<void>;
prove(witnessMsgpack: Uint8Array[]): Promise<[Uint8Array, Uint8Array]>;
verify(proof: Uint8Array, vk: Uint8Array): Promise<boolean>;
proveAndVerify(witnessMsgpack: Uint8Array[]): Promise<boolean>;

@@ -74,0 +86,0 @@ destroy(): Promise<void>;

@@ -48,6 +48,11 @@ import { BarretenbergWasmWorker, BarretenbergWasm } from '../barretenberg_wasm/index.js';

acirProveAndVerifyAztecClient(acirVec: Uint8Array[], witnessVec: Uint8Array[]): Promise<boolean>;
acirProveAztecClient(acirVec: Uint8Array[], witnessVec: Uint8Array[]): Promise<[Uint8Array, Uint8Array]>;
acirVerifyAztecClient(proofBuf: Uint8Array, vkBuf: Uint8Array): Promise<boolean>;
acirProveUltraHonk(acirVec: Uint8Array, recursive: boolean, witnessVec: Uint8Array): Promise<Uint8Array>;
acirProveUltraKeccakHonk(acirVec: Uint8Array, recursive: boolean, witnessVec: Uint8Array): Promise<Uint8Array>;
acirVerifyUltraHonk(proofBuf: Uint8Array, vkBuf: Uint8Array): Promise<boolean>;
acirVerifyUltraKeccakHonk(proofBuf: Uint8Array, vkBuf: Uint8Array): Promise<boolean>;
acirWriteVkUltraHonk(acirVec: Uint8Array, recursive: boolean): Promise<Uint8Array>;
getHonkSolidityVerifier(acirVec: Uint8Array, recursive: boolean): Promise<string>;
acirWriteVkUltraKeccakHonk(acirVec: Uint8Array, recursive: boolean): Promise<Uint8Array>;
acirHonkSolidityVerifier(acirVec: Uint8Array, vkBuf: Uint8Array): Promise<string>;
acirProofAsFieldsUltraHonk(proofBuf: Uint8Array): Promise<Fr[]>;

@@ -54,0 +59,0 @@ acirVkAsFieldsUltraHonk(vkBuf: Uint8Array): Promise<Fr[]>;

@@ -43,2 +43,12 @@ import { BackendOptions, Barretenberg, CircuitOptions } from './index.js';

}
/**
* Options for the UltraHonkBackend.
*/
export type UltraHonkBackendOptions = {
/**Selecting this option will use the keccak hash function instead of poseidon
* when generating challenges in the proof.
* Use this when you want to verify the created proof on an EVM chain.
*/
keccak: boolean;
};
export declare class UltraHonkBackend {

@@ -52,7 +62,7 @@ protected backendOptions: BackendOptions;

instantiate(): Promise<void>;
generateProof(compressedWitness: Uint8Array): Promise<ProofData>;
verifyProof(proofData: ProofData): Promise<boolean>;
generateProof(compressedWitness: Uint8Array, options?: UltraHonkBackendOptions): Promise<ProofData>;
verifyProof(proofData: ProofData, options?: UltraHonkBackendOptions): Promise<boolean>;
getVerificationKey(): Promise<Uint8Array>;
/** @description Returns a solidity verifier */
getSolidityVerifier(): Promise<string>;
getSolidityVerifier(vk?: Uint8Array): Promise<string>;
generateRecursiveProofArtifacts(_proof: Uint8Array, _numOfPublicInputs: number): Promise<{

@@ -72,2 +82,4 @@ proofAsFields: string[];

instantiate(): Promise<void>;
prove(witnessMsgpack: Uint8Array[]): Promise<[Uint8Array, Uint8Array]>;
verify(proof: Uint8Array, vk: Uint8Array): Promise<boolean>;
proveAndVerify(witnessMsgpack: Uint8Array[]): Promise<boolean>;

@@ -74,0 +86,0 @@ destroy(): Promise<void>;

35

dest/node-cjs/barretenberg/backend.js

@@ -120,5 +120,8 @@ "use strict";

}
async generateProof(compressedWitness) {
async generateProof(compressedWitness, options) {
await this.instantiate();
const proofWithPublicInputs = await this.api.acirProveUltraHonk(this.acirUncompressedBytecode, this.circuitOptions.recursive, (0, fflate_1.decompressSync)(compressedWitness));
const proveUltraHonk = options?.keccak
? this.api.acirProveUltraKeccakHonk.bind(this.api)
: this.api.acirProveUltraHonk.bind(this.api);
const proofWithPublicInputs = await proveUltraHonk(this.acirUncompressedBytecode, this.circuitOptions.recursive, (0, fflate_1.decompressSync)(compressedWitness));
const proofAsStrings = (0, index_js_2.deflattenFields)(proofWithPublicInputs.slice(4));

@@ -139,7 +142,13 @@ const numPublicInputs = Number(proofAsStrings[1]);

}
async verifyProof(proofData) {
async verifyProof(proofData, options) {
await this.instantiate();
const proof = (0, index_js_2.reconstructHonkProof)((0, index_js_2.flattenFieldsAsArray)(proofData.publicInputs), proofData.proof);
const vkBuf = await this.api.acirWriteVkUltraHonk(this.acirUncompressedBytecode, this.circuitOptions.recursive);
return await this.api.acirVerifyUltraHonk(proof, new raw_buffer_js_1.RawBuffer(vkBuf));
const writeVkUltraHonk = options?.keccak
? this.api.acirWriteVkUltraKeccakHonk.bind(this.api)
: this.api.acirWriteVkUltraHonk.bind(this.api);
const verifyUltraHonk = options?.keccak
? this.api.acirVerifyUltraKeccakHonk.bind(this.api)
: this.api.acirVerifyUltraHonk.bind(this.api);
const vkBuf = await writeVkUltraHonk(this.acirUncompressedBytecode, this.circuitOptions.recursive);
return await verifyUltraHonk(proof, new raw_buffer_js_1.RawBuffer(vkBuf));
}

@@ -151,6 +160,6 @@ async getVerificationKey() {

/** @description Returns a solidity verifier */
async getSolidityVerifier() {
async getSolidityVerifier(vk) {
await this.instantiate();
await this.api.acirWriteVkUltraHonk(this.acirUncompressedBytecode, this.circuitOptions.recursive);
return await this.api.getHonkSolidityVerifier(this.acirUncompressedBytecode, this.circuitOptions.recursive);
const vkBuf = vk ?? (await this.api.acirWriteVkUltraHonk(this.acirUncompressedBytecode, this.circuitOptions.recursive));
return await this.api.acirHonkSolidityVerifier(this.acirUncompressedBytecode, vkBuf);
}

@@ -206,2 +215,10 @@ // TODO(https://github.com/noir-lang/noir/issues/5661): Update this to handle Honk recursive aggregation in the browser once it is ready in the backend itself

}
async prove(witnessMsgpack) {
await this.instantiate();
return this.api.acirProveAztecClient(this.acirMsgpack, witnessMsgpack);
}
async verify(proof, vk) {
await this.instantiate();
return this.api.acirVerifyAztecClient(proof, vk);
}
async proveAndVerify(witnessMsgpack) {

@@ -240,2 +257,2 @@ await this.instantiate();

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFja2VuZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9iYXJyZXRlbmJlcmcvYmFja2VuZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSx5Q0FBMEU7QUFDMUUsMERBQW1EO0FBQ25ELG1DQUFrRDtBQUNsRCxnREFNMkI7QUFFM0IsTUFBYSxpQkFBaUI7SUFZNUIsWUFDRSxZQUFvQixFQUNWLGlCQUFpQyxFQUFFLE9BQU8sRUFBRSxDQUFDLEVBQUUsRUFDL0MsaUJBQWlDLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRTtRQURyRCxtQkFBYyxHQUFkLGNBQWMsQ0FBaUM7UUFDL0MsbUJBQWMsR0FBZCxjQUFjLENBQXVDO1FBRS9ELElBQUksQ0FBQyx3QkFBd0IsR0FBRyxnQkFBZ0IsQ0FBQyxZQUFZLENBQUMsQ0FBQztJQUNqRSxDQUFDO0lBRUQsY0FBYztJQUNkLEtBQUssQ0FBQyxXQUFXO1FBQ2YsSUFBSSxDQUFDLElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQztZQUNkLE1BQU0sR0FBRyxHQUFHLE1BQU0sdUJBQVksQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLGNBQWMsQ0FBQyxDQUFDO1lBRXhELE1BQU0sYUFB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0FBYTtJQUNqQyxJQUFJLE9BQU8sTUFBTSxLQUFLLFdBQVcsRUFBRSxDQUFDO1FBQ2xDLHNCQUFzQjtRQUN0QixNQUFNLENBQUMsR0FBRyxNQUFNLENBQUMsSUFBSSxDQUFDLEtBQUssRUFBRSxRQUFRLENBQUMsQ0FBQztRQUN2QyxPQUFPLElBQUksVUFBVSxDQUFDLENBQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxDQUFDLFVBQVUsRUFBRSxDQUFDLENBQUMsVUFBVSxDQUFDLENBQUM7SUFDOUQsQ0FBQztTQUFNLElBQUksT0FBTyxJQUFJLEtBQUssVUFBVSxFQUFFLENBQUM7UUFDdEMsc0JBQXNCO1FBQ3RCLE9BQU8sVUFBVSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLEVBQUUsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUMsVUFBVSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUM7SUFDNUQsQ0FBQztTQUFNLENBQUM7UUFDTixNQUFNLElBQUksS0FBSyxDQUFDLDhDQUE4QyxDQUFDLENBQUM7SUFDbEUsQ0FBQztBQUNILENBQUMifQ==

@@ -55,3 +55,3 @@ "use strict";

// crsPath can be undefined
const crs = await index_js_6.Crs.new(2 ** 19 + 1, this.options.crsPath);
const crs = await index_js_6.Crs.new(2 ** 20 + 1, this.options.crsPath);
const grumpkinCrs = await index_js_6.GrumpkinCrs.new(2 ** 14 + 1, this.options.crsPath);

@@ -58,0 +58,0 @@ // Load CRS into wasm global CRS state.

#!/usr/bin/env node
import { UltraHonkBackendOptions } from './barretenberg/backend.js';
export declare function proveAndVerify(bytecodePath: string, recursive: boolean, witnessPath: string, crsPath: string): Promise<boolean>;

@@ -11,2 +12,3 @@ export declare function proveAndVerifyUltraHonk(bytecodePath: string, recursive: boolean, witnessPath: string, crsPath: string): Promise<boolean>;

export declare function contract(outputPath: string, vkPath: string): Promise<void>;
export declare function contractUltraHonk(bytecodePath: string, vkPath: string, crsPath: string, outputPath: string): Promise<void>;
export declare function writeVk(bytecodePath: string, recursive: boolean, crsPath: string, outputPath: string): Promise<void>;

@@ -16,7 +18,7 @@ export declare function writePk(bytecodePath: string, recursive: boolean, crsPath: string, outputPath: string): Promise<void>;

export declare function vkAsFields(vkPath: string, vkeyOutputPath: string): Promise<void>;
export declare function proveUltraHonk(bytecodePath: string, recursive: boolean, witnessPath: string, crsPath: string, outputPath: string): Promise<void>;
export declare function writeVkUltraHonk(bytecodePath: string, recursive: boolean, crsPath: string, outputPath: string): Promise<void>;
export declare function verifyUltraHonk(proofPath: string, vkPath: string): Promise<boolean>;
export declare function proveUltraHonk(bytecodePath: string, recursive: boolean, witnessPath: string, crsPath: string, outputPath: string, options?: UltraHonkBackendOptions): Promise<void>;
export declare function writeVkUltraHonk(bytecodePath: string, recursive: boolean, crsPath: string, outputPath: string, options?: UltraHonkBackendOptions): Promise<void>;
export declare function verifyUltraHonk(proofPath: string, vkPath: string, options?: UltraHonkBackendOptions): Promise<boolean>;
export declare function proofAsFieldsUltraHonk(proofPath: string, outputPath: string): Promise<void>;
export declare function vkAsFieldsUltraHonk(vkPath: string, vkeyOutputPath: string): Promise<void>;
//# sourceMappingURL=main.d.ts.map

@@ -48,6 +48,11 @@ import { BarretenbergWasmWorker, BarretenbergWasm } from '../barretenberg_wasm/index.js';

acirProveAndVerifyAztecClient(acirVec: Uint8Array[], witnessVec: Uint8Array[]): Promise<boolean>;
acirProveAztecClient(acirVec: Uint8Array[], witnessVec: Uint8Array[]): Promise<[Uint8Array, Uint8Array]>;
acirVerifyAztecClient(proofBuf: Uint8Array, vkBuf: Uint8Array): Promise<boolean>;
acirProveUltraHonk(acirVec: Uint8Array, recursive: boolean, witnessVec: Uint8Array): Promise<Uint8Array>;
acirProveUltraKeccakHonk(acirVec: Uint8Array, recursive: boolean, witnessVec: Uint8Array): Promise<Uint8Array>;
acirVerifyUltraHonk(proofBuf: Uint8Array, vkBuf: Uint8Array): Promise<boolean>;
acirVerifyUltraKeccakHonk(proofBuf: Uint8Array, vkBuf: Uint8Array): Promise<boolean>;
acirWriteVkUltraHonk(acirVec: Uint8Array, recursive: boolean): Promise<Uint8Array>;
getHonkSolidityVerifier(acirVec: Uint8Array, recursive: boolean): Promise<string>;
acirWriteVkUltraKeccakHonk(acirVec: Uint8Array, recursive: boolean): Promise<Uint8Array>;
acirHonkSolidityVerifier(acirVec: Uint8Array, vkBuf: Uint8Array): Promise<string>;
acirProofAsFieldsUltraHonk(proofBuf: Uint8Array): Promise<Fr[]>;

@@ -54,0 +59,0 @@ acirVkAsFieldsUltraHonk(vkBuf: Uint8Array): Promise<Fr[]>;

@@ -43,2 +43,12 @@ import { BackendOptions, Barretenberg, CircuitOptions } from './index.js';

}
/**
* Options for the UltraHonkBackend.
*/
export type UltraHonkBackendOptions = {
/**Selecting this option will use the keccak hash function instead of poseidon
* when generating challenges in the proof.
* Use this when you want to verify the created proof on an EVM chain.
*/
keccak: boolean;
};
export declare class UltraHonkBackend {

@@ -52,7 +62,7 @@ protected backendOptions: BackendOptions;

instantiate(): Promise<void>;
generateProof(compressedWitness: Uint8Array): Promise<ProofData>;
verifyProof(proofData: ProofData): Promise<boolean>;
generateProof(compressedWitness: Uint8Array, options?: UltraHonkBackendOptions): Promise<ProofData>;
verifyProof(proofData: ProofData, options?: UltraHonkBackendOptions): Promise<boolean>;
getVerificationKey(): Promise<Uint8Array>;
/** @description Returns a solidity verifier */
getSolidityVerifier(): Promise<string>;
getSolidityVerifier(vk?: Uint8Array): Promise<string>;
generateRecursiveProofArtifacts(_proof: Uint8Array, _numOfPublicInputs: number): Promise<{

@@ -72,2 +82,4 @@ proofAsFields: string[];

instantiate(): Promise<void>;
prove(witnessMsgpack: Uint8Array[]): Promise<[Uint8Array, Uint8Array]>;
verify(proof: Uint8Array, vk: Uint8Array): Promise<boolean>;
proveAndVerify(witnessMsgpack: Uint8Array[]): Promise<boolean>;

@@ -74,0 +86,0 @@ destroy(): Promise<void>;

@@ -116,5 +116,8 @@ import { Barretenberg } from './index.js';

}
async generateProof(compressedWitness) {
async generateProof(compressedWitness, options) {
await this.instantiate();
const proofWithPublicInputs = await this.api.acirProveUltraHonk(this.acirUncompressedBytecode, this.circuitOptions.recursive, gunzip(compressedWitness));
const proveUltraHonk = options?.keccak
? this.api.acirProveUltraKeccakHonk.bind(this.api)
: this.api.acirProveUltraHonk.bind(this.api);
const proofWithPublicInputs = await proveUltraHonk(this.acirUncompressedBytecode, this.circuitOptions.recursive, gunzip(compressedWitness));
const proofAsStrings = deflattenFields(proofWithPublicInputs.slice(4));

@@ -135,7 +138,13 @@ const numPublicInputs = Number(proofAsStrings[1]);

}
async verifyProof(proofData) {
async verifyProof(proofData, options) {
await this.instantiate();
const proof = reconstructHonkProof(flattenFieldsAsArray(proofData.publicInputs), proofData.proof);
const vkBuf = await this.api.acirWriteVkUltraHonk(this.acirUncompressedBytecode, this.circuitOptions.recursive);
return await this.api.acirVerifyUltraHonk(proof, new RawBuffer(vkBuf));
const writeVkUltraHonk = options?.keccak
? this.api.acirWriteVkUltraKeccakHonk.bind(this.api)
: this.api.acirWriteVkUltraHonk.bind(this.api);
const verifyUltraHonk = options?.keccak
? this.api.acirVerifyUltraKeccakHonk.bind(this.api)
: this.api.acirVerifyUltraHonk.bind(this.api);
const vkBuf = await writeVkUltraHonk(this.acirUncompressedBytecode, this.circuitOptions.recursive);
return await verifyUltraHonk(proof, new RawBuffer(vkBuf));
}

@@ -147,6 +156,6 @@ async getVerificationKey() {

/** @description Returns a solidity verifier */
async getSolidityVerifier() {
async getSolidityVerifier(vk) {
await this.instantiate();
await this.api.acirWriteVkUltraHonk(this.acirUncompressedBytecode, this.circuitOptions.recursive);
return await this.api.getHonkSolidityVerifier(this.acirUncompressedBytecode, this.circuitOptions.recursive);
const vkBuf = vk ?? (await this.api.acirWriteVkUltraHonk(this.acirUncompressedBytecode, this.circuitOptions.recursive));
return await this.api.acirHonkSolidityVerifier(this.acirUncompressedBytecode, vkBuf);
}

@@ -201,2 +210,10 @@ // TODO(https://github.com/noir-lang/noir/issues/5661): Update this to handle Honk recursive aggregation in the browser once it is ready in the backend itself

}
async prove(witnessMsgpack) {
await this.instantiate();
return this.api.acirProveAztecClient(this.acirMsgpack, witnessMsgpack);
}
async verify(proof, vk) {
await this.instantiate();
return this.api.acirVerifyAztecClient(proof, vk);
}
async proveAndVerify(witnessMsgpack) {

@@ -234,2 +251,2 @@ await this.instantiate();

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFja2VuZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9iYXJyZXRlbmJlcmcvYmFja2VuZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQWtCLFlBQVksRUFBa0IsTUFBTSxZQUFZLENBQUM7QUFDMUUsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQ25ELE9BQU8sRUFBRSxjQUFjLElBQUksTUFBTSxFQUFFLE1BQU0sUUFBUSxDQUFDO0FBQ2xELE9BQU8sRUFDTCxlQUFlLEVBQ2Ysb0JBQW9CLEVBRXBCLG9CQUFvQixFQUNwQiwwQkFBMEIsR0FDM0IsTUFBTSxtQkFBbUIsQ0FBQztBQUUzQixNQUFNLE9BQU8saUJBQWlCO0lBWTVCLFlBQ0UsWUFBb0IsRUFDVixpQkFBaUMsRUFBRSxPQUFPLEVBQUUsQ0FBQyxFQUFFLEVBQy9DLGlCQUFpQyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUU7UUFEckQsbUJBQWMsR0FBZCxjQUFjLENBQWlDO1FBQy9DLG1CQUFjLEdBQWQsY0FBYyxDQUF1QztRQUUvRCxJQUFJLENBQUMsd0JBQXdCLEdBQUcsZ0JBQWdCLENBQUMsWUFBWSxDQUFDLENBQUM7SUFDakUsQ0FBQztJQ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UMscUJBQTZCO0lBQ3JELE1BQU0sa0JBQWtCLEdBQUcsWUFBWSxDQUFDLHFCQUFxQixDQUFDLENBQUM7SUFDL0QsT0FBTyxNQUFNLENBQUMsa0JBQWtCLENBQUMsQ0FBQztBQUNwQyxDQUFDO0FBRUQsbUVBQW1FO0FBQ25FLHNFQUFzRTtBQUN0RSxTQUFTLFlBQVksQ0FBQyxLQUFhO0lBQ2pDLElBQUksT0FBTyxNQUFNLEtBQUssV0FBVyxFQUFFLENBQUM7UUFDbEMsc0JBQXNCO1FBQ3RCLE1BQU0sQ0FBQyxHQUFHLE1BQU0sQ0FBQyxJQUFJLENBQUMsS0FBSyxFQUFFLFFBQVEsQ0FBQyxDQUFDO1FBQ3ZDLE9BQU8sSUFBSSxVQUFVLENBQUMsQ0FBQyxDQUFDLE1BQU0sRUFBRSxDQUFDLENBQUMsVUFBVSxFQUFFLENBQUMsQ0FBQyxVQUFVLENBQUMsQ0FBQztJQUM5RCxDQUFDO1NBQU0sSUFBSSxPQUFPLElBQUksS0FBSyxVQUFVLEVBQUUsQ0FBQztRQUN0QyxzQkFBc0I7UUFDdEIsT0FBTyxVQUFVLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsRUFBRSxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxVQUFVLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQztJQUM1RCxDQUFDO1NBQU0sQ0FBQztRQUNOLE1BQU0sSUFBSSxLQUFLLENBQUMsOENBQThDLENBQUMsQ0FBQztJQUNsRSxDQUFDO0FBQ0gsQ0FBQyJ9

@@ -47,3 +47,3 @@ import { proxy } from 'comlink';

// crsPath can be undefined
const crs = await Crs.new(2 ** 19 + 1, this.options.crsPath);
const crs = await Crs.new(2 ** 20 + 1, this.options.crsPath);
const grumpkinCrs = await GrumpkinCrs.new(2 ** 14 + 1, this.options.crsPath);

@@ -50,0 +50,0 @@ // Load CRS into wasm global CRS state.

#!/usr/bin/env node
import { UltraHonkBackendOptions } from './barretenberg/backend.js';
export declare function proveAndVerify(bytecodePath: string, recursive: boolean, witnessPath: string, crsPath: string): Promise<boolean>;

@@ -11,2 +12,3 @@ export declare function proveAndVerifyUltraHonk(bytecodePath: string, recursive: boolean, witnessPath: string, crsPath: string): Promise<boolean>;

export declare function contract(outputPath: string, vkPath: string): Promise<void>;
export declare function contractUltraHonk(bytecodePath: string, vkPath: string, crsPath: string, outputPath: string): Promise<void>;
export declare function writeVk(bytecodePath: string, recursive: boolean, crsPath: string, outputPath: string): Promise<void>;

@@ -16,7 +18,7 @@ export declare function writePk(bytecodePath: string, recursive: boolean, crsPath: string, outputPath: string): Promise<void>;

export declare function vkAsFields(vkPath: string, vkeyOutputPath: string): Promise<void>;
export declare function proveUltraHonk(bytecodePath: string, recursive: boolean, witnessPath: string, crsPath: string, outputPath: string): Promise<void>;
export declare function writeVkUltraHonk(bytecodePath: string, recursive: boolean, crsPath: string, outputPath: string): Promise<void>;
export declare function verifyUltraHonk(proofPath: string, vkPath: string): Promise<boolean>;
export declare function proveUltraHonk(bytecodePath: string, recursive: boolean, witnessPath: string, crsPath: string, outputPath: string, options?: UltraHonkBackendOptions): Promise<void>;
export declare function writeVkUltraHonk(bytecodePath: string, recursive: boolean, crsPath: string, outputPath: string, options?: UltraHonkBackendOptions): Promise<void>;
export declare function verifyUltraHonk(proofPath: string, vkPath: string, options?: UltraHonkBackendOptions): Promise<boolean>;
export declare function proofAsFieldsUltraHonk(proofPath: string, outputPath: string): Promise<void>;
export declare function vkAsFieldsUltraHonk(vkPath: string, vkeyOutputPath: string): Promise<void>;
//# sourceMappingURL=main.d.ts.map
{
"name": "@aztec/bb.js",
"packageManager": "yarn@1.22.22",
"version": "0.66.0",
"version": "0.67.0",
"homepage": "https://github.com/AztecProtocol/aztec-packages/tree/master/barretenberg/ts",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -560,2 +560,26 @@ // WARNING: FILE CODE GENERATED BY BINDGEN UTILITY. DO NOT EDIT!

async acirProveAztecClient(acirVec: Uint8Array[], witnessVec: Uint8Array[]): Promise<[Uint8Array, Uint8Array]> {
const inArgs = [acirVec, witnessVec].map(serializeBufferable);
const outTypes: OutputType[] = [BufferDeserializer(), BufferDeserializer()];
const result = await this.wasm.callWasmExport(
'acir_prove_aztec_client',
inArgs,
outTypes.map(t => t.SIZE_IN_BYTES),
);
const out = result.map((r, i) => outTypes[i].fromBuffer(r));
return [out[0], out[1]];
}
async acirVerifyAztecClient(proofBuf: Uint8Array, vkBuf: Uint8Array): Promise<boolean> {
const inArgs = [proofBuf, vkBuf].map(serializeBufferable);
const outTypes: OutputType[] = [BoolDeserializer()];
const result = await this.wasm.callWasmExport(
'acir_verify_aztec_client',
inArgs,
outTypes.map(t => t.SIZE_IN_BYTES),
);
const out = result.map((r, i) => outTypes[i].fromBuffer(r));
return out[0];
}
async acirProveUltraHonk(acirVec: Uint8Array, recursive: boolean, witnessVec: Uint8Array): Promise<Uint8Array> {

@@ -573,2 +597,15 @@ const inArgs = [acirVec, recursive, witnessVec].map(serializeBufferable);

async acirProveUltraKeccakHonk(acirVec: Uint8Array, recursive: boolean, witnessVec: Uint8Array): Promise<Uint8Array> {
console.log('acirProveUltraKeccakHonk in');
const inArgs = [acirVec, recursive, witnessVec].map(serializeBufferable);
const outTypes: OutputType[] = [BufferDeserializer()];
const result = await this.wasm.callWasmExport(
'acir_prove_ultra_keccak_honk',
inArgs,
outTypes.map(t => t.SIZE_IN_BYTES),
);
const out = result.map((r, i) => outTypes[i].fromBuffer(r));
return out[0];
}
async acirVerifyUltraHonk(proofBuf: Uint8Array, vkBuf: Uint8Array): Promise<boolean> {

@@ -586,2 +623,14 @@ const inArgs = [proofBuf, vkBuf].map(serializeBufferable);

async acirVerifyUltraKeccakHonk(proofBuf: Uint8Array, vkBuf: Uint8Array): Promise<boolean> {
const inArgs = [proofBuf, vkBuf].map(serializeBufferable);
const outTypes: OutputType[] = [BoolDeserializer()];
const result = await this.wasm.callWasmExport(
'acir_verify_ultra_keccak_honk',
inArgs,
outTypes.map(t => t.SIZE_IN_BYTES),
);
const out = result.map((r, i) => outTypes[i].fromBuffer(r));
return out[0];
}
async acirWriteVkUltraHonk(acirVec: Uint8Array, recursive: boolean): Promise<Uint8Array> {

@@ -599,7 +648,7 @@ const inArgs = [acirVec, recursive].map(serializeBufferable);

async getHonkSolidityVerifier(acirVec: Uint8Array, recursive: boolean): Promise<string> {
async acirWriteVkUltraKeccakHonk(acirVec: Uint8Array, recursive: boolean): Promise<Uint8Array> {
const inArgs = [acirVec, recursive].map(serializeBufferable);
const outTypes: OutputType[] = [BufferDeserializer()];
const result = await this.wasm.callWasmExport(
'get_honk_solidity_verifier_vk',
'acir_write_vk_ultra_keccak_honk',
inArgs,

@@ -612,2 +661,14 @@ outTypes.map(t => t.SIZE_IN_BYTES),

async acirHonkSolidityVerifier(acirVec: Uint8Array, vkBuf: Uint8Array): Promise<string> {
const inArgs = [acirVec, vkBuf].map(serializeBufferable);
const outTypes: OutputType[] = [BufferDeserializer()];
const result = await this.wasm.callWasmExport(
'acir_honk_solidity_verifier',
inArgs,
outTypes.map(t => t.SIZE_IN_BYTES),
);
const out = result.map((r, i) => outTypes[i].fromBuffer(r));
return out[0];
}
async acirProofAsFieldsUltraHonk(proofBuf: Uint8Array): Promise<Fr[]> {

@@ -614,0 +675,0 @@ const inArgs = [proofBuf].map(serializeBufferable);

@@ -156,2 +156,13 @@ import { BackendOptions, Barretenberg, CircuitOptions } from './index.js';

/**
* Options for the UltraHonkBackend.
*/
export type UltraHonkBackendOptions = {
/**Selecting this option will use the keccak hash function instead of poseidon
* when generating challenges in the proof.
* Use this when you want to verify the created proof on an EVM chain.
*/
keccak: boolean;
};
export class UltraHonkBackend {

@@ -186,5 +197,10 @@ // These type assertions are used so that we don't

async generateProof(compressedWitness: Uint8Array): Promise<ProofData> {
async generateProof(compressedWitness: Uint8Array, options?: UltraHonkBackendOptions): Promise<ProofData> {
await this.instantiate();
const proofWithPublicInputs = await this.api.acirProveUltraHonk(
const proveUltraHonk = options?.keccak
? this.api.acirProveUltraKeccakHonk.bind(this.api)
: this.api.acirProveUltraHonk.bind(this.api);
const proofWithPublicInputs = await proveUltraHonk(
this.acirUncompressedBytecode,

@@ -218,8 +234,16 @@ this.circuitOptions.recursive,

async verifyProof(proofData: ProofData): Promise<boolean> {
async verifyProof(proofData: ProofData, options?: UltraHonkBackendOptions): Promise<boolean> {
await this.instantiate();
const proof = reconstructHonkProof(flattenFieldsAsArray(proofData.publicInputs), proofData.proof);
const vkBuf = await this.api.acirWriteVkUltraHonk(this.acirUncompressedBytecode, this.circuitOptions.recursive);
return await this.api.acirVerifyUltraHonk(proof, new RawBuffer(vkBuf));
const writeVkUltraHonk = options?.keccak
? this.api.acirWriteVkUltraKeccakHonk.bind(this.api)
: this.api.acirWriteVkUltraHonk.bind(this.api);
const verifyUltraHonk = options?.keccak
? this.api.acirVerifyUltraKeccakHonk.bind(this.api)
: this.api.acirVerifyUltraHonk.bind(this.api);
const vkBuf = await writeVkUltraHonk(this.acirUncompressedBytecode, this.circuitOptions.recursive);
return await verifyUltraHonk(proof, new RawBuffer(vkBuf));
}

@@ -233,6 +257,7 @@

/** @description Returns a solidity verifier */
async getSolidityVerifier(): Promise<string> {
async getSolidityVerifier(vk?: Uint8Array): Promise<string> {
await this.instantiate();
await this.api.acirWriteVkUltraHonk(this.acirUncompressedBytecode, this.circuitOptions.recursive);
return await this.api.getHonkSolidityVerifier(this.acirUncompressedBytecode, this.circuitOptions.recursive);
const vkBuf =
vk ?? (await this.api.acirWriteVkUltraHonk(this.acirUncompressedBytecode, this.circuitOptions.recursive));
return await this.api.acirHonkSolidityVerifier(this.acirUncompressedBytecode, vkBuf);
}

@@ -299,2 +324,12 @@

async prove(witnessMsgpack: Uint8Array[]): Promise<[Uint8Array, Uint8Array]> {
await this.instantiate();
return this.api.acirProveAztecClient(this.acirMsgpack, witnessMsgpack);
}
async verify(proof: Uint8Array, vk: Uint8Array): Promise<boolean> {
await this.instantiate();
return this.api.acirVerifyAztecClient(proof, vk);
}
async proveAndVerify(witnessMsgpack: Uint8Array[]): Promise<boolean> {

@@ -301,0 +336,0 @@ await this.instantiate();

@@ -71,3 +71,3 @@ import { proxy } from 'comlink';

// crsPath can be undefined
const crs = await Crs.new(2 ** 19 + 1, this.options.crsPath);
const crs = await Crs.new(2 ** 20 + 1, this.options.crsPath);
const grumpkinCrs = await GrumpkinCrs.new(2 ** 14 + 1, this.options.crsPath);

@@ -74,0 +74,0 @@

@@ -11,2 +11,3 @@ #!/usr/bin/env node

import path from 'path';
import { UltraHonkBackendOptions } from './barretenberg/backend.js';
createDebug.log = console.error.bind(console);

@@ -338,2 +339,23 @@ const debug = createDebug('bb.js');

export async function contractUltraHonk(bytecodePath: string, vkPath: string, crsPath: string, outputPath: string) {
const { api } = await initUltraHonk(bytecodePath, false, crsPath);
try {
console.log('bytecodePath', bytecodePath);
const bytecode = getBytecode(bytecodePath);
console.log('vkPath', vkPath);
const vk = new RawBuffer(readFileSync(vkPath));
const contract = await api.acirHonkSolidityVerifier(bytecode, vk);
if (outputPath === '-') {
process.stdout.write(contract);
debug(`contract written to stdout`);
} else {
writeFileSync(outputPath, contract);
debug(`contract written to: ${outputPath}`);
}
} finally {
await api.destroy();
}
}
export async function writeVk(bytecodePath: string, recursive: boolean, crsPath: string, outputPath: string) {

@@ -437,2 +459,3 @@ const { api, acirComposer } = await initUltraPlonk(bytecodePath, recursive, crsPath);

outputPath: string,
options?: UltraHonkBackendOptions,
) {

@@ -444,3 +467,7 @@ const { api } = await initUltraHonk(bytecodePath, recursive, crsPath);

const witness = getWitness(witnessPath);
const proof = await api.acirProveUltraHonk(bytecode, recursive, witness);
const acirProveUltraHonk = options?.keccak
? api.acirProveUltraKeccakHonk.bind(api)
: api.acirProveUltraHonk.bind(api);
const proof = await acirProveUltraHonk(bytecode, recursive, witness);
debug(`done.`);

@@ -460,3 +487,9 @@

export async function writeVkUltraHonk(bytecodePath: string, recursive: boolean, crsPath: string, outputPath: string) {
export async function writeVkUltraHonk(
bytecodePath: string,
recursive: boolean,
crsPath: string,
outputPath: string,
options?: UltraHonkBackendOptions,
) {
const { api } = await initUltraHonk(bytecodePath, recursive, crsPath);

@@ -466,4 +499,8 @@ try {

debug('initing verification key...');
const vk = await api.acirWriteVkUltraHonk(bytecode, recursive);
const acirWriteVkUltraHonk = options?.keccak
? api.acirWriteVkUltraKeccakHonk.bind(api)
: api.acirWriteVkUltraHonk.bind(api);
const vk = await acirWriteVkUltraHonk(bytecode, recursive);
if (outputPath === '-') {

@@ -481,6 +518,10 @@ process.stdout.write(vk);

export async function verifyUltraHonk(proofPath: string, vkPath: string) {
export async function verifyUltraHonk(proofPath: string, vkPath: string, options?: UltraHonkBackendOptions) {
const { api } = await initLite();
try {
const verified = await api.acirVerifyUltraHonk(readFileSync(proofPath), new RawBuffer(readFileSync(vkPath)));
const acirVerifyUltraHonk = options?.keccak
? api.acirVerifyUltraKeccakHonk.bind(api)
: api.acirVerifyUltraHonk.bind(api);
const verified = await acirVerifyUltraHonk(readFileSync(proofPath), new RawBuffer(readFileSync(vkPath)));
debug(`verified: ${verified}`);

@@ -652,2 +693,13 @@ return verified;

program
.command('contract_ultra_honk')
.description('Output solidity verification key contract.')
.option('-b, --bytecode-path <path>', 'Specify the bytecode path', './target/program.json')
.option('-o, --output-path <path>', 'Specify the path to write the contract', './target/contract.sol')
.requiredOption('-k, --vk-path <path>', 'Path to a verification key.')
.action(async ({ bytecodePath, outputPath, vkPath, crsPath }) => {
handleGlobalOptions();
await contractUltraHonk(bytecodePath, vkPath, crsPath, outputPath);
});
program
.command('write_vk')

@@ -708,2 +760,14 @@ .description('Output verification key.')

program
.command('prove_ultra_keccak_honk')
.description('Generate a proof and write it to a file.')
.option('-b, --bytecode-path <path>', 'Specify the bytecode path', './target/program.json')
.option('-r, --recursive', 'Create a SNARK friendly proof', false)
.option('-w, --witness-path <path>', 'Specify the witness path', './target/witness.gz')
.option('-o, --output-path <path>', 'Specify the proof output path', './proofs/proof')
.action(async ({ bytecodePath, recursive, witnessPath, outputPath, crsPath }) => {
handleGlobalOptions();
await proveUltraHonk(bytecodePath, recursive, witnessPath, crsPath, outputPath, { keccak: true });
});
program
.command('write_vk_ultra_honk')

@@ -720,2 +784,13 @@ .description('Output verification key.')

program
.command('write_vk_ultra_keccak_honk')
.description('Output verification key.')
.option('-b, --bytecode-path <path>', 'Specify the bytecode path', './target/program.json')
.option('-r, --recursive', 'Create a SNARK friendly proof', false)
.requiredOption('-o, --output-path <path>', 'Specify the path to write the key')
.action(async ({ bytecodePath, recursive, outputPath, crsPath }) => {
handleGlobalOptions();
await writeVkUltraHonk(bytecodePath, recursive, crsPath, outputPath, { keccak: true });
});
program
.command('verify_ultra_honk')

@@ -732,2 +807,13 @@ .description('Verify a proof. Process exists with success or failure code.')

program
.command('verify_ultra_keccak_honk')
.description('Verify a proof. Process exists with success or failure code.')
.requiredOption('-p, --proof-path <path>', 'Specify the path to the proof')
.requiredOption('-k, --vk <path>', 'path to a verification key. avoids recomputation.')
.action(async ({ proofPath, vk }) => {
handleGlobalOptions();
const result = await verifyUltraHonk(proofPath, vk, { keccak: true });
process.exit(result ? 0 : 1);
});
program
.command('proof_as_fields_honk')

@@ -734,0 +820,0 @@ .description('Return the proof as fields elements')

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc