arkiv_sdk/
lib.rs

1#![doc = include_str!("../README.md")]
2
3/// Re-export commonly used types from `alloy`.
4pub use alloy::{
5    primitives::{Address, keccak256},
6    signers::{Signature, local::PrivateKeySigner},
7    transports::http::reqwest::Url,
8};
9
10pub use client::{ArkivClient, ArkivRoClient};
11pub use entity::{Annotation, Hash, NumericAnnotation, StringAnnotation};
12
13/// Module for Ethereum transaction-related functionality.
14/// Provides helpers for constructing, signing, and sending Ethereum transactions.
15pub mod eth;
16
17/// Module for JSON-RPC-related functionality.
18/// Contains utilities for interacting with JSON-RPC endpoints, including request/response types.
19pub mod rpc;
20
21/// Module for Arkiv client functionality.
22/// Exposes the main client interface for interacting with the Arkiv network.
23pub mod client;
24
25/// Module for Arkiv entities and data types.
26/// Defines core types such as annotations, hashes, and entity representations.
27pub mod entity;
28
29/// Module for event handling.
30/// Contains types and utilities for working with Arkiv events.
31pub mod events;
32
33/// Module with utility functions.
34/// Includes helpers for encoding, decoding, and other common tasks.
35pub mod utils;