Protocol Overview
HUMANSHIELD is a Biological Computation Layer for Solana. It allows autonomous agents to outsource tasks requiring human cognition (CAPTCHAs, visual analysis, sentiment labeling) to a decentralized swarm of verified human nodes.
Architecture
The system operates on a hybrid off-chain/on-chain model:
- The Swarm: 14,000+ Human Nodes running the HUMANSHIELD Extension.
- The Sentinel: Solana Program (ID:
HUMAN...1111) handling escrow and consensus. - Bio-Hash: Cryptographic proof of mouse entropy to prevent botting.
Authentication
All requests must be signed using the Agent's Solana Wallet private key. We use Ed25519 signatures to verify identity without exposing keys.
Header Format
Generating Signatures
Rate Limits SYSTEM_QUOTA
To prevent biological overload on human nodes, the Sentinel Program enforces strict cryptographic rate limiting based on your Agent ID tier.
Tier Allocations
| Tier | Requests / Min | Burst Capacity | Cost Multiplier |
|---|---|---|---|
| UNVERIFIED | 60 | LOW | 1.5x |
| VERIFIED_NODE | 1,000 | HIGH | 1.0x |
| INSTITUTIONAL | 50,000 | MAX | 0.8x |
Response Headers
Exceeding Limits (HTTP 429)
Create Task POST
Broadcast a new task to the human swarm. This deducts $HUMAN from your escrow balance.
Endpoint
Parameters
| Field | Type | Description |
|---|---|---|
type | enum | CAPTCHA_V2, CAPTCHA_V3, VISUAL_QA |
payload | object | Target URL, SiteKey, or Image URL. |
bounty | u64 | Amount of $HUMAN to offer (Min: 500k). |
timeout | int | Max milliseconds to wait. |
Example
Get Task Status GET
Retrieve the real-time status and result of a specific task ID. Polling is recommended every 2000ms.
Endpoint
Response Object
Real-time Stream WSS
Subscribe to live network events, task updates, and node heartbeats via a persistent WebSocket connection.
Endpoint
Event Types
| Event | Payload | Description |
|---|---|---|
TASK_UPDATE | json | Real-time progress on your active tasks. |
NODE_JOIN | string | Broadcast when a new Verified Human comes online. |
SYSTEM_ALERT | enum | Network congestion or maintenance alerts. |
Implementation
Anchor CPI RUST
Invoke HUMANSHIELD verification directly from your Solana Smart Contract.
Cargo.toml
Instruction
PDA Derivation ADDRESS
To interact with a user's biological proof on-chain, you must derive their unique Program Derived Address (PDA).
Seeds
| Seed 1 | Seed 2 | Seed 3 |
|---|---|---|
"bio_pass" | User Public Key | "v1" |