-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: expand the README for miden-objects (#501)
- Loading branch information
1 parent
3841349
commit 8eb0410
Showing
1 changed file
with
50 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,52 @@ | ||
# Miden Objects | ||
|
||
Core components of the Polygon Miden rollup. | ||
This crates contains core components defining the Miden rollup protocol. | ||
|
||
## Modules | ||
|
||
Here is a broad overview of each module, with links to additional documentation. | ||
|
||
|
||
### Accounts | ||
|
||
Structures used to define accounts, including abstractions over its code, storage, and vault. | ||
|
||
[Documentation](https://0xpolygonmiden.github.io/miden-base/architecture/accounts.html). | ||
|
||
### Assets | ||
|
||
Structures used to define fungible and non-fungible assets. Accounts own assets and store them in their vaults. | ||
|
||
[Documentation](https://0xpolygonmiden.github.io/miden-base/architecture/assets.html) | ||
|
||
|
||
### Block | ||
|
||
Structures used to define a block. These objects contains authentication structures, merkle trees, used to represent the state of the rollup at a given point in time. | ||
|
||
### Notes | ||
|
||
Structures used to define notes. Notes are messages that contain code and assets. They describe their own behavior and allow for interaction among accounts. Notes come in multiple flavors, refer to the docs for additional details. | ||
|
||
[Documentation](https://0xpolygonmiden.github.io/miden-base/architecture/notes.html) | ||
|
||
### Transaction | ||
|
||
Structures used to define Miden rollup transactions. Transactions describe changes to an account, and may include consumption and production of notes. The objects in this module allow for the representation of transactions at multiple stages of its lifecycle, from creation, to data aggregation, execution with trace collection, and finally an executed transaction with a corresponding STARK proof. | ||
|
||
[Documentation](https://0xpolygonmiden.github.io/miden-base/architecture/transactions.html). | ||
|
||
## Features | ||
|
||
Description of this crate's feature: | ||
|
||
| 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. | | ||
| `serde` | Enables serialization of most objects via `serde`. | | ||
| `testing` | Enables testing utilities and reduces proof-of-work requirements to speed up tests' runtimes. | | ||
|
||
## License | ||
|
||
This project is [MIT licensed](../LICENSE). |