# Storage

This package is designed to optimize storing and retrieving procedures, enhancing data management within the 4thTech protocol system.

### Installation

```bash
npm install @4thtech-sdk/storage
```

### Core Functionality

#### Remote Storage Provider

The heart of the storage system is the **Remote Storage Provider**. It's an abstract class that outlines the fundamental operations for any storage provider. All custom storage provider implementations will extend this class to leverage its capabilities.

* Documentation: [Remote Storage Provider Details](https://github.com/4thtech/wiki.4thtech.io/blob/main/docs/sdk/storage/remote-storage-provider/README.md)

#### Remote Storage Provider Implementations

Different storage solutions can be integrated into the 4thTech protocol system by creating custom implementations of the `RemoteStorageProvider` abstract class.

* [PollinationX Storage Provider](https://github.com/4thtech/wiki.4thtech.io/blob/main/docs/sdk/storage/remote-storage-providers/pollination-x/README.md) A provider tailored for the BitTorrent File System (BTFS). It offers seamless upload and download functionalities for files on BTFS.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.4thtech.io/sdk/storage.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
