hashtree-blossom
Blossom protocol client for hashtree - upload/download blobs with NIP-98 auth.
Blossom is a simple blob storage protocol. This crate provides a client for uploading and downloading blobs to Blossom servers.
Features
- Upload blobs with NIP-98 authentication
- Download blobs by SHA256 hash
- Check blob existence
- List blobs by pubkey
Usage
use BlossomClient;
use Keys;
let keys = generate;
let client = new;
// Upload
let hash = client.upload.await?;
// Download
let data = client.download.await?;
// Check existence
let exists = client.has.await?;
Part of hashtree-rs.