AlgoKit Transact
The core crate providing transaction building and signing functionality for the Algorand blockchain.
Overview
algokit_transact
is the foundational crate that implements:
- Transaction building and serialization
Features
- Transaction Types: Support for all Algorand transaction types
- Serialization: MessagePack encoding/decoding
- Test Utilities: Optional testing helpers (feature:
test_utils
)
Crate Type
This crate is built as both:
cdylib
- For dynamic linking in FFI scenariosrlib
- For standard Rust library usage
Key Dependencies
serde
- Serialization frameworkrmp-serde
- MessagePack serializationsha2
- SHA-256 hashinged25519-dalek
- Ed25519 signatures (optional, test_utils feature)
Usage Examples
#![allow(unused)] fn main() { use algokit_transact::*; // Example usage would go here // This would typically include transaction building examples }
API Documentation
The complete API documentation with all transaction types, signing utilities, and core functionality.
Testing
The crate includes comprehensive tests. Run them with:
cargo test --package algokit_transact
For tests that require the test utilities:
cargo test --package algokit_transact --features test_utils