The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the W3ledger MCP Server listing page.
A self-verifying ledger for AI agents — every transaction is cryptographically signed and chain-linked.
W3Ledger (Rolledge) is an MCP (Model Context Protocol) server that gives AI agents the ability to check token balances, create and claim gift cards, create and claim sponsor cards, and process dual-signed purchases — all secured by cryptographic signatures.
Every write operation requires dual signatures (sender + receiver/distribution). The server-side Lambda functions verify all signatures and enforce chain continuity. The MCP server is a thin HTTP client — it cannot bypass security.
No installation required — just configure your AI client:
Claude Desktop (claude_desktop_config.json):
Cursor (.cursor/mcp.json):
VS Code (.vscode/mcp.json):
| Tool | Description |
|---|---|
check_balance | Check DAH, DAHYM, DAHLOR, and W3SH token balances for a public key. Includes loyalty tier (Seed → Joist) with cashback rates. |
| Tool | Description |
|---|---|
create_gift_card | Create a gift card by debiting the customer's DAH balance. Requires customer signature + distribution co-signature. |
claim_gift_card | Claim an ISSUED gift card and credit the claimer's DAH balance. |
create_sponsor_card | Create a location-based sponsor card with GPS coordinates. Requires dual signatures. |
claim_sponsor_card | Claim an ISSUED sponsor card near the sponsor's location. |
purchase_product | Purchase a product by debiting sender and crediting receiver (merchant). Requires sender + receiver dual signatures. |
| Tool | Reason |
|---|---|
fund_account | Uses server-side distribution keys. Too dangerous for MCP — could credit arbitrary accounts. |
W3Ledger implements a self-verifying chain — every transaction is cryptographically linked to the previous one:
| Scheme | Use Case |
|---|---|
| EVM (secp256k1) | Ethereum/MetaMask wallets (personal_sign) |
| Ed25519 (Curve25519) | Solana, Cardano, Stellar, NEAR, Algorand, Aptos, Cosmos, TON wallets |
| ML-DSA-65 | Post-quantum signatures (NIST standard) |
| SLH-DSA | Stateless hash-based post-quantum signatures |
| Variable | Required | Default | Description |
|---|---|---|---|
ROLLEDGE_API_URL | No | W3Ledger API | Base URL for the Rolledge API Gateway |
ROLLEDGE_API_KEY | No | — | Optional API key for authenticated access |
MCP_LOG_LEVEL | No | info | Logging level: debug, info, warn, error |
List all available tools:
Purchases automatically earn W3SH cashback based on your tier:
| Tier | W3SH Required | Cashback Rate |
|---|---|---|
| 🌱 Seed | 0 | 0% |
| 🌿 Twig | 100 | 5% |
| 🔥 Kindling | 500 | 10% |
| 🪵 Log | 2,000 | 15% |
| 🏗️ Joist | 10,000 | 20% |
MIT — see LICENSE