Carbon Marketplace Decoder
Rust decoder for the Star Atlas Galactic Marketplace program on Solana, generated using Carbon CLI.
Program Information
- Program ID:
traderDnaR5w6Tcoi3NFm53i48FTDNbGjBSZwWXDRrg - Network: Solana Mainnet
- Description: Star Atlas Galactic Marketplace program for NFT trading with order books, currency management, and royalty distribution.
Features
- Decodes all Marketplace account types
- Full instruction parsing support
- Integration with Carbon indexing framework
- Support for orders, currencies, and marketplace configuration
Usage
Add this crate to your Cargo.toml:
[]
= "0.12.0"
Decoding Accounts
use MarketplaceDecoder;
use AccountDecoder;
let decoder = MarketplaceDecoder;
let decoded_account = decoder.decode_account;
if let Some = decoded_account
Account Types
This decoder supports all Marketplace account types:
AtlasRateAccount- ATLAS rate tracking for fee calculationsFeeReduction- Fee reduction configurationsMarketVars- Global marketplace variables and settingsOpenOrdersCounter- Counter for tracking open ordersOrderAccount- Individual buy/sell order accountsRegisteredCurrency- Registered currencies for trading
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.