docs.rs failed to build miden-tx-0.3.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
miden-tx-0.12.4
Miden Transaction
This crate contains tool for creating, executing, and proving Miden rollup transaction.
Usage
This crate exposes a few components to compile, run, and prove transactions.
The first requirement is to have a DataStore implementation. DataStore objects are responsible to load the data needed by the transactions executor, specially the account's code, the reference block data, and the note's inputs.
let store = DataStore:new;
Once a store is available, a TransactionExecutor object can be used to execute a transaction. Consuming a zero or more notes, and possibly calling some of the account's code.
let executor = new;
let executed_transaction = executor.execute_transaction;
With the transaction execution done, it is then possible to create a proof:
let prover = new;
let proven_transaction = prover.prove_transaction;
And to verify a proof:
let verifier = new;
verifier.verify;
Features
| Features | Description |
|---|---|
std |
Enable usage of Rust's std, use --no-default-features for no-std support. |
concurrent |
Enables concurrent code to speed up runtime execution. |
License
This project is MIT licensed.