turdle_client/
lib.rs

1//! Trdelnik is a suite of tools and libraries for testing, auditing and developing
2//! [Solana](https://solana.com/) / [Anchor](https://book.anchor-lang.com/chapter_1/what_is_anchor.html) programs (smart contracts).
3//!
4//! Trdelnik could be useful for writing Rust dApps, too.
5
6pub use anchor_client::{
7    self,
8    anchor_lang::{self, prelude::System, Id, InstructionData, ToAccountMetas},
9    solana_sdk::{
10        self,
11        instruction::Instruction,
12        pubkey::Pubkey,
13        signature::Signature,
14        signer::{keypair::Keypair, Signer},
15    },
16    ClientError,
17};
18pub use anyhow::{self, Error};
19pub use futures::{self, FutureExt};
20pub use rstest::*;
21pub use serial_test;
22pub use solana_transaction_status::EncodedConfirmedTransactionWithStatusMeta;
23pub use tokio;
24pub use trdelnik_test::trdelnik_test;
25
26mod config;
27
28mod client;
29pub use client::Client;
30pub use client::PrintableTransaction;
31
32mod reader;
33pub use reader::Reader;
34
35mod commander;
36pub use commander::{Commander, LocalnetHandle};
37
38mod tester;
39pub use tester::Tester;
40
41mod temp_clone;
42pub use temp_clone::TempClone;
43
44mod keys;
45pub use keys::*;
46
47pub mod idl;
48pub mod program_client_generator;
49
50pub mod test_generator;
51pub use test_generator::TestGenerator;
52
53pub mod error_reporter;
54pub use error_reporter::*;