sn_client - SAFE Network Client Library

Overview

The sn_client library provides the core functionalities for interacting with the SAFE Network. It handles tasks such as connecting to the network, managing concurrency, and performing various network operations like data storage and retrieval.

Table of Contents

Installation

To include sn_client in your Rust project, add the following to your Cargo.toml:

toml [dependencies] sn_client = "latest_version_here"

Usage

To use sn_client, you first need to instantiate a client. Here's a simple example:

rust use sn_client::Client; let client = Client::new(signer, peers, req_response_timeout, custom_concurrency_limit).await?;

API Calls

new

get_signed_register_from_network

get_register

create_register

store_chunk

get_chunk

network_store_spend

get_spend_from_network

get_store_costs_at_address

Contributing

Please refer to the Contributing Guidelines from the main directory for details on how to contribute to this project.

Conventional Commits

We follow the Conventional Commits specification for commit messages. Please adhere to this standard when contributing.

License

This project is licensed under the MIT License.