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:
[]
= "latest_version_here"
Usage
To use sn_client, you first need to instantiate a client. Here's a simple example:
use Client;
let client = new.await?;
Running Tests
Prerequisites:
- A running local network. Refer to
safe_network/README.mdto run a local test network. SAFE_PEERSenvironment variable or running the tests with--feature=local-discovery:
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 Safe Network repository is licensed under the General Public License (GPL), version 3 (LICENSE http://www.gnu.org/licenses/gpl-3.0.en.html).