360 Secure SkillHub
360 安全技能中心

DropClaw Store

该 Skill 在本地完成 SHA-256 校验、zlib 压缩与 AES-256-GCM 加密,经 x402 支付流程把密文上传至 DropClaw 网关做永久存储,也可按 fileId 取回密文后本地解密并校验原文件,密钥始终留在本地。

分类:自动化
timowhite88
timowhite88
热度 16.75
最近更新 2026-05-11 17:25:52

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add timowhite88/dropclaw-store
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
dropclaw-store
description
Store and retrieve encrypted files permanently on Monad blockchain via DropClaw x402 gateway
homepage
https://dropclaw.cloud
user-invocable
true

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

  1. Read the file into a buffer
  2. Compute SHA-256 hash of the original
  3. Compress with zlib deflate
  4. Generate random 32-byte AES key + 12-byte IV
  5. Encrypt with AES-256-GCM → output: [IV:12][AuthTag:16][Ciphertext]
  6. POST /vault/store with the encrypted blob as multipart form data (field: file)
  7. You will get a 402 response with payment options — pick a chain and send payment
  8. Retry the POST with header X-PAYMENT: base64(JSON({ network, txHash }))
  9. CRITICAL: Save BOTH the returned skill file AND your encryption key locally

How to Retrieve a File

  1. POST /vault/retrieve/{fileId} with the skill file JSON in the body
  2. Receive encrypted blob
  3. Extract IV (first 12 bytes), AuthTag (next 16 bytes), then ciphertext
  4. Decrypt with AES-256-GCM using your saved key
  5. Decompress with zlib inflate
  6. 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