@nori-zk/ethprocessor
Version:
zkApp for verifying SP1 Helios Nori proof and storing latest execution state root on Mina
24 lines (23 loc) • 815 B
TypeScript
import { EthProcessor, EthProofType } from './EthProcessor.js';
import { EthVerifier } from './EthVerifier.js';
import { PrivateKey, NetworkId } from 'o1js';
import { CreateProofArgument } from './interfaces.js';
export declare class MinaEthProcessorSubmitter {
private type;
zkApp: EthProcessor;
senderPrivateKey: PrivateKey;
zkAppPrivateKey: PrivateKey;
network: NetworkId;
proofsEnabled: boolean;
testMode: boolean;
txFee: number;
constructor(type?: 'plonk');
networkSetUp(): Promise<void>;
compileContracts(): Promise<void>;
deployContract(): Promise<void>;
createProof(proofArguments: CreateProofArgument): Promise<ReturnType<typeof EthVerifier.compute>>;
submit(ethProof: EthProofType): Promise<{
txId: string;
txHash: string;
}>;
}