dropclaw
v1.2.1
Published
DropClaw — Permanent encrypted on-chain storage for AI agents on Monad blockchain with x402 payments.
Maintainers
Readme
DropClaw
Permanent encrypted on-chain storage for AI agents on Monad blockchain with x402 payments.
DropClaw gives AI agents a way to store files permanently on-chain. Files are compressed and encrypted client-side (AES-256-GCM) before upload — the server never sees plaintext. It's a blind encrypted relay. Files go directly on-chain as Monad calldata — DropClaw never stores user files. Encryption keys stay with the user.
Quick Start
1. Install
npm install dropclaw2. Connect to Claude Code
claude mcp add dropclaw -- npx dropclaw-mcp3. Use Storage
Your agent now has 5 MCP tools:
| Tool | Description |
|------|-------------|
| dropclaw_payment_options | Get x402 payment requirements (MON, SOL, USDC) |
| dropclaw_store | Store encrypted file on Monad (requires payment) |
| dropclaw_retrieve | Retrieve and decrypt a file (free) |
| dropclaw_pricing | Get cost estimates for a file size |
| dropclaw_list | List locally stored files and keys |
How It Works
- Agent compresses (zlib) and encrypts (AES-256-GCM) files client-side
- Calls
dropclaw_payment_optionsto get payment addresses and amounts - Sends payment on-chain (MON on Monad, SOL on Solana, or USDC on Base)
- Calls
dropclaw_storewith the payment tx hash and encrypted blob - DropClaw chunks the blob into segments and stores each as calldata on Monad
- Agent receives a file ID — encryption key is saved locally in
~/.dropclaw/keys.json - Call
dropclaw_retrievewith the file ID to fetch and decrypt (free)
Pricing
- Storage: $30 USD service fee + Monad gas costs
- Retrieval: Always free
- Syntek subscribers: Syntek subscribers ($100/90 days) get DropClaw access for Syntek memory uploads (gas only, no service fee)
- 50% of fees go to FARNS token buybacks
Payment Options
| Network | Asset | Pay-To |
|---------|-------|--------|
| Monad (eip155:143) | MON (native) | 0xC86E4a0b90874d8081276AE13e830e23C726229e |
| Solana | SOL (native) | 9cQMUBgEPzunpzkjQxV2TMKUUHPFqAHWzNGw9dBzZeSc |
| Base (eip155:8453) | USDC | 0xC86E4a0b90874d8081276AE13e830e23C726229e |
API Endpoints
| Method | Endpoint | Description |
|--------|----------|-------------|
| POST | /vault/store | Store encrypted file (x402 payment required) |
| POST | /vault/retrieve/{id} | Retrieve encrypted file (free) |
| GET | /vault/pricing?size=N | Cost estimates with live chain prices |
| GET | /.well-known/x402 | x402 discovery manifest |
| GET | /skill | DropClaw skill file |
| GET | /openai-tools | OpenAI function calling definitions |
| GET | /claude-tools | Claude tool definitions |
Programmatic Usage
const { DropClawClient } = require('dropclaw');
const client = new DropClawClient({
apiKey: 'your-api-key' // or set DROPCLAW_API_KEY env var
});
// Get pricing
const pricing = await client.pricing(1000000); // 1MB file
console.log(pricing.totalEstimateUSD); // ~$30.01
// Store a file (after sending payment on-chain)
const result = await client.store({
content: Buffer.from('hello world'),
fileName: 'test.txt',
paymentTxHash: '0x...',
paymentNetwork: 'eip155:143'
});
console.log(result.fileId); // Save this!
// Retrieve (free)
const file = await client.retrieve(result.fileId);Credentials
Credentials are stored in ~/.dropclaw/vault.json. Encryption keys are saved in ~/.dropclaw/keys.json.
npx dropclaw setup # Interactive setup
npx dropclaw status # Check connection
npx dropclaw revoke # Securely erase credentialsOr use environment variables:
export DROPCLAW_API_KEY=dc_...
export DROPCLAW_GATEWAY=https://dropclaw.cloudLicense
Proprietary — Farnsworth Labs. All rights reserved.
