near_api_lib/lib.rs
1//! A comprehensive Rust library for interacting with the NEAR blockchain.
2//!
3//! This crate simplifies the process of building applications on the NEAR platform by providing
4//! re-exports of key components necessary for interacting with the NEAR blockchain, including
5//! account management, transaction building and signing, provider interfaces for blockchain queries,
6//! and cryptographic utilities.
7//!
8//! It is designed to offer Rust developers a streamlined, idiomatic way to create, sign, and
9//! broadcast transactions, manage accounts, and query blockchain state without dealing with the
10//! underlying complexity directly.
11//!
12//! ## Features
13//! - Account management through `near_accounts`
14//! - Transaction construction, signing, and submission via `near_transactions`
15//! - Blockchain interaction through the `near_providers` with `JsonRpcProvider`
16//! - Cryptographic operations facilitated by `near_crypto`
17//! - Access to NEAR blockchain primitives through `near_primitives`
18//!
19//! This crate aims to be a one-stop solution for Rust developers building on the NEAR platform,
20//! providing the necessary tools and abstractions to create robust, secure, and scalable applications.
21
22pub use near_accounts::accounts;
23pub use near_accounts::Account;
24
25pub use near_providers as providers;
26pub use near_providers::JsonRpcProvider;
27
28pub use near_crypto::InMemorySigner;
29
30pub use near_primitives as primitives;