From 3849916d7c2031cc6c8e37e396a4e11323d4fd93 Mon Sep 17 00:00:00 2001 From: Giovanny Amador <219895655+Eras256@users.noreply.github.com> Date: Sun, 22 Nov 2026 13:37:28 -0600 Subject: [PATCH] docs(readme): current NiriumProtocol contract, WebSocket parity, 24 examples, Stellar Wave Co-Authored-By: Claude Opus 5.5 --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0310329..2f3492f 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ If everything you want to prove is already in the transaction, link the transact | MCP server | `npx nirium-mcp` | [![npm](https://img.shields.io/npm/v/nirium-mcp)](https://www.npmjs.com/package/nirium-mcp) | 25 tools for Claude Desktop, Cursor, and any MCP-compatible IDE. | | CLI | `npm install -g nirium-cli` | [![npm](https://img.shields.io/npm/v/nirium-cli)](https://www.npmjs.com/package/nirium-cli) | Scaffold and interact with Nirium from the terminal. Includes `nirium verify` to [independently verify Audit Trail CIDs](./docs/verify-audit-cid.md). | -> The source in `packages/` matches what is published (the `overrides` in `packages/sdk` and `packages/cli` were added on 2026-10-23 for this repo's own dependency audit; npm ignores a dependency's `overrides`, so they don't change what you install). The two SDKs share full Treasury parity (12 methods, `proposeTreasuryRebalance()`/`propose_treasury_rebalance()` included). `x402Serve()` stays TypeScript-only - it's Express middleware, server-side Node, with no meaningful equivalent in an async Python client. Going the other way, Python ships a resilient, auto-reconnecting WebSocket client (backoff, jitter, dedup) and a LangChain `BaseTool` (`pip install nirium[langchain]`) that TypeScript doesn't have yet - the version gap runs both directions, not just one. +> The source in `packages/` matches what is published (the `overrides` in `packages/sdk` and `packages/cli` were added on 2026-10-23 for this repo's own dependency audit; npm ignores a dependency's `overrides`, so they don't change what you install). The two SDKs share full Treasury parity (12 methods, `proposeTreasuryRebalance()`/`propose_treasury_rebalance()` included). `x402Serve()` stays TypeScript-only - it's Express middleware, server-side Node, with no meaningful equivalent in an async Python client. Both SDKs include a resilient, auto-reconnecting WebSocket client (backoff, jitter, dedup; `ResilientSignalClient` in TypeScript), though the hosted stream at `/ws/signals` did not accept connections when checked on 18 Nov 2026. Python also ships a LangChain `BaseTool` (`pip install nirium[langchain]`) that TypeScript doesn't have. Signing with a social-login wallet instead of a raw keypair? See [`nirium-pollar-adapter`](https://github.com/nirium-protocol/nirium-pollar-adapter), a separate package that adapts [Pollar](https://pollar.xyz)'s embedded-wallet SDK to sign x402 payments and audit records through this SDK. @@ -134,7 +134,7 @@ Any AI agent can now pay for your endpoint in USDC: no account, no card, no subs > and [issue #91](https://github.com/nirium-protocol/nirium/issues/91) (closed), > where the design came from a real production deployment. -See [`docs/`](./docs) for full quickstarts, including [**"Pay for an x402 API in 5 minutes"**](./docs/quickstart-x402.md) ([🇪🇸 Español](./docs/es/quickstart-x402.md)), and [**serverless Audit Trail anchoring with `waitUntil`**](./docs/serverless-audit-waituntil.md), plus [`examples/`](./examples) for 14 runnable integrations: [Express](./examples/express-x402) and [Next.js](./examples/nextjs-x402) (TypeScript), [Go](./examples/go-x402), [Rust](./examples/rust-x402), [LangChain x402](./examples/langchain-x402-agent) (Python), [non-custodial treasury vault](./examples/treasury-vault-quickstart), [resilient WebSocket signals](./examples/ws-signals-resilient), [one-click Vercel deploy](./examples/deploy-x402-vercel), [Unity/C# game paywall](./examples/unity-game-x402-gate), [RouteDock discovery manifest](./examples/routedock-manifest), [Stellar Disbursement Platform audit bridge](./examples/sdp-audit-bridge), [audit-forensic-bridge](./examples/audit-forensic-bridge), [per-agent daily spend policy](./examples/x402-policy-daily-budget), and an [Open Policy Agent policy behind the pre-sign hook](./examples/x402-policy-opa). For real production findings (not marketing copy), see the [**devlog**](./docs/devlog.md). +See [`docs/`](./docs) for full quickstarts, including [**"Pay for an x402 API in 5 minutes"**](./docs/quickstart-x402.md) ([🇪🇸 Español](./docs/es/quickstart-x402.md)), and [**serverless Audit Trail anchoring with `waitUntil`**](./docs/serverless-audit-waituntil.md), plus [`examples/`](./examples) for 24 runnable integrations, among them [Express](./examples/express-x402) and [Next.js](./examples/nextjs-x402) (TypeScript), [Go](./examples/go-x402), [Rust](./examples/rust-x402), [LangChain x402](./examples/langchain-x402-agent) (Python), [non-custodial treasury vault](./examples/treasury-vault-quickstart), [resilient WebSocket signals](./examples/ws-signals-resilient), [one-click Vercel deploy](./examples/deploy-x402-vercel), [Unity/C# game paywall](./examples/unity-game-x402-gate), [RouteDock discovery manifest](./examples/routedock-manifest), [Stellar Disbursement Platform audit bridge](./examples/sdp-audit-bridge), [audit-forensic-bridge](./examples/audit-forensic-bridge), [per-agent daily spend policy](./examples/x402-policy-daily-budget), and an [Open Policy Agent policy behind the pre-sign hook](./examples/x402-policy-opa), and agent tools for [OpenAI Agents](./examples/openai-agents-x402) and [CrewAI](./examples/crewai-x402). For real production findings (not marketing copy), see the [**devlog**](./docs/devlog.md). ## Networks @@ -179,7 +179,7 @@ That third transaction is the point: the agent moved funds it does not own, and | Contract | ID | |---|---| | NiriumVault | [`CDMFURE6MYROTA2A6DLD4TN2S4QTN64L2FZ2I2RY2AREONX6DUQOI2S2`](https://stellar.expert/explorer/testnet/contract/CDMFURE6MYROTA2A6DLD4TN2S4QTN64L2FZ2I2RY2AREONX6DUQOI2S2) (built from a GitHub-attested release, shown as verified on Stellar Expert; in use since 9 Nov 2026, replacing `CBTWMZCG…FAWSZU`) | -| NiriumProtocol | [`CC2TU5BDTKTPRRRQPEF77I54XYHFQ25XGIRO2TCWKSR7NRJDFR5L5NR5`](https://stellar.expert/explorer/testnet/contract/CC2TU5BDTKTPRRRQPEF77I54XYHFQ25XGIRO2TCWKSR7NRJDFR5L5NR5) | +| NiriumProtocol | [`CBKCTMTCCZQIPEESLHHEZKXYSPWNO24NEG33T2XSAAAHPISBND5CNSXX`](https://stellar.expert/explorer/testnet/contract/CBKCTMTCCZQIPEESLHHEZKXYSPWNO24NEG33T2XSAAAHPISBND5CNSXX) (deployed 25 Oct 2026, replacing `CC2TU5BD…FR5L5NR5`; no agents or strategies registered yet) | API: [`nirium-agent.fly.dev/health`](https://nirium-agent.fly.dev/health) · node catalog: [`/api/nodes`](https://nirium-agent.fly.dev/api/nodes) @@ -199,7 +199,7 @@ Real bugs found in code we don't control, in other people's repos, confirmed by **[stellar/stellar-mpp-sdk#69](https://github.com/stellar/stellar-mpp-sdk/pull/69)** - `@stellar/mpp`'s exported `USDC_SAC_MAINNET` (54 chars) and `XLM_SAC_MAINNET` (55 chars) both fail `StrKey.isValidEd25519PublicKey()` - invalid addresses, present in every version including 0.7.1. Filed with the exact byte counts and correct addresses; PR merged the **same day**. Our own `USDC_SAC_OVERRIDE` workaround (`middleware/mpp.ts`) stays until a release actually ships the fix. -**[Trustless-Work/agentic-escrow-research](https://github.com/Trustless-Work/agentic-escrow-research)** - 4 PRs merged (#1-#4), all 4 within a 27-minute window, 21-sep-2026: bounded-authority milestone payouts, treasury rebalancing via a destination parameter that doesn't exist, direct x402 payment without escrow with real settlement verified on mainnet, and production evidence for their agentic-tool schema. Trustless Work thanked us publicly from their own account: *"We just merged our first 4 community contributions 🙏 @vaiossx @smithserrat @Niriumstellar."* +**[Trustless-Work/agentic-escrow-research](https://github.com/Trustless-Work/agentic-escrow-research)** - 4 PRs merged (#1-#4), all 4 within a 27-minute window, 21-sep-2026: bounded-authority milestone payouts, treasury rebalancing via a destination parameter that doesn't exist, direct x402 payment without escrow with real settlement verified on mainnet, and production evidence for their agentic-tool schema. Trustless Work thanked us publicly from their own account: *"We just merged our first 4 community contributions 🙏 @vaiossx @smithserrat @Niriumstellar."* Five more research notes were merged between 2 and 5 Nov 2026 (#9-#13, in the table below). **[stellar/js-stellar-sdk#1655](https://github.com/stellar/js-stellar-sdk/issues/1655)** (and the related [#1681](https://github.com/stellar/js-stellar-sdk/issues/1681), [#1683](https://github.com/stellar/js-stellar-sdk/issues/1683), [#1700](https://github.com/stellar/js-stellar-sdk/issues/1700)) - real bugs and gaps in the SDK's delegate-signing path (`needsNonInvokerSigningBy()`/`signAuthEntries()`/`authorizeEntry()` weren't walking CAP-71 delegate trees correctly, or verifying signers other than the root node). #1655 fixed by the maintainer's [PR #1747](https://github.com/stellar/js-stellar-sdk/pull/1747); #1683 fixed by [PR #1742](https://github.com/stellar/js-stellar-sdk/pull/1742); #1681 fixed by two separate PRs, [#1743](https://github.com/stellar/js-stellar-sdk/pull/1743) and [#1744](https://github.com/stellar/js-stellar-sdk/pull/1744), closed by us once both merged. #1700 was closed after a docs-only PR, [#1745](https://github.com/stellar/js-stellar-sdk/pull/1745), documented the reported gap as a known limitation rather than changing behavior - real acknowledgment, not a code fix. The maintainer kept building on this thread in a follow-up feature request of their own ([#1759](https://github.com/stellar/js-stellar-sdk/issues/1759)). A fifth report from the same round, [#1699](https://github.com/stellar/js-stellar-sdk/issues/1699), we withdrew ourselves after our own fix attempt against the full test suite showed the behavior was intentional, not a bug - closed `not_planned`, never fixed, reported honestly rather than folded into the count above. @@ -209,7 +209,7 @@ Real bugs found in code we don't control, in other people's repos, confirmed by ### Merged pull requests in other teams' repos -Checked against the GitHub API on 21 Nov 2026. Each one was reviewed and merged by that repo's own maintainers (two by Stellar's triage bot). +Checked against the GitHub API on 22 Nov 2026. Each one was reviewed and merged by that repo's own maintainers (two by Stellar's triage bot). | Pull request | What it does | Author | Merged by | |---|---|---|---| @@ -248,7 +248,7 @@ Nirium received Stellar Community Fund Instaward funding (two awards) via a regi ## Contributing -Contributions welcome: examples, framework adapters, language bindings, docs and tests. This repo ran a GrantFox bounty campaign with Trustless Work through early September 2026 - that campaign is now closed, so there are currently **no open, assigned-on-request issues** from that program. Separately, a no-cash contribution sprint, **[Niriumtober](https://nirium.xyz/build/niriumtober)**, ran from Oct 22 to Nov 2, 2026. It has ended and its issues are closed. Open issues still worth doing are on the [issues page](../../issues); a future campaign, if one runs, will be labeled explicitly. +Contributions welcome: examples, framework adapters, language bindings, docs and tests. This repo ran a GrantFox bounty campaign with Trustless Work through early September 2026 - that campaign is now closed, so there are currently **no open, assigned-on-request issues** from that program. Separately, a no-cash contribution sprint, **[Niriumtober](https://nirium.xyz/build/niriumtober)**, ran from Oct 22 to Nov 2, 2026. It has ended and its issues are closed. Since 18 Nov 2026 we publish issues on [Stellar Wave](https://www.drips.network/wave) (Drips), labeled [`Stellar Wave`](https://github.com/nirium-protocol/nirium/issues?q=label%3A%22Stellar+Wave%22): apply on Drips, and see [CONTRIBUTING.md](./CONTRIBUTING.md#stellar-wave-issues-drips) for how assignment and evidence work. Other open issues are on the [issues page](../../issues). Outside of any campaign, PRs are still welcome - examples, framework adapters, bindings, docs, tests - just note in the PR that it isn't tied to a bounty.