Storb is a decentralized object storage subnet built on the Bittensor network. It aims to be a distributed, fault-tolerant, and efficient digital storage solution.
-
Decentralization: Utilizes a network of nodes to store data redundantly.
-
Erasure Coding: Enhances data reliability and storage efficiency by fragmenting and distributing data across multiple nodes, allowing reconstruction even if some fragments are lost.
-
Incentivized Storage: Storb leverages the power of the Bittensor network. The subnet rewards miners for contributing reliable and responsive storage resources, with validators ensuring data integrity. Bittensor serves as the ideal incentive layer for this.
For an overview of how the subnet works, see here.
-
Clone the repository:
git clone https://github.com/storb-tech/storb.git cd storb
-
Set up environment and dependencies:
Install the Rust nightly toolchain.
If you're using Ubuntu, you should be using Ubuntu 24.04 LTS. Ensure that the following dependencies are installed:
sudo apt update sudo apt install build-essential clang libclang-dev libssl-dev pkg-config
We highly recommend installing
librocksdb
locally to speed up compile times. If you're on a Debian-based system:sudo apt install librocksdb-dev
OR
If you use NixOS or the Nix package manager, you can use the provided flakes in this repository to get set up. It will install the necessary dependencies and Rust toolchains for you.
-
Compile:
When compiling, we highly recommend setting
ROCKSDB_LIB_DIR
to avoid recompiling RocksDB every time. If you are using the Nix flake then this is done automatically.ROCKSDB_LIB_DIR=/usr/lib/x86_64-linux-gnu cargo build --release # Your executable: ./target/release/storb
-
Configure and run node:
Copy the
settings.toml.example
file and name itsettings.toml
, then update the configuration options as needed.Specific instructions for the miner and validator:
We welcome contributions to enhance Storb. Please fork the repository and submit a pull request with your improvements.
This project is licensed under the MIT License. See the LICENSE file for details.
For questions or support, please open an issue in this repository or contact the maintainers on the Storb or Bittensor Discord server.