UNPKG

vlayer-web-proof

Version:

It is a npm package for vlayer web proof mechanism. It uses native rust bindings for maximum efficiency.

6 lines (5 loc) 333 B
import type { WebProofOptions, WebProofResult, PerformanceMetrics } from './types'; export declare function webProof(url: string, options?: WebProofOptions): Promise<WebProofResult & { metrics?: PerformanceMetrics; }>; export declare function simpleWebProof(notaryHost: string, notaryPort: number, url: string): Promise<string>;