{"id":66481,"library":"pallas-primitives","title":"Pallas Primitives","description":"Ledger primitives and CBOR codec for the different Cardano eras.","status":"active","version":"1.1.0","language":"rust","source_language":null,"source_url":"https://github.com/txpipe/pallas","tags":["cardano","blockchain","cbor","ledger"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\npallas-primitives = \"1.1.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add pallas-primitives","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"TransactionBody","correct":"use pallas_primitives::alonzo::TransactionBody;"}],"quickstart":{"code":"use pallas_primitives::alonzo::TransactionBody;\n\nfn main() {\n    let body = TransactionBody::default();\n    println!(\"Transaction body created\");\n}","lang":"rust","description":"Creates a default Alonzo-era transaction body."},"warnings":[{"fix":"Enable the desired era feature in Cargo.toml: features = [\"alonzo\"]","message":"Era-specific types require correct feature flags (e.g., 'alonzo', 'babbage').","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'blockchain':14 'cardano':11,13 'cbor':6,15 'codec':7 'differ':10 'era':12 'ledger':3,16 'palla':1 'primit':2,4","created_at":"2026-06-17T17:24:22.900453+00:00","updated_at":"2026-06-17T17:24:22.900453+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/txpipe/pallas","github":"https://github.com/txpipe/pallas","docs":"https://docs.rs/pallas-primitives/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["crypto","serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}