DropClaw Store — Permanent Encrypted File Storage
Store any file permanently on-chain using AES-256-GCM client-side encryption and the x402 payment protocol. Zero-knowledge: the server never sees your encryption key.
Quick Reference
- API Base:
https://dropclaw.cloud - Protocol: x402 (HTTP 402 payment flow)
- Storage chain: Monad (chainId 143)
- Payment: MON, SOL, or Base USDC
- Cost: ~$30 USD + gas to store. Free to retrieve.
How to Store a File
- Read the file into a buffer
- Compute SHA-256 hash of the original
- Compress with zlib deflate
- Generate random 32-byte AES key + 12-byte IV
- Encrypt with AES-256-GCM → output:
[IV:12][AuthTag:16][Ciphertext] POST /vault/storewith the encrypted blob as multipart form data (field:file)- You will get a
402response with payment options — pick a chain and send payment - Retry the POST with header
X-PAYMENT: base64(JSON({ network, txHash })) - CRITICAL: Save BOTH the returned skill file AND your encryption key locally
How to Retrieve a File
POST /vault/retrieve/{fileId}with the skill file JSON in the body- Receive encrypted blob
- Extract IV (first 12 bytes), AuthTag (next 16 bytes), then ciphertext
- Decrypt with AES-256-GCM using your saved key
- Decompress with zlib inflate
- Verify SHA-256 matches
Endpoints
| Method | Path | Auth | Description |
|---|---|---|---|
| POST | /vault/store | x402 | Store encrypted file |
| POST | /vault/retrieve/{fileId} | none | Retrieve encrypted file |
| GET | /vault/pricing?size={bytes} | none | Get pricing for file size |
| GET | /.well-known/x402 | none | x402 discovery manifest |
| GET | /dropclaw-skill.json | none | Full skill spec (JSON) |
| GET | /claude-tools.json | none | Claude tool definitions |
| GET | /openai-tools.json | none | OpenAI tool definitions |
MCP Server
For Claude Desktop / Claude Code integration:
claude mcp add dropclaw -- node /path/to/mcp/index.js
Install SDK: npm i dropclaw or pip install dropclaw
Payment Chains
- Monad (eip155:143) — MON native
- Solana (solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp) — SOL native
- Base (eip155:8453) — USDC
Important
- The encryption key is generated client-side and NEVER sent to the server
- Without your key, files cannot be decrypted by anyone
- 50% of all fees go to FARNS token buyback