Skip to main content

sof_solana_compat/
lib.rs

1#![forbid(unsafe_code)]
2
3//! Explicit Solana-coupled compatibility layer for `sof` and `sof-tx`.
4
5/// Solana-native submit helpers layered on top of `sof-tx`.
6mod submit_ext;
7/// Solana-native transaction builder and signing helpers.
8mod tx_builder;
9
10pub use sof_tx;
11pub use sof_types;
12pub use submit_ext::{SolanaCompatSubmitError, TxSubmitClientSolanaExt};
13pub use tx_builder::{
14    BuilderError, DEFAULT_DEVELOPER_TIP_LAMPORTS, DEFAULT_DEVELOPER_TIP_RECIPIENT,
15    MAX_TRANSACTION_ACCOUNT_LOCKS, MAX_TRANSACTION_WIRE_BYTES, SignerRef, TxBuilder,
16    TxMessageVersion, UnsignedTx,
17};