81 releases (31 breaking)

new 0.32.0 Dec 29, 2024
0.31.0 Nov 4, 2024
0.30.2 Sep 8, 2024
0.29.0 Jul 16, 2024
0.3.4 Dec 19, 2021

#3 in #ouroboros

Download history 205/week @ 2024-09-02 242/week @ 2024-09-09 182/week @ 2024-09-16 260/week @ 2024-09-23 363/week @ 2024-09-30 59/week @ 2024-10-07 49/week @ 2024-10-14 166/week @ 2024-10-21 56/week @ 2024-10-28 246/week @ 2024-11-04 219/week @ 2024-11-11 220/week @ 2024-11-18 70/week @ 2024-11-25 20/week @ 2024-12-02 224/week @ 2024-12-09 57/week @ 2024-12-16

381 downloads per month
Used in 4 crates (3 directly)

Apache-2.0

1MB
21K SLoC

Pallas Logo

Rust-native building blocks for the Cardano blockchain ecosystem

GitHub Crates.io GitHub Workflow Status

Introduction

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).

Unboxing

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.

Core

Crates Description
pallas-codec Shared CBOR encoding / decoding using minicbor lib
pallas-crypto Shared Cryptographic primitives
pallas-math Shared mathematics functions

Network

Crates Description
pallas-network Network stack providing multiplexer and mini-protocol implementations

Ledger

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

Wallet

Crates Description
pallas-wallet Wallet utilities for secure key management
pallas-txbuilder Ergonomic transaction builder

Interop

Crates Description
pallas-hardano Interoperability with implementation-specific artifacts of the Haskell Cardano node
pallas-utxorpc Interoperability with the UTxO RPC specification

Etymology

Pallas: (Greek mythology) goddess of wisdom and useful arts and prudent warfare;

Dependencies

~12–23MB
~347K SLoC