Quick Start
Install
npm install @freezedry/compress @freezedry/solana @freezedry/jobsBrowser (no bundler)
import { wrap, unwrap } from 'https://esm.sh/@freezedry/[email protected]?bundle';
import { shred, buildMemoTxs, confirmBatch, fetchBlob, estimateCost }
from 'https://esm.sh/@freezedry/[email protected]?bundle';Preserve a File
// Wrap any file into a .hyd blob
const blob = wrap(fileBytes, { mode: 'open' });
// Estimate cost
const cost = estimateCost(blob.byteLength);
console.log(`${cost.chunks} chunks, ~${cost.sol.toFixed(6)} SOL`);Shred and Inscribe
Reconstruct from Chain
Encrypted Inscription
SDK Packages
Package
Purpose
Standalone Tool
Last updated
