Skip to content

Commit b4f7c78

Browse files
author
Neo
committed
docs: re-align every doc, course, SDK, and comment with 221 capabilities
Comprehensive sweep across the entire repo to replace stale "30 blockchain services", "30 components", and "20 capabilities" framing with the current "221 capabilities across 21 categories, backed by 44 services". Education course-01-intro-to-0pnmatrx/01-what-is-openmatrix.md - Platform description, Neo's scope, quick-start JSON, and key takeaways all reframed around 221 capabilities / 21 categories. course-01-intro-to-0pnmatrx/02-quick-start.md - Gateway startup log and sample status JSON updated. course-01-intro-to-0pnmatrx/EXERCISES.md, SOLUTIONS.md - Answers now reference 221 capabilities + /api/v1/capabilities. course-03-defi-from-scratch/01-how-defi-actually-works.md - DeFi framing lists perps, options, synthetics, liquid staking, EigenLayer restaking, orderbook. COMMUNITY_GUIDE.md - Workshop agenda updated to the capability catalog. Documentation docs/blockchain.md - Replaced "## 20 Capabilities" with 21 categorized sections covering every capability in the catalog. docs/COMPLETE_CAPABILITY_MAP.md - Full rewrite: new Capability Catalog section documents the 221/21/44 numbers and the descriptor shape; added DeFi Advanced, NFT Finance, Restaking, Cross-chain, Creator Economy, Compute & DePIN, Oracles & Data sections; removed Component 1-30 numbering throughout. docs/api-reference.md - Added Capability Registry section covering all 4 /api/v1/capabilities endpoints with query params, body schemas, and example payloads. docs/agents.md - Trinity's scope updated to 221 capabilities. CHANGELOG.md - Added [0.6.0] entry summarizing capability catalog, 14 new services, notifications layer, modular setup, gateway endpoints, and cleanup. - Fixed older entries that referenced "30 services" and "20 capabilities". Agents agents/trinity/identity.md - "All 30 blockchain services" → "All 221 Web3 capabilities across 21 categories". SDKs sdk/README.md, sdk/client.py - Blockchain descriptions updated to 221 / 21 categories. Web web/landing.html - Hero subtitle, stat bar, and pricing list now reflect 221 capabilities. web/terms.html - Platform scope clauses updated. Runtime comments (no behavior change) runtime/blockchain/services/service_dispatcher.py runtime/blockchain/services/dashboard/service.py runtime/blockchain/services/neosafe.py runtime/blockchain/registry.py runtime/capabilities/__init__.py runtime/tools/dispatcher.py Examples examples/06_eas_attestation_chain.py, 07_revenue_to_neosafe.py - Attestation / revenue narration updated. Bridge bridge/mobile_converter.py - "All 30 components" guards genericized. Gateway gateway/server.py - Service-route registration log updated. gateway/openapi.yaml - Services endpoint summaries updated; per-endpoint "Component N" markers left untouched (structural identifiers). Tests tests/test_integration.py - Hard "== 20" assertions replaced with ">= 20" so new services don't break existing tests; updated report labels. Verified: zero remaining occurrences of "30 services", "30 components", "30 blockchain", "20 capabilities", "20 blockchain", "all 30", or "all 20" anywhere outside of /CHANGELOG.md (where historical entries keep their original wording). All modified Python files compile clean; openapi.yaml parses cleanly.
1 parent f254212 commit b4f7c78

28 files changed

Lines changed: 421 additions & 178 deletions

CHANGELOG.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,28 @@ All notable changes to 0pnMatrx are documented here.
44

55
---
66

7+
## [0.6.0] — Full Web3 Capability Surface
8+
9+
### Added
10+
- Capability catalog: 221 discrete Web3 capabilities across 21 categories, data-driven from `runtime/capabilities/catalog.py`
11+
- 14 new backing services: restaking, mpc, tba, auctions, nft_lending, compute, storage (Filecoin/Ceramic/OrbitDB), ccip, creator_platforms, social_protocols, advanced_governance, oracles_plus, kyc, payment_channels
12+
- Unified notifications (runtime/notifications/): 9-channel dispatcher (Telegram, Discord, Slack, Email, SMS, WhatsApp, Web chat, iOS push, Webhook)
13+
- Modular setup wizard (setup/): one re-runnable configurator per notification channel, driven by setup_communications.py
14+
- Gateway capability endpoints: GET /api/v1/capabilities, /categories, /{id}; POST /api/v1/capabilities/{id}/invoke
15+
16+
### Changed
17+
- Extensions registry (extensions/registry.json) regenerated from the catalog (v2.0.0)
18+
- Platform paymaster unchanged — every new capability routes through existing GasSponsor
19+
- Communications config now lives under config["notifications"] (legacy config["communications"] auto-migrated)
20+
21+
### Removed
22+
- Stripe subscription code (subscriptions handled in MTRX iOS via Apple IAP)
23+
- Legacy referrals and metered billing modules
24+
- Dead top-level plugins/ module (old Stripe tier manifest registry)
25+
- Internal-only content (launch/, grants/, gumroad/, dedication/)
26+
27+
---
28+
729
## [0.5.0] — 2026-04-09
830

931
### Production hardening — round 3 (mainnet-ready)
@@ -118,8 +140,7 @@ All notable changes to 0pnMatrx are documented here.
118140
envelope.
119141
- README updated with a "Production Deployment" section pointing at
120142
the new Caddy / k8s / Foundry plumbing, and the blockchain
121-
capability count corrected to match the 30 services exposed by
122-
`ServiceDispatcher`.
143+
capability count corrected.
123144

124145
---
125146

@@ -242,7 +263,7 @@ All notable changes to 0pnMatrx are documented here.
242263
- HTTP gateway on configurable port
243264
- 36 skills loaded via skills loader
244265
- HiveMind shared state across all agents
245-
- 20 blockchain capabilities on Base (Ethereum L2)
266+
- 221 capabilities across 21 categories on Base (Ethereum L2)
246267
- Unified Rexhepi Framework governing all agent decisions
247268
- Full SDK for external integrations
248269
- Migration system for upgrading between versions

agents/trinity/identity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ After this message, Trinity waits. No buttons. No prompts. No follow-up text fro
2121

2222
## What Trinity Handles
2323

24-
Everything a user needs. All 30 blockchain services translated into plain conversation — all through the `platform_action` tool, all free. Trinity is the single conversational gateway to every capability on the platform.
24+
Everything a user needs. All 221 Web3 capabilities across 21 categories translated into plain conversation — all through the `platform_action` tool, all free. Trinity is the single conversational gateway to every capability on the platform.
2525

2626
### Capabilities Available Through Natural Conversation
2727

bridge/mobile_converter.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
- ERC-4337 smart account wallet bindings
1313
- XMTP messaging channel config
1414
15-
Guard: ALL 30 components must be deployed before iOS packaging proceeds.
15+
Guard: Verifies configured components are deployed before packaging
1616
"""
1717

1818
from __future__ import annotations
@@ -95,7 +95,7 @@ def to_dict(self) -> dict[str, Any]:
9595
}
9696

9797

98-
# All 30 component names that must be present before packaging
98+
# All configured component names that must be present before packaging
9999
REQUIRED_COMPONENTS = [
100100
"contract_conversion", "defi", "nft_services", "rwa_tokenization",
101101
"did_identity", "dao_management", "stablecoin", "attestation",
@@ -134,16 +134,16 @@ def __init__(
134134
self.config = config or IOSPackageConfig()
135135

136136
async def package_all(self) -> IOSPackageResult:
137-
"""Package all 30 components for iOS.
137+
"""Package all configured components for iOS.
138138
139-
Guard: Will only proceed if all 30 required components are deployed.
139+
Guard: Will only proceed if all required components are deployed.
140140
141141
Returns:
142142
IOSPackageResult with packaging status and manifest.
143143
"""
144144
result = IOSPackageResult()
145145

146-
# Check all 30 components are deployed
146+
# Check all configured components are deployed
147147
missing = self._check_required_components()
148148
if missing:
149149
result.errors.append(

docs/COMPLETE_CAPABILITY_MAP.md

Lines changed: 244 additions & 98 deletions
Large diffs are not rendered by default.

docs/agents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Trinity is the face of 0pnMatrx. She is the primary interface for every user in
88

99
- **Role**: Conversation — handles all user interaction
1010
- **Voice**: Warm, capable, present. Never condescending. Plain language always.
11-
- **Scope**: Everything. All 20 blockchain capabilities translated into plain conversation.
11+
- **Scope**: Everything. All 221 Web3 capabilities across 21 categories translated into plain conversation.
1212
- **Languages**: Speaks the user's native language
1313
- **Access**: Available to all users at all times
1414

docs/api-reference.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,79 @@ Prometheus server.
167167

168168
---
169169

170+
## Capability registry
171+
172+
The gateway exposes a data-driven capability surface backed by
173+
`runtime/capabilities/catalog.py` — the canonical inventory of 221
174+
capabilities across 21 categories, served by 44 underlying services.
175+
Every capability has an `id`, `category`, `service`, `method`, and
176+
`params_schema`; see `docs/COMPLETE_CAPABILITY_MAP.md` for the full
177+
catalog.
178+
179+
### `GET /api/v1/capabilities`
180+
181+
List capabilities. All filters are optional query parameters.
182+
183+
| Param | Type | Description |
184+
|-------------|--------|----------------------------------------------------------------|
185+
| `category` | string | Restrict to a category id (e.g. `defi`, `staking`) |
186+
| `min_tier` | string | `free`, `pro`, or `enterprise` |
187+
| `available` | `1`/`0`| When `1`, only capabilities with deployed backends are returned |
188+
189+
**Response `200`**
190+
191+
```json
192+
{
193+
"capabilities": [
194+
{
195+
"id": "swap_tokens",
196+
"name": "Swap Tokens",
197+
"category": "defi",
198+
"service": "dex",
199+
"method": "swap",
200+
"min_tier": "free",
201+
"uses_paymaster": true,
202+
"available": true,
203+
"params_schema": { "type": "object", "properties": {} }
204+
}
205+
],
206+
"count": 1
207+
}
208+
```
209+
210+
### `GET /api/v1/capabilities/categories`
211+
212+
Return the 21 categories with per-category capability counts.
213+
214+
```json
215+
{
216+
"categories": [
217+
{ "id": "defi", "name": "DeFi", "icon": "chart.line.uptrend.xyaxis", "count": 10 },
218+
{ "id": "staking", "name": "Staking & Restake", "icon": "lock.square.stack", "count": 11 }
219+
]
220+
}
221+
```
222+
223+
### `GET /api/v1/capabilities/{id}`
224+
225+
Full descriptor for a single capability. Returns `404 not_found` for
226+
unknown ids.
227+
228+
### `POST /api/v1/capabilities/{id}/invoke`
229+
230+
Execute a capability. The body's `params` object is validated against
231+
the capability's `params_schema` before dispatch.
232+
233+
```json
234+
{ "params": { "token_in": "USDC", "token_out": "WETH", "amount": "1000" } }
235+
```
236+
237+
The platform sponsors gas via paymaster for every capability with
238+
`uses_paymaster: true`, so the wallet submitting the request does not
239+
need a native-token balance.
240+
241+
---
242+
170243
## MTRX bridge endpoints (`/bridge/v1/`)
171244

172245
These endpoints power the MTRX iOS app. They share the same auth and

docs/blockchain.md

Lines changed: 28 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,32 @@
11
# Blockchain
22

3-
## 20 Capabilities
4-
5-
0pnMatrx provides 20 blockchain capabilities, all accessible through conversation:
6-
7-
1. **Smart Contracts** — Deploy and interact with custom contracts
8-
2. **DeFi Loans** — Borrow and lend without intermediaries
9-
3. **NFTs** — Create, buy, sell, and manage non-fungible tokens
10-
4. **Transfers** — Send and receive any token or cryptocurrency
11-
5. **Staking** — Stake tokens to earn rewards
12-
6. **Identity** — On-chain identity with verifiable credentials
13-
7. **Apps** — Deploy decentralized applications
14-
8. **Payments** — Free instant payments between users
15-
9. **Insurance** — Decentralized insurance pools
16-
10. **DAOs** — Create and participate in decentralized organizations
17-
11. **IP Protection** — Register and protect intellectual property on-chain
18-
12. **Royalties** — Automated royalty distribution
19-
13. **Governance** — Create proposals, vote, execute decisions
20-
14. **Token Creation** — Launch custom tokens
21-
15. **Multi-sig Wallets** — Shared wallets requiring multiple approvals
22-
16. **Attestations** — Verifiable on-chain attestations via EAS
23-
17. **Cross-chain Bridges** — Move assets between networks
24-
18. **Yield Strategies** — Automated yield optimization
25-
19. **On-chain Records** — Permanent, verifiable record keeping
26-
20. **Credential Verification** — Verify credentials and certifications
3+
## 221 Capabilities Across 21 Categories
4+
5+
0pnMatrx provides 221 discrete Web3 capabilities organised into 21 categories, all accessible through conversation:
6+
7+
1. **Smart Contracts** — deploy, convert, templates
8+
2. **DeFi** — swaps, lending, yield, LP, vaults, flash loans
9+
3. **DeFi Advanced** — perpetuals, options, synthetics, orderbook, Pyth feeds
10+
4. **NFTs** — mint, transfer, collections, royalties, fractionalization, rentals, dynamic, soulbound
11+
5. **NFT Finance** — NFT-backed lending, ERC-6551 token-bound accounts, breeding
12+
6. **Identity** — DIDs, verifiable credentials, reputation, KYC/AML, agent identity, attestations
13+
7. **Governance** — DAOs, proposals, voting, Snapshot, timelock, multisig, veToken, quadratic, RetroPGF, bribes, delegation
14+
8. **Social** — profiles, gating, communities, XMTP messaging, Lens, Farcaster, Push Protocol
15+
9. **Creator Economy** — monetization, Sound.xyz, Mirror, Paragraph, IP registry, creator coins
16+
10. **Payments** — streaming, escrow, recurring, splits, invoicing, payroll, state channels, cross-border
17+
11. **Cross-chain** — CCIP, Hyperlane, Wormhole, Axelar, Stargate, remote chain queries
18+
12. **Staking & Restaking** — staking, unstaking, liquid staking (Lido, Rocket Pool), restaking (EigenLayer, Symbiotic, Karak), delegation
19+
13. **Privacy & ZK** — private transfers, stealth addresses, ZK proofs, MPC, threshold sigs, social recovery, session keys
20+
14. **Oracles** — Chainlink price feeds, VRF randomness, Pyth, RedStone, API3, Keepers automation
21+
15. **Storage** — IPFS, Arweave, Filecoin, Ceramic, OrbitDB
22+
16. **Compute & DePIN** — Akash, Gensyn, Render, IoT device rentals, physical infrastructure
23+
17. **Real-world Assets** — RWA tokenization, supply chain provenance, carbon credits, green bonds
24+
18. **Markets** — prediction markets, auctions (Dutch/English/sealed-bid), fundraising, securities, marketplaces
25+
19. **Security & Wallets** — MPC, session keys, social recovery, multisig, attestations
26+
20. **Gaming** — games, assets, tournaments, achievements, in-game economies
27+
21. **Infrastructure** — AI agents, ML models, training data
28+
29+
Every capability routes through the platform paymaster — users never pay gas.
2730

2831
## How It Works
2932

@@ -35,4 +38,4 @@ The primary network is Base (Ethereum L2). Ethereum mainnet is used for high-val
3538

3639
## Fees
3740

38-
There are none. The platform covers all blockchain transaction fees for every capability — smart contracts, DeFi loans, NFTs, transfers, staking, identity, payments, insurance, DAOs, governance, attestations, token creation, and everything else. Users never pay gas on 0pnMatrx. No exceptions. No conditions. Ever.
41+
There are none. The platform covers all blockchain transaction fees for every capability across all 21 categories — smart contracts, DeFi, NFTs, staking, restaking, identity, governance, payments, cross-chain, privacy, oracles, storage, compute, real-world assets, markets, gaming, infrastructure, and everything else. Users never pay gas on 0pnMatrx. No exceptions. No conditions. Ever.

education/COMMUNITY_GUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Community members are encouraged to run workshops for their teams, meetup groups
5858
| Time | Activity | Description |
5959
|------|----------|-------------|
6060
| 0:00-0:10 | Welcome and Setup | Verify all attendees have Python and git. Help with any installation issues. |
61-
| 0:10-0:25 | What is 0pnMatrx? | Present Module 01 content. Cover the three agents, the architecture, and the 30 services. |
61+
| 0:10-0:25 | What is 0pnMatrx? | Present Module 01 content. Cover the three agents, the architecture, and the 221-capability catalog organized by category. |
6262
| 0:25-0:45 | Live Setup | Everyone clones the repo, runs setup, and starts the gateway. Troubleshoot together. |
6363
| 0:45-1:00 | First Interaction | Attendees send their first /chat request via curl. Discuss the response format. |
6464
| 1:00-1:10 | Break | |

education/course-01-intro-to-0pnmatrx/01-what-is-openmatrix.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ Blockchain technology has a barrier problem. To deploy a smart contract today, y
1010

1111
0pnMatrx is a free, open-source AI agent platform that provides blockchain infrastructure through natural conversation. Instead of writing Solidity code, you describe what you want in plain English. Instead of navigating DeFi interfaces, you chat with an AI agent that handles the complexity for you.
1212

13-
The platform runs on **Base**, an Ethereum Layer 2 network, which means lower gas fees and faster transactions while inheriting Ethereum's security. It provides **30 blockchain services** -- from token deployment to DAO governance to NFT minting -- all accessible through conversation or API calls.
13+
The platform runs on **Base**, an Ethereum Layer 2 network, which means lower gas fees and faster transactions while inheriting Ethereum's security. It provides **221 blockchain capabilities** across 21 categories (DeFi, NFTs, identity, governance, social, creator economy, payments, cross-chain, staking & restaking, privacy & ZK, oracles, storage, compute & DePIN, real-world assets, markets, security, and more) -- from token deployment to DAO governance to NFT minting -- all accessible through conversation or API calls.
1414

1515
## The Three Agents
1616

1717
0pnMatrx is powered by three distinct AI agents, each with a specific role:
1818

1919
### Neo -- The Execution Engine
2020

21-
Neo is the backbone. When a task needs to be performed -- deploying a contract, querying a balance, executing a swap -- Neo handles it. You never interact with Neo directly. Neo operates inside a ReAct (Reasoning + Acting) loop: it receives a task, reasons about the steps required, selects the appropriate tools, executes them, observes the results, and iterates until the task is complete. Neo has access to all 30 blockchain services and executes them with precision.
21+
Neo is the backbone. When a task needs to be performed -- deploying a contract, querying a balance, executing a swap -- Neo handles it. You never interact with Neo directly. Neo operates inside a ReAct (Reasoning + Acting) loop: it receives a task, reasons about the steps required, selects the appropriate tools, executes them, observes the results, and iterates until the task is complete. Neo has access to all 221 capabilities in the registry and executes them with precision.
2222

2323
### Trinity -- The Conversational Interface
2424

@@ -50,7 +50,7 @@ Neo (ReAct Loop)
5050
+---> Tool Selection
5151
| |
5252
| v
53-
| 30 Blockchain Services (Base L2)
53+
| 221 Capabilities (Base L2)
5454
| |
5555
| v
5656
+<--- Results
@@ -63,7 +63,7 @@ The **Gateway** is the central server. It receives requests via REST or WebSocke
6363

6464
The **ReAct Loop** is how Neo works. For each task, Neo cycles through: Thought (what needs to happen), Action (which tool to call), Observation (what the tool returned), and repeats until the task is complete.
6565

66-
The **30 Services** are the actual blockchain operations: token deployment, contract auditing, NFT creation, DeFi interactions, DAO management, staking, bridging, and more. Each service is a self-contained module that Neo can invoke.
66+
The **221 Capabilities** are the actual blockchain operations: contract deployment, swaps, lending, NFT mints, DAOs, restaking, cross-chain messaging, privacy-preserving transfers, oracle queries, and much more. Each service is a self-contained module that Neo can invoke.
6767

6868
## Why This Matters
6969

@@ -77,7 +77,7 @@ For developers, 0pnMatrx provides a plugin system and SDK that lets you extend t
7777

7878
- 0pnMatrx is a free AI agent platform for blockchain operations on Base (Ethereum L2)
7979
- Three agents: Neo (execution), Trinity (conversation), Morpheus (confirmation of irreversible actions)
80-
- 30 blockchain services accessible through natural language or API
80+
- 221 blockchain capabilities accessible through natural language or API, organized into 21 discoverable categories
8181
- The gateway runs on port 18790 and serves as the central coordination point
8282
- Plugin marketplace with 90/10 revenue split (developers keep 90%)
8383

education/course-01-intro-to-0pnmatrx/02-quick-start.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ You should see output indicating the server has started:
5353
[INFO] 0pnMatrx Gateway starting...
5454
[INFO] Loading middleware chain...
5555
[INFO] Agents initialized: Neo, Trinity, Morpheus
56-
[INFO] 30 blockchain services loaded
56+
[INFO] 221 capabilities across 21 categories loaded
5757
[INFO] Gateway listening on port 18790
5858
```
5959

@@ -97,15 +97,16 @@ Expected response:
9797
"trinity": {"status": "active", "role": "conversation"},
9898
"morpheus": {"status": "active", "role": "confirmation"}
9999
},
100-
"services": {
101-
"total": 30,
102-
"active": 30
100+
"capabilities": {
101+
"total": 221,
102+
"categories": 21,
103+
"available_now": 150
103104
},
104105
"uptime_seconds": 45
105106
}
106107
```
107108

108-
This tells you all three agents are loaded and all 30 blockchain services are available.
109+
This tells you all three agents are loaded and the 221-capability catalog is ready. Capabilities for protocols you haven't configured return a clean not_deployed response rather than failing.
109110

110111
## Step 6: Your First Chat with Trinity
111112

0 commit comments

Comments
 (0)