solana-primitives 0.2.6

Fundamental data structures and tools needed to construct and submit Solana transactions.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub mod borsh_helpers;
pub mod builder;
pub mod crypto;
pub mod error;
pub mod instructions;
pub mod short_vec;
pub mod types;

pub use borsh_helpers::{bytes_to_compact_array, compact_array_to_bytes};
pub use builder::{InstructionBuilder, InstructionDataBuilder, TransactionBuilder};
pub use crypto::*;
pub use error::{Result, SolanaError};
pub use instructions::*;
pub use short_vec::{
    ShortU16, ShortVec, decode_compact_u16_len, encode_length_to_compact_u16_bytes,
};
pub use types::*;