pub trait ZkvmGuest: Zkvm {
    // Required method
    fn read_from_host<T: DeserializeOwned>(&self) -> T;
}
Expand description

A trait which is accessible from within a zkVM program.

Required Methods§

source

fn read_from_host<T: DeserializeOwned>(&self) -> T

Obtain “advice” non-deterministically from the host

Implementors§