Crates.io | pallas |
lib.rs | pallas |
version | |
source | src |
created_at | 2021-12-03 02:07:26.89207+00 |
updated_at | 2025-03-10 11:34:46.691513+00 |
description | Rust-native building blocks for the Cardano blockchain ecosystem. |
homepage | https://github.com/txpipe/pallas |
repository | https://github.com/txpipe/pallas |
max_upload_size | |
id | 491510 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Pallas is an expanding collection of modules that re-implements common Ouroboros / Cardano logic in native Rust. This crate doesn't provide any particular application, it is meant to be used as a base layer to facilitate the development of higher-level use-cases, such as explorers, wallets, etc (who knows, maybe even a full node in a far away future).
The repository is organized as a Cargo workspace. Each Pallas "building block" lives in its own crate. The root pallas
crate serves as an all-in-one dependency that re-exports all of the other modules in an hierarchically organized fashion, using Cargo features
to tailor the setup for each use-case.
As already explained, Pallas aims at being an expanding set of components. The following tables describe the currently available crates, as well as the planned ones.
Crates | Description |
---|---|
pallas-multiplexer | Multithreaded Ouroboros multiplexer implementation using mpsc channels |
pallas-miniprotocols | Implementation of the Ouroboros network mini-protocols state-machines |
Crates | Description |
---|---|
pallas-leadership | Implementation of the slot leadership selection algorithm |
pallas-selection | Implementation of the consensus chain-selection algorithm |
Crates | Description |
---|---|
pallas-primitives | Ledger primitives and cbor codec for the different Cardano eras |
pallas-traverse | Utilities to traverse over multi-era block data |
pallas-addresses | Encode / decode Cardano addresses of any type |
pallas-ticking | Time passage implementation for consensus algorithm |
pallas-applying | Logic for validating and applying new blocks and txs to the chain state |
pallas-forecasting | Ledger forecasting algorithm to be used by the consensus layer |
Crates | Description |
---|---|
pallas-crypto | Shared Cryptographic primitives |
pallas-codec | Shared CBOR encoding / decoding using minicbor lib |
Pallas: (Greek mythology) goddess of wisdom and useful arts and prudent warfare;