1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//! # NEAR Workspaces
//!
//! A library for automating workflows and writing tests for NEAR smart contracts.
//! This software is not final, and will likely change.

#[cfg(feature = "unstable")]
mod cargo;
#[cfg(feature = "unstable")]
pub use cargo::compile_project;

mod rpc;
mod types;
mod worker;

pub mod network;
pub mod operations;
pub mod prelude;
pub mod result;

pub use network::variants::{DevNetwork, Network};
pub use types::account::{Account, AccountDetails, Contract};
pub use types::block::Block;
pub use types::{AccessKey, AccountId, BlockHeight, CryptoHash, InMemorySigner};
pub use worker::{
    mainnet, mainnet_archival, sandbox, testnet, testnet_archival, with_mainnet,
    with_mainnet_archival, with_sandbox, with_testnet, with_testnet_archival, Worker,
};