carbon-claim-stake-decoder

Crates.iocarbon-claim-stake-decoder
lib.rscarbon-claim-stake-decoder
version0.12.1
created_at2026-01-21 23:45:44.773438+00
updated_at2026-01-21 23:45:44.773438+00
descriptionRust decoder for Star Atlas Claim Stake program on Solana
homepagehttps://github.com/staratlasmeta/star-atlas-decoders
repositoryhttps://github.com/staratlasmeta/star-atlas-decoders
max_upload_size
id2060425
size157,995
Owners (github:immington-industries:owners)

documentation

README

Carbon Claim Stake Decoder

Rust decoder for the Star Atlas Claim Stake program on Solana, generated using Carbon CLI.

Program Information

  • Program ID: STAKEr4Bh8sbBMoAVmTDBRqouPzgdocVrvtjmhJhd65
  • Network: Solana Mainnet
  • Description: Star Atlas Claim Stake program for staking functionality.

Features

  • Decodes all Claim Stake account types
  • Full instruction parsing support
  • Integration with Carbon indexing framework

Usage

Add this crate to your Cargo.toml:

[dependencies]
carbon-claim-stake-decoder = "0.12.0"

Decoding Accounts

use carbon_claim_stake_decoder::{ClaimStakeDecoder, ClaimStakeAccount};
use carbon_core::account::AccountDecoder;

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

if let Some(decoded) = decoded_account {
    match decoded.data {
        // Handle account types
        _ => println!("Decoded account: {:?}", decoded.data),
    }
}

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.

Commit count: 104

cargo fmt