#solana-carbon #solana #decoder

carbon-crew-decoder

Rust decoder for Star Atlas Crew management program on Solana

3 unstable releases

Uses new Rust 2024

new 0.12.1 Jan 21, 2026
0.12.0 Jan 16, 2026
0.10.0 Oct 15, 2025

#2645 in Encoding

Download history 56/week @ 2025-10-09 103/week @ 2025-10-16 55/week @ 2025-10-23 62/week @ 2025-10-30 47/week @ 2025-11-06 44/week @ 2025-11-13 23/week @ 2025-11-20 12/week @ 2025-11-27 17/week @ 2025-12-04 123/week @ 2025-12-11 32/week @ 2025-12-18 36/week @ 2026-01-01 36/week @ 2026-01-08 6/week @ 2026-01-15

78 downloads per month

Apache-2.0

49KB
960 lines

Carbon Crew Decoder

Rust decoder for the Star Atlas Crew management program on Solana, generated using Carbon CLI.

Program Information

  • Program ID: CREWiq8qbxvo4SKkAFpVnc6t7CRQC4tAAscsNAENXgrJ
  • Network: Solana Mainnet
  • Description: Star Atlas Crew management program for managing crew members, pack types, and redemptions in the Star Atlas ecosystem.

Features

  • Decodes all Crew account types
  • Full instruction parsing support
  • Integration with Carbon indexing framework
  • Support for crew configuration, pack management, and SFT redemptions

Usage

Add this crate to your Cargo.toml:

[dependencies]
carbon-crew-decoder = "0.12.0"

Decoding Accounts

use carbon_crew_decoder::CrewDecoder;
use carbon_core::account::AccountDecoder;

let decoder = CrewDecoder;
let decoded_account = decoder.decode_account(&account);

if let Some(decoded) = decoded_account {
    match decoded.data {
        CrewAccount::CrewConfig(config) => {
            println!("Crew Config: {:?}", config);
        }
        CrewAccount::PackTiers(tiers) => {
            println!("Pack Tiers: {:?}", tiers);
        }
        CrewAccount::PackType(pack_type) => {
            println!("Pack Type: {:?}", pack_type);
        }
        CrewAccount::SftRedemption(redemption) => {
            println!("SFT Redemption: {:?}", redemption);
        }
        CrewAccount::UserRedemption(user_redemption) => {
            println!("User Redemption: {:?}", user_redemption);
        }
    }
}

Account Types

This decoder supports all Crew account types:

  • CrewConfig - Crew configuration and metadata
  • PackTiers - Pack tier definitions
  • PackType - Pack type configuration
  • SftRedemption - SFT redemption tracking
  • UserRedemption - User redemption records

Documentation

Full documentation is available at docs.rs.

Repository

See the main repository for build instructions and contribution guidelines.

License

Licensed under the Apache-2.0 license.

Dependencies

~23–40MB
~553K SLoC