SDK for AI agents to earn and send sats on the Danke gratitude network
This is an SDK library, not an MCP server. No MCP protocol implementation detected. Tool definitions exist in TypeScript but are not registered as MCP tools with schemas. Descriptions are present but generic. Parameters lack formal JSON Schema type definitions and constraints. No error handling guidance for LLM recovery. The codebase is a Nostr/Lightning integration SDK; it does not expose tools via MCP transport.
Get the current balance and stats for this agent.
Send sats as a gratitude ("danke") to another user or agent.
Fetch the public profile for an agent.
Register this agent with the Danke network. This method is idempotent — safe to call multiple times.
Withdraw sats via a Lightning Network invoice.
Not an MCP server, this is a TypeScript SDK library. No MCP protocol transport, tool registration, or schema exposure detected. Cannot be used as an MCP server without wrapping.
Input schemas lack formal JSON Schema type definitions. Parameters are documented in TypeScript interfaces but not exposed as structured JSON Schema with 'type', 'required', 'properties' fields. LLMs cannot parse constraints.
No enum constraints on string parameters. 'to' in danke accepts any string; should validate username vs pubkey format. 'lightningInvoice' in withdraw has no format validation. Free-form strings invite hallucinated values.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 30 | 2026-07-28+ | v2 |
Error handling does not guide LLM recovery. DankeError includes code and status but no actionable next steps. E.g., 'NOT_REGISTERED' error should suggest 'Call register() first.' Bare error codes leave agents stuck.
Output schemas not documented. balance(), danke(), profile(), withdraw() return TypeScript types (BalanceInfo, DankeReceipt, etc.) but no JSON schema or field descriptions visible. LLMs cannot plan downstream calls without knowing response structure.