UNPKG

@aleohq/sdk

Version:

A Software Development Kit (SDK) for Zero-Knowledge Transactions

9 lines (8 loc) 297 B
import { PrivateKey } from "./index"; export interface WorkerAPI { executeOffline: (localProgram: string, aleoFunction: string, inputs: string[], privateKey: string) => Promise<{ outputs: any; execution: string; } | string>; getPrivateKey: () => Promise<PrivateKey>; }