hashtree-blossom

Crates.iohashtree-blossom
lib.rshashtree-blossom
version0.2.3
created_at2025-12-17 15:37:23.970932+00
updated_at2026-01-19 13:14:09.901032+00
descriptionBlossom protocol client for hashtree - upload/download blobs with NIP-98 auth
homepage
repositoryhttps://files.iris.to/#/npub1xndmdgymsf4a34rzr7346vp8qcptxf75pjqweh8naa8rklgxpfqqmfjtce/hashtree
max_upload_size
id1990544
size83,752
Martti Malmi (mmalmi)

documentation

README

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 hashtree_blossom::BlossomClient;
use nostr::Keys;

let keys = Keys::generate();
let client = BlossomClient::new(keys);

// Upload
let hash = client.upload("https://blossom.example.com", &data).await?;

// Download
let data = client.download("https://blossom.example.com", &hash).await?;

// Check existence
let exists = client.has("https://blossom.example.com", &hash).await?;

Part of hashtree-rs.

Commit count: 0

cargo fmt