ArxMint Citadel LogoArxMint: Sovereign Economy Specification

Document Status Draft / Technical Roadmap
ArchitecturePhase 0 - 4

Abstract.

A purely peer-to-peer version of electronic cash and AI agent commerce would allow online payments and autonomous economic activities to be sent directly from one party to another without going through a financial institution or centralized API provider. This document outlines the five phases of ArxMint's development, from foundational security hardening to production-grade deployment of sovereign Bitcoin economies integrating Fedimint, Cashu, and the Model Context Protocol (MCP). Every task traces back to rigorous core research, prioritized by security impact.

Table of Contents

Execution Timeline

PHASE 0.0In Progress
PHASE 1.0In Progress
PHASE 2.0In Progress
PHASE 3.0Research / Prototype
PHASE 4.0Planning + Tooling

0.0Fortify: Security Hardening

IN PROGRESS

Most P0 controls are shipped and tested. Final remote-signer transport hardening is still in progress.

your sats and data are protected before anything else gets built

0.1 Cashu keyset ID validation[TK_01]

Verify your mint is who it says it is

Verify keyset IDs against mint pubkeys. Prevent NUT-13 deterministic secret collisions — critical for agent wallets.

0.2 Fix Silent Payments status[TK_02]

Honest reporting of what's available on each backend

Honest per-backend SP availability. SP for Fedimint peg-outs requires a federation module (server-side).

0.3 Lightning agent security tiers[TK_03]

Agents get the minimum access they need, nothing more

WATCH_ONLY → PAY_ONLY → ADMIN tiers. Agents default to WATCH_ONLY. Never give agents admin macaroons.

0.4 Remote signer integration[TK_04]

Agent processes never hold signing keys

Signer config and fail-closed validation are shipped. Full isolated signer transport remains to be finalized.

1.0Keystone: Core Architecture

IN PROGRESS

Core architecture is largely shipped: spend routing, merchant onboarding, BCE metrics, and scoped agent controls.

merchants can accept payments, wallet auto-picks best way to pay

1.1 NUT-24 ecash paywalls[TK_11]

Pay for services with ecash, not just Lightning

Dual L402 + Cashu flows are implemented; strict production enforcement and deeper testing are still being hardened.

1.2 Spend router[TK_12]

Auto-pick the cheapest, most private way to pay

Auto-select ecash → Lightning → Ark → on-chain based on amount and privacy score.

1.3 BCE metrics dashboard[TK_13]

Real numbers showing community health

Merchant count, active spenders, spend velocity, grant-ready export.

1.4 Merchant onboarding[TK_14]

Step-by-step setup for any local business

Multi-step form, QR codes, POS guidance, directory listings.

1.5 Macaroon bakery[TK_15]

Generate limited-permission keys for different roles

Generate scoped credentials: pay-only, invoice-only, read-only, agent-commerce.

1.6 Ephemeral agent wallets[TK_16]

Temporary wallets that clean up after themselves

In-memory, auto-expire, scoped. No persistent secrets.

1.7 G-Bot integration[TK_17]

Guided federation setup, no DevOps required

Fedimint G-Bot API for guided federation bootstrap with Docker fallback.

2.0Spire: Full Privacy + Commerce

IN PROGRESS

Mixed maturity phase: some capabilities are production-ready, others are partial integrations or prototype scaffolding.

ecash across multiple mints, tap-to-pay, real-time monitoring

2.1 Fedimint v0.10.0 upgrade[TK_21]

Latest security and performance improvements

Generator paths target "Lighthouse" v0.10.0; root local compose still needs full parity.

2.2 Ark SDK integration[TK_22]

High-privacy off-chain spending layer

SovereignArkClient interface exists with stub-mode behavior pending full upstream integration.

2.3 CDK cloud-native mint[TK_23]

Production-grade mint with real database and monitoring

CDK generation path exists; default local stack still uses Nutshell for quick start.

2.4 Multi-mint support (Coco)[TK_24]

Spread trust across multiple ecash providers

Manager and swap scaffolding are in place; operational hardening and broader coverage continue.

2.5 NUT-26 QR/NFC payments[TK_25]

Scan or tap to pay, just like a credit card

cashu:// URI format for merchant QR codes and payment requests.

2.6 Silent Payments infrastructure[TK_26]

Receive Bitcoin without reusing addresses

Scanner/indexer/key-delegation scaffolding is implemented with remaining protocol-level hardening.

2.7 Monitoring stack[TK_27]

Real-time health dashboards for community operators

Prometheus/Grafana generation is implemented; deployment parity across all compose paths is ongoing.

2.8 Gateway bridge[TK_28]

Ecash automatically converts to Lightning when needed

Bridge flow is implemented with placeholder preimage handling pending final production wiring.

3.0Aether: Advanced Features

Advanced capabilities are in experimental groundwork mode and depend on upstream protocol maturity for production use.

programmable payments, hardware wallet support, tap-to-pay

3.1 Guardian governance[TK_31]

Rules for who runs the shared vault and how

Selection criteria, rotation policy, incident response, quorum management.

3.2 Programmable eCash (STARK)[TK_32]

Smart contracts for ecash — escrow, subscriptions, automated payments

Conditional tokens: escrow, subscriptions, proof-of-service.

3.3 ZK verified reissuance[TK_33]

Cryptographic proof that agent wallets are honest

Audit-log + ZK reissuance for stateless agent wallets.

3.4 Hardware wallet (BIP392)[TK_34]

Sign transactions with your hardware device

SP descriptor support and PSBT spending for hardware signing devices.

3.5 Advanced Cashu (NUT-28)[TK_35]

Multi-mint atomic swaps and proof verification

P2BK, background proof state verification, multi-mint atomic swaps.

3.6 Numo NFC merchant integration[TK_36]

Tap your card to pay at any merchant

Tap-to-pay for merchants using Numo NFC cards.

4.0Citadel: Production + Grants

Production rollout phase: pilot deployment, grant execution, and replication at community scale.

pilot deployment plus grant-backed expansion

4.1 Longmont pilot deployment[TK_41]

Real businesses, real customers, real sats changing hands

Deploy pilot with merchant and user KPIs, uptime targets, and monitored operations.

4.2 Grant applications[TK_42]

Funding to scale from pilot to production

FBCE, OpenSats, and Fedi application templates and workflow support.

4.3 Grant reporting dashboard[TK_43]

Transparent progress tracking for funders

Export monthly/quarterly KPI snapshots and reporting artifacts.

4.4 Replication playbook[TK_44]

Step-by-step guide for any community to copy this

Open-source "BCE in a box" playbook generated from pilot configuration.

4.5 Multi-city federation[TK_45]

Connect Longmont to other cities on the same rails

Expand pilot model into multi-city commerce via multi-mint and Lightning bridge routes.

Appendix A: Contribute

ArxMint is open source infrastructure. Review the specification, audit the code, or submit proposals for the active phase.