@nori-zk/ethprocessor
Version:
zkApp for verifying SP1 Helios Nori proof and storing latest execution state root on Mina
20 lines (19 loc) • 854 B
TypeScript
import 'dotenv/config';
import { type EthProofType } from './ethProcessor.js';
import { EthVerifier, type CreateProofArgument, type VerificationKey, type Bytes32, type FileSystemCacheConfig } from '@nori-zk/o1js-zk-utils';
export declare class MinaEthProcessorSubmitter {
#private;
private cache;
readonly ethProcessorVerificationKey: VerificationKey;
readonly ethVerifierVerificationKey: VerificationKey;
protected readonly minaRPCNetworkUrl: string;
constructor(cache?: FileSystemCacheConfig);
networkSetUp(): Promise<void>;
compileContracts(): Promise<void>;
deployContract(storeHash: Bytes32): Promise<void>;
createProof(proofArguments: CreateProofArgument): Promise<ReturnType<typeof EthVerifier.compute>>;
submit(ethProof: EthProofType): Promise<{
txId: string;
txHash: string;
}>;
}