Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This is the full Nirium monorepo: the Soroban contracts, the nirium.xyz web app,
>
> Nirium is **experimental software**. Nirium's own **NiriumVault** treasury contract remains on **Stellar Testnet, audit-gated**: no independent third-party audit has occurred yet, and no real client funds ever reach that contract.
>
> The **autonomous treasury node runs on mainnet over a DeFindex vault the client owns**: a third-party contract audited by OtterSec, not ours. Nirium holds only the vault's `RebalanceManager` role, which by the contract's own design cannot withdraw funds, change roles, or pause anything. Autonomous rebalancing on mainnet is **invite-only** until we have a written legal opinion. A separate set of receive-only nodes (x402 micropayments, IPFS audit anchoring, non-custodial Payouts, Reporting) also run in **mainnet early access**; several move real USDC under the client's own wallet signature - see the evidence table below for which ones. **MPP Charge is testnet-only and experimental**: verified with settled payments on testnet (15 Oct 2026), but it has never settled on mainnet - see the evidence table's MPP row for the exact status. **Nirium never custodies funds.**
> The **autonomous treasury node runs on mainnet over DeFindex vaults structured for the client to own** (today the only live one is our own, self-funded): a third-party contract audited by OtterSec, not ours. Nirium holds only the vault's `RebalanceManager` role, which by the contract's own design cannot withdraw funds, change roles, or pause anything. Autonomous rebalancing on mainnet is **invite-only** until we have a written legal opinion. A separate set of receive-only nodes (x402 micropayments, IPFS audit anchoring, non-custodial Payouts, Reporting) also run in **mainnet early access**; several move real USDC under the client's own wallet signature - see the evidence table below for which ones. **MPP Charge is testnet-only and experimental**: verified with settled payments on testnet (15 Oct 2026), but it has never settled on mainnet - see the evidence table's MPP row for the exact status. **Nirium never custodies funds.**
>
> **Update, 2026-10-08 (checked against the live `/api/tickers` on both networks that day):** until today the site, the API and the docs showed a CETES rate of 5.57% under labels such as "Banxico ref", "Today" and, on one dashboard card, "LIVE". It was a fixed reference value read once from app.etherfuse.com/b/cetes in June 2026, not a live reading and not from Banxico. The labels are corrected; the value itself is unchanged and still not live. The same release stops publishing `1 / xlmPrice` as the USDC price in `/api/tickers`: that figure (about 5.25) was how many XLM one dollar buys, and is now `null`.
>
Expand All @@ -36,7 +36,7 @@ This is the full Nirium monorepo: the Soroban contracts, the nirium.xyz web app,
| 1 | **Settlement** (x402 active; MPP Charge experimental) | x402 ✅ Active · MPP ⚠️ Experimental | both | Per-request micropayments for AI agents. Pay for others' APIs with `initX402()` today - x402 has confirmed mainnet settlements (see the evidence table below). MPP Charge is implemented but experimental: verified on testnet on 15 Oct 2026 with settled payments in pull and push mode (it had rejected a valid payment on 1 Oct); mainnet is unverified. **Update, 2026-10-07:** this previously said charging for your own with `x402Serve()` was invite-only, same gate as Treasury and Payouts - there is no such gate. `x402Serve()` is a general-purpose library that runs on the integrator's own server; Nirium does not operate or gate it. Third-party use is an open legal question, with no written legal opinion yet - compliance is the integrator's own responsibility. |
| 2 | **Audit Trail** | ✅ Active | both | Evidence anchored to IPFS as tamper-evident receipts (a changed document no longer matches its CID), optionally **signed by the agent that produced it** (ed25519 over a domain-separated statement), so the CID proves not just *that* a fact is unaltered but *who declared it*. |
| 3 | **Payouts** | ✅ Active (mainnet invite-only) | both | Non-custodial batch disbursements, up to 100 recipients per transaction. Mainnet is invite-only; independent service payments only (contractors, freelancers, B2B); never subordinate-employee salary. A milestone variant (Trustless Work Multi-Release - one contract, a distinct receiver per milestone) runs on testnet: `GET /api/payroll/escrow/info`. |
| 4 | **Treasury Rebalance** | ✅ Active (mainnet invite-only) | both | Moves idle capital into a CETES strategy and back, on its own, over a **DeFindex vault the client owns**. Live on mainnet, invite-only until a written legal opinion. |
| 4 | **Treasury Rebalance** | ✅ Active (mainnet invite-only) | both | Moves idle capital into a CETES strategy and back, on its own, over a **DeFindex vault structured for the client to own** (each vault holds one asset; nothing is converted). On mainnet today it runs on our own self-funded vault only; invite-only until a written legal opinion. |
| 5 | **Reporting** | ✅ Active | both | Institutional-format summaries and CSV/JSON exports over anchored receipts. Read-only; regulatory filings remain the client's responsibility. |
| 6 | **Policy Gate** | ✅ Active | both | Routes every outgoing x402 payment through your own policy engine before it is signed (`initX402({ policy })`, #96). Binds the decision to the exact authorization; a deny, timeout, or stale answer signs nothing. Not a remote key-custody control - it wraps the signing call inside the same process that holds the key, so direct access to that signer bypasses it. See the roadmap for a stronger, not-yet-designed alternative. |

Expand Down Expand Up @@ -81,12 +81,12 @@ flowchart TB
| Product | Status |
|---|---|
| x402 | Live on mainnet ([last settled payment 24 Nov 2026, our own test](https://stellar.expert/explorer/public/account/GCLBBPON256CV7ATEHM5B54BOKNC7GX53MBINJ42MHVXGDMMZ3ZWKBHP)) |
| Audit Trail | Live on mainnet (last anchor 24 Nov 2026) |
| Audit Trail | Live on mainnet (44 anchors, the last on 25 Nov 2026, our own notice) |
| Reporting | Live on mainnet |
| Treasury Rebalance | Mainnet, invite-only (4 self-funded rebalances, last 6 Aug 2026) |
| Payouts | Mainnet, invite-only (no mainnet runs yet) |
| Policy hook (pre-sign `ALLOW`/`DENY`) | Experimental (TypeScript SDK; Python SDK since 0.12.9) |
| MPP Charge | Testnet only |
| MPP Charge | Testnet only (the client fails on `nirium` 0.20.0; use 0.19.8) |

The detailed tables below back each row with a transaction hash or a live endpoint - this one is just the summary. Statuses checked against Horizon and the live API on 22 Nov 2026.

Expand All @@ -102,7 +102,7 @@ The detailed tables below back each row with a transaction hash or a live endpoi
| MPP Charge | **Experimental**: implemented, `charge.enabled: true` on both networks; **testnet verified 2026-10-15** with settled payments in pull and push mode ([`b8c4ed56…`](https://stellar.expert/explorer/testnet/tx/b8c4ed568f6eb41321b97d251d7f3727c57570a226d187e3675a9df03496e3ed), [`96d43d6f…`](https://stellar.expert/explorer/testnet/tx/96d43d6f4cf38fbd3a4df2c2bb6625e650c0d0509184d86c1e42c7e6ebdf242c)); mainnet unverified, no confirmed mainnet settlement (**Update, 2026-10-07, checked live against Horizon and `/api/v1/mpp/info`:** this row previously read "Live: `market` charges and delivers" without a transaction hash, unlike every other row in this table. A 2026-10-01 end-to-end test found the testnet box rejecting real payment proofs with `verification-failed`, including a push flow where the payment settled on-chain but the content was never delivered; the root cause was not determined. No MPP Charge-tagged credit appears anywhere in the mainnet recipient's payment history, past or since. **Update, 2026-10-15:** re-tested with `nirium@0.16.1` against the testnet box: `pull` and `push` both settled and delivered, so the 1 Oct failure no longer reproduces. Mainnet is still untested.) | [`/api/v1/mpp/info`](https://nirium-agent-mainnet.fly.dev/api/v1/mpp/info) |
| Treasury: vault deployed | 6 Aug 2026, **client signs** | [`93ff6284…78416`](https://stellar.expert/explorer/public/tx/93ff6284cdf03706624c88434a79fba1b213ee547f58e09a9248f75373178416) |
| Treasury: autonomous invest | 6 Aug 2026, **the agent signs** | [`82d73f53…6b3d4`](https://stellar.expert/explorer/public/tx/82d73f537e907140367f9343f63a36704c74a5286aced7a938cee8fffb56b3d4) |
| Treasury: the vault itself | Client-owned, roles readable on-chain | [`CAMDXG6L…K57MH`](https://stellar.expert/explorer/public/contract/CAMDXG6L4LXLXXV675KZSHM3BMSETZ4NVMC7JYIQCZ2JTG54OMSK57MH) |
| Treasury: the vault itself | Our own, self-funded; its Manager key is separate from the agent's. Roles readable on-chain | [`CAMDXG6L…K57MH`](https://stellar.expert/explorer/public/contract/CAMDXG6L4LXLXXV675KZSHM3BMSETZ4NVMC7JYIQCZ2JTG54OMSK57MH) |
| Payouts | Live, **invite-only** (tier-gated + terms acceptance); no mainnet payout runs yet | [`/api/payroll/info`](https://nirium-agent-mainnet.fly.dev/api/payroll/info) |
| Trustless Work escrow: deploy path timing, 3 Sep 2026 | Real deploys, self-owned wallets only - **not** the milestone fast-signer below, which stays testnet-only | [`65568e79…f2f3d6e`](https://stellar.expert/explorer/public/tx/65568e79ef61f78e153156158983ab4cdb5325d0813fc1e8bf9f28b74f2f3d6e) (Horizon direct) · [`7d5690cf…02e4b9e6`](https://stellar.expert/explorer/public/tx/7d5690cf431cd32ac4e28780f57c9291ac0a10d670186b9f6ccf495602e4b9e6) (via Trustless Work's own relay) |
| Trustless Work escrow: full cycle, 3 Sep 2026 | deploy → fund → approve → release, real 0.50 USDC, **self-directed** (one key, every role, no third-party client). Proves the mechanism - not a decision to open this flow to Payouts production, which waits on a written legal opinion | [`4110dd16…12aefe84`](https://stellar.expert/explorer/public/tx/4110dd16df6c7cdaf50d89f7402e3e51de0ac4f63255f6601e800e3912aefe84) → [`7b181a13…451c09c`](https://stellar.expert/explorer/public/tx/7b181a13160d6d7170f78ba9a4e15309cc0a8f6e20a1db01adfcdb667451c09c) → [`a3aa35a2…4096ca5`](https://stellar.expert/explorer/public/tx/a3aa35a272774547d3ca4ce5a32e361641daac6cf829ecf8951b83a194096ca5) → [`0c533088…a8192b`](https://stellar.expert/explorer/public/tx/0c533088ab6326a78b9f79c197b7636ca4662a0d72562968ddea37f370a8192b) - receiver balance moved by exactly 0.4985 USDC, 0.50 minus Trustless Work's fixed 0.3% fee |
Expand Down