Skip to main content

light_token_client/
lib.rs

1//! # light-token-client
2//!
3//! Rust client for light-token. Each action builds, signs,
4//! and sends the transaction.
5//!
6//! | Action | Description |
7//! |--------|-------------|
8//! | [`CreateMint`] | Create a light-token mint with metadata |
9//! | [`CreateAta`] | Create an associated light-token account |
10//! | [`MintTo`] | Mint tokens to a light-token account |
11//! | [`Transfer`] | Transfer light-tokens between accounts |
12//! | [`TransferChecked`] | Transfer with decimal validation |
13//! | [`TransferInterface`] | Transfer between light-token, T22, and SPL accounts |
14//! | [`Approve`] | Approve a delegate |
15//! | [`Revoke`] | Revoke a delegate |
16//! | [`Wrap`] | Wrap SPL/T22 to light-token |
17//! | [`Unwrap`] | Unwrap light-token to SPL/T22 |
18//!
19//!
20
21pub mod actions;
22
23// Re-export actions at crate root for convenience
24pub use actions::*;