solana-address-book

Crates.iosolana-address-book
lib.rssolana-address-book
version0.2.0
created_at2025-08-28 19:43:12.70121+00
updated_at2025-09-01 08:10:05.649483+00
descriptionA library for managing and tracking Solana addresses used in transactions
homepagehttps://github.com/macalinao/testsvm
repositoryhttps://github.com/macalinao/testsvm
max_upload_size
id1814545
size143,347
Ian Macalinao (macalinao)

documentation

https://docs.rs/solana-address-book

README

Solana Address Book

Crates.io Documentation

A Rust library for managing and tracking Solana addresses used in transactions. This crate provides a comprehensive address book system that helps with debugging and transaction analysis by maintaining labeled mappings of Solana public keys to their roles and purposes.

Features

  • Address Registration: Register Solana addresses with human-readable labels and specific roles
  • Multiple Role Types: Support for wallets, mints, ATAs, PDAs, programs, and custom roles
  • Address Lookup: Quickly find addresses by label, role, or public key
  • Formatted Display: Colored terminal output for easy address identification
  • Text Replacement: Replace raw public keys in text with their labeled names
  • Comprehensive Testing: Full test suite covering all functionality

Supported Address Types

  • Wallets: Standard user wallets
  • Mints: Token mint addresses
  • ATAs: Associated Token Accounts with mint/owner relationships
  • PDAs: Program Derived Addresses with seeds and bump information
  • Programs: Smart contract program addresses
  • Custom: User-defined roles for specific use cases

License

Copyright (c) 2025 Ian Macalinao. Licensed under the Apache License, Version 2.0.

Commit count: 48

cargo fmt