@moonbeam-foundation/sdk 0.13.1 → 0.13.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -23
- package/bin/moonbeam.mjs +12 -12
- package/dist/market/cohorts.d.ts +30 -2
- package/dist/market/cohorts.d.ts.map +1 -1
- package/dist/market/cohorts.js +16 -3
- package/dist/market/cohorts.js.map +1 -1
- package/dist/market/index.d.ts +8 -7
- package/dist/market/index.d.ts.map +1 -1
- package/dist/market/index.js +5 -4
- package/dist/market/index.js.map +1 -1
- package/dist/market/journey.d.ts +51 -12
- package/dist/market/journey.d.ts.map +1 -1
- package/dist/market/journey.js +60 -15
- package/dist/market/journey.js.map +1 -1
- package/dist/market/sale-stops.js +1 -1
- package/dist/market/sale-stops.js.map +1 -1
- package/dist/market/sale.d.ts +43 -0
- package/dist/market/sale.d.ts.map +1 -1
- package/dist/market/sale.js +37 -0
- package/dist/market/sale.js.map +1 -1
- package/dist/market/states-data.d.ts +22 -22
- package/dist/market/states-data.d.ts.map +1 -1
- package/dist/market/states-data.js +2 -2
- package/dist/market/states-data.js.map +1 -1
- package/dist/market/venue-mainnet-data.d.ts +3 -0
- package/dist/market/venue-mainnet-data.d.ts.map +1 -0
- package/dist/market/venue-mainnet-data.js +100 -0
- package/dist/market/venue-mainnet-data.js.map +1 -0
- package/dist/market/venues-data.d.ts.map +1 -1
- package/dist/market/venues-data.js +18 -0
- package/dist/market/venues-data.js.map +1 -1
- package/dist/market/venues.d.ts +10 -0
- package/dist/market/venues.d.ts.map +1 -1
- package/dist/market/venues.js +7 -2
- package/dist/market/venues.js.map +1 -1
- package/docs/PATHS.md +40 -37
- package/docs/VENUES.md +73 -144
- package/docs/io-coverage.md +37 -35
- package/examples/70-every-venue.mjs +12 -8
- package/package.json +1 -1
package/docs/VENUES.md
CHANGED
|
@@ -2,191 +2,120 @@
|
|
|
2
2
|
|
|
3
3
|
`VENUES` and `SALE_STOPS` in `@moonbeam-foundation/sdk/market` hold this page as data. `npx moonbeam venues` prints it.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## What a word means
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
`node scripts/gen-venues.mjs --from <register>`; `npm run check:venues` keeps the module in step). Those states were read for
|
|
9
|
-
the operator's own listings, one cohort, not Moonbeam's: Moonbeam's own states are under [Per cohort](#per-cohort). The SDK never sets a state.
|
|
10
|
-
It maps the register's word one way:
|
|
7
|
+
A step of a market (list, take a job, settle) has one of two words here: **live** or **not yet**. It is **n/a** where the market has no such step: a directory takes no job.
|
|
11
8
|
|
|
12
|
-
|
|
13
|
-
|---|---|---|
|
|
14
|
-
| live, proven | **live** | outside buyers' money ran through it |
|
|
15
|
-
| partial | **partial** | part of the step runs |
|
|
16
|
-
| self_test | **self-test** | it ran, with Moonbeam on both sides |
|
|
17
|
-
| claimed, contradicted | **not yet** | no outside run was found |
|
|
18
|
-
| none | **n/a** | the market has no such step |
|
|
9
|
+
**live** means a mainnet run of that step's path is kept in this SDK as an I/O fixture, and a test replays it.
|
|
19
10
|
|
|
20
|
-
|
|
21
|
-
`GET /venues`) and `agentListing` (that agent on the list step's three markets, from `GET /list/:id`). A read that fails is
|
|
22
|
-
named in `unread`, and the shipped table answers for it. A live read never upgrades a state.
|
|
11
|
+
The run file is `test/io/fixtures/<market>/<stage>/run-live-<path>.json`. Beside it sits the recorded read of every step the run covers.
|
|
23
12
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
|
36
|
-
|
|
37
|
-
|
|
|
38
|
-
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
## Per cohort
|
|
49
|
-
|
|
50
|
-
The listed register holds two cohorts: `operator` (the operator's own listings, the cohort the states above were read for)
|
|
51
|
-
and `moonbeam` (Moonbeam's listings, resold under the operator's licence). Until 0.13.0 the operator cohort was named
|
|
52
|
-
`layer`; `cohorts.layer` still reads `cohorts.operator` in 0.13.0 (not in keys or JSON) and goes in 0.14.0. `venue.cohorts[cohort]` gives each its own `list`, `take`
|
|
53
|
-
and `settle`, each `{ state, says, read_on, from, who }`, with `listings` (listings read on the market), `directories` (outside
|
|
54
|
-
directories that show one) and `wanted` (listings still to make). `from` names the read behind the state (`features`,
|
|
55
|
-
`journey` or `register`) and `who` the party that takes the next step, as the feature matrix names it. `cohortOf` in
|
|
56
|
-
`./market` is the rule, and it never borrows the other cohort's proof. For each step, the first rule that holds:
|
|
57
|
-
|
|
58
|
-
| Rule | State |
|
|
59
|
-
|---|---|
|
|
60
|
-
| the market takes no new agent | **closed** |
|
|
61
|
-
| the market has no such step | **n/a** |
|
|
62
|
-
| list: one of Moonbeam's own agents reads back listed on the market's own read (its journey) | **live** (Moonbeam only) |
|
|
63
|
-
| no listing; the other cohort's listing stands in | **shared** |
|
|
64
|
-
| the feature matrix marks the step for this cohort | ok → **live**, partial → **partial**, owner step, not built, broken → **not yet** |
|
|
65
|
-
| no listing | **not yet** |
|
|
66
|
-
| listed, the cohort the evidence was read for | the venue's state |
|
|
67
|
-
| listed, another cohort | list: the venue's state, at most **partial** while a listing is still wanted; take and settle: **not yet** |
|
|
68
|
-
|
|
69
|
-
The feature matrix's step for each SDK step is `STEP_FEATURE`: list → `list`, take → `jobs_received`, settle → `pay`,
|
|
70
|
-
paid → `settle` (the seller's payout). The venue rows above are never lifted by a mark: where the evidence cohort's mark
|
|
71
|
-
reads lower than the register, the row is held at the mark and says so in `capped { mark, read_at }`.
|
|
72
|
-
|
|
73
|
-
The snapshot is refreshed from the live reads (2026-11-14):
|
|
74
|
-
|
|
75
|
-
node scripts/gen-venues.mjs --from <business register> --listed <GET /v1/listed> \
|
|
76
|
-
--features <GET /v1/listed?view=features> --journey <GET /v1/listed?agent=<house ref>&view=journey>,…
|
|
77
|
-
|
|
78
|
-
| Venue | Operator: list · take · settle | Moonbeam: list · take · settle |
|
|
79
|
-
|---|---|---|
|
|
80
|
-
| x402 | live · live · live | live · tested · partial |
|
|
81
|
-
| Virtuals ACP (ERC-8183 jobs) | live · tested · tested | live · tested · tested |
|
|
82
|
-
| Virtuals memo jobs (memo-ACP) | closed · closed · closed | cut · cut · cut |
|
|
83
|
-
| BitAgent | not yet · not yet · not yet | cut · cut · cut |
|
|
84
|
-
| Olas Mech | not yet · partial · not yet | not yet · not yet · not yet |
|
|
85
|
-
| NEAR AI Agent Market | live · live · partial | live · partial · partial |
|
|
86
|
-
| A2A Registry | live · tested · n/a | live · tested · n/a |
|
|
87
|
-
| MCP Registry | live · tested · n/a | live · tested · n/a |
|
|
88
|
-
| ERC-8004 | live · n/a · n/a | live · n/a · n/a |
|
|
89
|
-
| Workflow nodes (npm) | live · partial · n/a | cut · cut · cut |
|
|
13
|
+
A run on a fork or on a test network never makes a step live. Neither does a run with Moonbeam on both sides, nor a step that works in part.
|
|
14
|
+
|
|
15
|
+
A market is in the table when at least one of its steps is live. The others are named in the sentence under it.
|
|
16
|
+
|
|
17
|
+
## Every venue
|
|
18
|
+
|
|
19
|
+
<!-- venues:moonbeam:start (scripts/gen-readme-venues.mjs) -->
|
|
20
|
+
Read on 2026-11-14. Each word is Moonbeam's own listing on that market (`venue.cohorts.moonbeam`, its `publicState`).
|
|
21
|
+
|
|
22
|
+
| Market | What a seller does there | List | Take a job | Settle | SDK calls |
|
|
23
|
+
|---|---|---|---|---|---|
|
|
24
|
+
| x402 | Buyers pay per call in USDC on Base; each paid task is handed to your agent and settled through the facilitator. | live | not yet | not yet | `publishListing`, `handOver`, `agentSales` |
|
|
25
|
+
| A2A Registry | A directory of A2A agent cards; buyers call the agent at its card's endpoint. | live | not yet | n/a | `listOn`, `handOver`, `agentSales` |
|
|
26
|
+
| MCP Registry | The official MCP Registry and its mirrors (Glama, PulseMCP); clients call the agent's MCP door. | live | not yet | n/a | `listOn`, `handOver`, `agentSales` |
|
|
27
|
+
| ERC-8004 | The identity registry on Base every other market reads: the agent's id, card and endpoint. | live | n/a | n/a | `listOn` |
|
|
28
|
+
|
|
29
|
+
Not yet: Virtuals ACP (ERC-8183 jobs), Olas Mech and NEAR AI Agent Market. No mainnet run of a step there is kept as an I/O test yet.
|
|
30
|
+
|
|
31
|
+
Moonbeam does not list agents on Virtuals memo jobs (memo-ACP), BitAgent or Workflow nodes (npm). They stay in `VENUES` as read-only rows (`moonbeamLists: false`).
|
|
32
|
+
|
|
33
|
+
- **live**: a mainnet run of the step is kept in this SDK as an I/O fixture (`test/io/fixtures`), and a test replays it.
|
|
34
|
+
- **not yet**: no mainnet run of the step is kept yet.
|
|
35
|
+
- **n/a**: the market has no such step.
|
|
36
|
+
<!-- venues:moonbeam:end -->
|
|
90
37
|
|
|
91
38
|
## Each venue
|
|
92
39
|
|
|
40
|
+
<!-- venues:each:start (scripts/gen-readme-venues.mjs) -->
|
|
93
41
|
### x402 (`x402-base`)
|
|
94
42
|
|
|
95
|
-
Buyers pay per call in USDC on Base; each paid task is handed to your agent and settled through the facilitator.
|
|
43
|
+
Buyers pay per call in USDC on Base; each paid task is handed to your agent and settled through the facilitator.
|
|
96
44
|
|
|
97
|
-
|
|
98
|
-
- **take**: live: outside payers paid the operator's walls on Base (read 2026-11-06)
|
|
99
|
-
- **settle**: live: 18 settle transactions on Base from payers outside the operator's addresses (read 2026-11-06)
|
|
100
|
-
- **paid**: not yet: the payout releaser is armed on Base since 2026-10-16 and has sent nothing: its 2 owed sales are held, their seller publishes no payee (read 2026-11-07)
|
|
45
|
+
Your listing sells through the class wall of its job class. The Bazaar indexes a wall after its first paid call; x402scan, Ultravioleta and PayAI list it too.
|
|
101
46
|
|
|
102
|
-
|
|
47
|
+
`market(t, 'x402')` reads its week of money.
|
|
103
48
|
|
|
104
|
-
|
|
49
|
+
- **list**: live · `market.publishListing` (mainnet run read 2026-11-06, kept at `test/io/fixtures/x402-base/listed/run-live-list.json`)
|
|
50
|
+
- **take**: not yet · `market.handOver`
|
|
51
|
+
- **settle**: not yet · `market.agentSales`
|
|
105
52
|
|
|
106
|
-
|
|
107
|
-
- **take**: self-test: the one Base job, 81734, had the operator as client and provider (read 2026-11-06)
|
|
108
|
-
- **settle**: self-test: job 81734 completed and released, the operator on both sides (read 2026-11-06)
|
|
109
|
-
- **paid**: self-test: job 81734's provider was paid by the contract; the operator was on both sides (read 2026-11-07)
|
|
110
|
-
|
|
111
|
-
### Virtuals memo jobs (memo-ACP) (`memoacp-base`)
|
|
53
|
+
### A2A Registry (`a2a`)
|
|
112
54
|
|
|
113
|
-
A
|
|
55
|
+
A directory of A2A agent cards; buyers call the agent at its card's endpoint.
|
|
114
56
|
|
|
115
|
-
|
|
116
|
-
- **take**: not yet: no memo-ACP job of the operator was found (read 2026-11-06)
|
|
117
|
-
- **settle**: not yet: no memo-ACP settlement of the operator was found (read 2026-11-06)
|
|
118
|
-
- **paid**: not yet: no memo-ACP payment to a seller of the operator was found (read 2026-11-07)
|
|
57
|
+
The list step: Moonbeam serves the agent's A2A card and publishes it to the registry.
|
|
119
58
|
|
|
120
|
-
|
|
59
|
+
- **list**: live · `market.listOn` (mainnet run read 2026-11-06, kept at `test/io/fixtures/a2a/listed/run-live-list.json`)
|
|
60
|
+
- **take**: not yet · `market.handOver`
|
|
61
|
+
- **settle**: n/a: an A2A directory has no settlement step
|
|
121
62
|
|
|
122
|
-
|
|
63
|
+
### MCP Registry (`mcp`)
|
|
123
64
|
|
|
124
|
-
|
|
125
|
-
- **take**: not yet: no BitAgent job of the operator was found (read 2026-11-06)
|
|
126
|
-
- **settle**: not yet: no BitAgent settlement of the operator was found (read 2026-11-06)
|
|
127
|
-
- **paid**: not yet: no BitAgent payment to a seller of the operator was found (read 2026-11-07)
|
|
65
|
+
The official MCP Registry and its mirrors (Glama, PulseMCP); clients call the agent's MCP door.
|
|
128
66
|
|
|
129
|
-
|
|
67
|
+
The list step: Moonbeam serves the agent's MCP door and publishes it to the official registry.
|
|
130
68
|
|
|
131
|
-
|
|
69
|
+
- **list**: live · `market.listOn` (mainnet run read 2026-11-11, kept at `test/io/fixtures/mcp/listed/run-live-list.json`)
|
|
70
|
+
- **take**: not yet · `market.handOver`
|
|
71
|
+
- **settle**: n/a: an MCP registry has no settlement step
|
|
132
72
|
|
|
133
|
-
|
|
134
|
-
- **take**: not yet: 0 requests to the operator's mech; the answer code exists but no outside hire has been answered (read 2026-11-14)
|
|
135
|
-
- **settle**: not yet: no Olas delivery of the operator was found (read 2026-11-06)
|
|
136
|
-
- **paid**: not yet: no delivery of the operator's mech, so no payment to it (read 2026-11-07)
|
|
73
|
+
### ERC-8004 (`erc8004`)
|
|
137
74
|
|
|
138
|
-
|
|
75
|
+
The identity registry on Base every other market reads: the agent's id, card and endpoint.
|
|
139
76
|
|
|
140
|
-
|
|
77
|
+
The list step records it; for an id your own wallet owns, `register8004Calls` builds `register(agentURI)` for you to sign.
|
|
141
78
|
|
|
142
|
-
- **list**: live
|
|
143
|
-
- **take**:
|
|
144
|
-
- **settle**:
|
|
145
|
-
|
|
79
|
+
- **list**: live · `market.listOn` (mainnet run read 2026-11-06, kept at `test/io/fixtures/erc8004/listed/run-live-list.json`)
|
|
80
|
+
- **take**: n/a: an identity registry takes no hire
|
|
81
|
+
- **settle**: n/a: an identity registry settles nothing
|
|
82
|
+
<!-- venues:each:end -->
|
|
146
83
|
|
|
147
|
-
|
|
84
|
+
## The table as data
|
|
148
85
|
|
|
149
|
-
|
|
86
|
+
Fields of a venue: `id`, `name`, `marketId` (the id `market(t, id)` takes), `does`, `listedBy` (`list-step`, `venue-account`
|
|
87
|
+
or `registry`), `howListed`, `moonbeamLists`, `entry { cost, done }`, one row per step (`list`, `take`, `settle`, `paid`) and `cohorts`.
|
|
150
88
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
- **settle**: n/a: an A2A directory has no settlement step (read 2026-11-06)
|
|
154
|
-
- **paid**: not yet: the A2A doer whose share is held is the operator's own wallet; no outside A2A doer was paid (read 2026-11-07)
|
|
89
|
+
`venue.cohorts.moonbeam` is Moonbeam's own listing: its `list`, `take` and `settle`, each `{ publicState, state, says, read_on, from, who, mainnet }`.
|
|
90
|
+
`publicState` is the word on this page.
|
|
155
91
|
|
|
156
|
-
|
|
92
|
+
`mainnet { ref, on, run }` names the run a live word stands on. `provenOnMainnet(venue)` says whether any step has one.
|
|
157
93
|
|
|
158
|
-
|
|
94
|
+
`state` is the finer word Moonbeam reads for itself, from the market register, the feature matrix and its own agents' journeys (the `CohortState` type).
|
|
95
|
+
It tells a caller how far a step has come; it is never printed as a public word, and it never makes `publicState` live by itself.
|
|
159
96
|
|
|
160
|
-
|
|
161
|
-
- **take**: not yet: the MCP endpoint answers; no paid hire through it was found (read 2026-11-06)
|
|
162
|
-
- **settle**: n/a: an MCP registry has no settlement step (read 2026-11-06)
|
|
163
|
-
- **paid**: not yet: the MCP seller owed on Base publishes no payee; its share is held (read 2026-11-07)
|
|
97
|
+
`VENUE_MAINNET` holds, per market and feature, the run file and the recorded read of each step (`null` until it is recorded). `publicStateOf(state, proof)` is the rule.
|
|
164
98
|
|
|
165
|
-
|
|
99
|
+
`STEP_FEATURE` maps each SDK step to its feature: list → `list`, take → `jobs_received`, settle → `pay`, paid → `settle` (the seller's payout).
|
|
166
100
|
|
|
167
|
-
|
|
101
|
+
`venue.cohorts.operator` is the operator's own listings, a second cohort that Moonbeam resells under licence. A cohort never borrows the other's proof.
|
|
168
102
|
|
|
169
|
-
|
|
170
|
-
- **take**: n/a: an identity registry takes no hire (read 2026-11-06)
|
|
171
|
-
- **settle**: n/a: an identity registry settles nothing (read 2026-11-06)
|
|
172
|
-
- **paid**: n/a: an identity registry pays nothing
|
|
103
|
+
Until 0.13.0 the operator cohort was named `layer`. `cohorts.layer` still reads `cohorts.operator` in 0.13.0 (not in keys or JSON) and goes in 0.14.0.
|
|
173
104
|
|
|
174
|
-
|
|
105
|
+
`venues(t, { agent })` adds what Moonbeam reads now: `market` (the market's own status and its week of money, from
|
|
106
|
+
`GET /venues`) and `agentListing` (that agent on the list step's three markets, from `GET /list/:id`).
|
|
175
107
|
|
|
176
|
-
|
|
108
|
+
A read that fails is named in `unread`, and the shipped table answers for it. A read never changes a word.
|
|
177
109
|
|
|
178
|
-
|
|
179
|
-
-
|
|
180
|
-
- **settle**: n/a: a workflow node has no settlement of its own (read 2026-11-06)
|
|
181
|
-
- **paid**: n/a: a workflow node has no payout of its own
|
|
110
|
+
The paths behind each market, step by step, are in [PATHS.md](PATHS.md). A new mainnet run is recorded with
|
|
111
|
+
`node scripts/record-api-rung.mjs --rung live`, then `npm run gen:paths`, `npm run gen:acceptance` and `npm run gen:readme`.
|
|
182
112
|
|
|
183
113
|
## One sale, stop by stop
|
|
184
114
|
|
|
185
115
|
The Studio's sale tour has 17 stops (`tutorial-stop:<id>`), and each has exactly one SDK call that does or reads it. The Studio
|
|
186
116
|
shows this table, so its field names are stable: `id`, `order`, `label`, `studio` (the Studio command or Moonbeam op),
|
|
187
117
|
`call`, `module` (`market`, `resale` or `cli`), `fn`, `route` (null when the call runs offline), `needs` (`offline`, `free`:
|
|
188
|
-
public on a shared free rate that a key lifts, or `key`) and `hop` (how the Studio's tour says the stop runs: `
|
|
189
|
-
`partial`, `missing`, or null).
|
|
118
|
+
public on a shared free rate that a key lifts, or `key`) and `hop` (how the Studio's tour says the stop runs, or null: the `StopHop` type lists its words).
|
|
190
119
|
|
|
191
120
|
| # | id | Label | Studio | SDK call | Route | Needs |
|
|
192
121
|
|---|---|---|---|---|---|---|
|
|
@@ -204,6 +133,6 @@ public on a shared free rate that a key lifts, or `key`) and `hop` (how the Stud
|
|
|
204
133
|
| 12 | `accrued` | Booked | GET /v1/resale | `market.saleLedger` | `GET /resale` | free |
|
|
205
134
|
| 13 | `split` | Added up each week | GET /v1/pipe/queues | `market.payoutQueues` | `GET /pipe/queues` | free |
|
|
206
135
|
| 14 | `vault` | The vault | GET /v1/vault/policy | `market.vaultPolicy` | `GET /vault/policy` | free |
|
|
207
|
-
| 15 | `paid` | Paid | GET /v1/
|
|
136
|
+
| 15 | `paid` | Paid | GET /v1/resale/sales/:id | `market.salePaid` | `GET /resale/sales/:id` | free |
|
|
208
137
|
| 16 | `recorded` | Recorded | GET /v1/root | `market.saleRecord` | `GET /root` | free |
|
|
209
138
|
| 17 | `usage` | What it cost | Settings → Usage | `market.keyStanding` | `GET /access/key` | key |
|
package/docs/io-coverage.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Coord I/O coverage
|
|
2
2
|
|
|
3
|
-
Generated by `scripts/io-coverage.mjs` from coord at `
|
|
3
|
+
Generated by `scripts/io-coverage.mjs` from coord at `ff6e4413fd7ffc8a1595a58b2f43e2f979cfcd38`. Do not edit: `npm run io:check -- --coord <path>` regenerates it.
|
|
4
4
|
|
|
5
5
|
Every kept market, every stage (listed, bought, delivered, settled, paid) and both directions (read, write). Each row is one coord operation with a recorded fixture that the replay test (`test/io/replay.test.ts`) feeds through the SDK, or a named gap. Chain reads and writes are on the devnet, chain 36927.
|
|
6
6
|
|
|
@@ -10,15 +10,15 @@ Sources: **live** (a public read, recorded), **devnet-ledger** (built from the d
|
|
|
10
10
|
|
|
11
11
|
| Market | Cells | With a fixture | Rows | live | devnet-ledger | contract | Gaps |
|
|
12
12
|
|---|---|---|---|---|---|---|---|
|
|
13
|
-
| x402 | 10 |
|
|
14
|
-
| MCP Registry | 10 |
|
|
15
|
-
| A2A Registry | 10 |
|
|
13
|
+
| x402 | 10 | 10 | 35 | 19 | 2 | 9 | payment 3, owner arm 1, no devnet twin 1 |
|
|
14
|
+
| MCP Registry | 10 | 10 | 25 | 13 | 2 | 8 | payment 1, owner arm 1 |
|
|
15
|
+
| A2A Registry | 10 | 10 | 25 | 13 | 2 | 8 | payment 1, owner arm 1 |
|
|
16
16
|
| ERC-8004 | 10 | 2 | 13 | 4 | 0 | 1 | not in coord 8 |
|
|
17
|
-
| NEAR AI Agent Market | 10 |
|
|
18
|
-
| Virtuals ACP | 10 |
|
|
19
|
-
| Olas Mech | 10 | 9 | 29 |
|
|
17
|
+
| NEAR AI Agent Market | 10 | 10 | 23 | 10 | 2 | 8 | payment 1, owner arm 1, no devnet twin 1 |
|
|
18
|
+
| Virtuals ACP | 10 | 9 | 32 | 16 | 2 | 10 | key 1, payment 1, owner arm 1, not in coord 1 |
|
|
19
|
+
| Olas Mech | 10 | 9 | 29 | 15 | 2 | 8 | payment 1, owner arm 1, not in coord 2 |
|
|
20
20
|
|
|
21
|
-
Gaps in all:
|
|
21
|
+
Gaps in all: 28 (needs_key 1, needs_payment 8, needs_owner_arm 6, no_devnet_twin 2, not_in_coord 11). The count may only go down (`test/io/gaps.baseline.json`).
|
|
22
22
|
|
|
23
23
|
## Every cell
|
|
24
24
|
|
|
@@ -31,24 +31,26 @@ Gaps in all: 54 (needs_key 1, needs_payment 28, needs_owner_arm 6, no_devnet_twi
|
|
|
31
31
|
| NEAR AI Agent Market | listed | read | `GET listed` | | live (accepted drift: query:agent) |
|
|
32
32
|
| Virtuals ACP | listed | read | `GET listed` | | live (accepted drift: query:agent) |
|
|
33
33
|
| Olas Mech | listed | read | `GET listed` | | live (accepted drift: query:agent) |
|
|
34
|
-
| x402 | listed | read | `GET x402/bazaar` | |
|
|
34
|
+
| x402 | listed | read | `GET x402/bazaar` | | live |
|
|
35
35
|
| x402 | listed | read | `GET venues/:id` | | live |
|
|
36
36
|
| Virtuals ACP | listed | read | `GET venues/:id` | | live |
|
|
37
|
-
| MCP Registry | listed | read | `GET mcp/registry` | |
|
|
38
|
-
| MCP Registry | listed | read | `GET mcp/registry/server` | |
|
|
39
|
-
| A2A Registry | listed | read | `GET a2a/registry` | |
|
|
40
|
-
| A2A Registry | listed | read | `GET a2a/registry/agent` | |
|
|
37
|
+
| MCP Registry | listed | read | `GET mcp/registry` | | live |
|
|
38
|
+
| MCP Registry | listed | read | `GET mcp/registry/server` | | live |
|
|
39
|
+
| A2A Registry | listed | read | `GET a2a/registry` | | live |
|
|
40
|
+
| A2A Registry | listed | read | `GET a2a/registry/agent` | | live |
|
|
41
41
|
| MCP Registry | listed | read | `GET list/:id` | | live |
|
|
42
42
|
| A2A Registry | listed | read | `GET list/:id` | | live |
|
|
43
43
|
| ERC-8004 | listed | read | `GET list/:id` | | live |
|
|
44
|
+
| Virtuals ACP | listed | read | `GET list/:id` | | live |
|
|
44
45
|
| ERC-8004 | listed | read | `GET agents/identity` | 8453 | live |
|
|
45
46
|
| ERC-8004 | listed | read | `GET registry/agents/:chain/:id` | 8453 | live |
|
|
46
|
-
| Virtuals ACP | listed | read | `GET virtuals/sellers` | |
|
|
47
|
-
| Olas Mech | listed | read | `GET olas/mechs` | 8453 |
|
|
47
|
+
| Virtuals ACP | listed | read | `GET virtuals/sellers` | | live |
|
|
48
|
+
| Olas Mech | listed | read | `GET olas/mechs` | 8453 | live |
|
|
48
49
|
| Olas Mech | listed | read | `GET mech` | 36927 | live |
|
|
49
50
|
| MCP Registry | listed | write | `POST list` | 36927 | contract |
|
|
50
51
|
| A2A Registry | listed | write | `POST list` | 36927 | contract |
|
|
51
52
|
| ERC-8004 | listed | write | `POST list` | 36927 | contract |
|
|
53
|
+
| Virtuals ACP | listed | write | `POST list` | 36927 | contract |
|
|
52
54
|
| x402 | listed | write | `POST agent-listings` | 36927 | contract |
|
|
53
55
|
| NEAR AI Agent Market | listed | write | `POST agent-listings` | 36927 | contract |
|
|
54
56
|
| Virtuals ACP | listed | write | `POST agent-listings` | 36927 | contract |
|
|
@@ -70,14 +72,14 @@ Gaps in all: 54 (needs_key 1, needs_payment 28, needs_owner_arm 6, no_devnet_twi
|
|
|
70
72
|
| x402 | bought | read | `GET x402/class/:class` | | gap: needs_payment |
|
|
71
73
|
| Virtuals ACP | bought | read | `GET jobs` | 36927 | live |
|
|
72
74
|
| Olas Mech | bought | read | `GET mech/requests` | 36927 | live |
|
|
73
|
-
| x402 | bought | write | `POST settle` | 36927 |
|
|
74
|
-
| MCP Registry | bought | write | `POST settle` | 36927 |
|
|
75
|
-
| A2A Registry | bought | write | `POST settle` | 36927 |
|
|
76
|
-
| NEAR AI Agent Market | bought | write | `POST settle` | 36927 |
|
|
77
|
-
| Virtuals ACP | bought | write | `POST settle` | 36927 |
|
|
78
|
-
| Olas Mech | bought | write | `POST settle` | 36927 |
|
|
75
|
+
| x402 | bought | write | `POST settle` | 36927 | contract |
|
|
76
|
+
| MCP Registry | bought | write | `POST settle` | 36927 | contract |
|
|
77
|
+
| A2A Registry | bought | write | `POST settle` | 36927 | contract |
|
|
78
|
+
| NEAR AI Agent Market | bought | write | `POST settle` | 36927 | contract |
|
|
79
|
+
| Virtuals ACP | bought | write | `POST settle` | 36927 | contract |
|
|
80
|
+
| Olas Mech | bought | write | `POST settle` | 36927 | contract |
|
|
79
81
|
| x402 | bought | write | `POST x402/class/:class` | | gap: needs_payment |
|
|
80
|
-
| Virtuals ACP | bought | write | `POST assurance/call` | |
|
|
82
|
+
| Virtuals ACP | bought | write | `POST assurance/call` | | contract |
|
|
81
83
|
| Olas Mech | bought | write | `POST mech/plan` | 36927 | contract |
|
|
82
84
|
| NEAR AI Agent Market | bought | write | none | | gap: no_devnet_twin |
|
|
83
85
|
| x402 | delivered | read | `GET settle/:id` | 36927 | live |
|
|
@@ -86,14 +88,14 @@ Gaps in all: 54 (needs_key 1, needs_payment 28, needs_owner_arm 6, no_devnet_twi
|
|
|
86
88
|
| NEAR AI Agent Market | delivered | read | `GET settle/:id` | 36927 | live |
|
|
87
89
|
| Virtuals ACP | delivered | read | `GET settle/:id` | 36927 | live |
|
|
88
90
|
| Olas Mech | delivered | read | `GET settle/:id` | 36927 | live |
|
|
89
|
-
| x402 | delivered | read | `GET chain/:chain/tx/:hash` | 36927 |
|
|
90
|
-
| MCP Registry | delivered | read | `GET chain/:chain/tx/:hash` | 36927 |
|
|
91
|
-
| A2A Registry | delivered | read | `GET chain/:chain/tx/:hash` | 36927 |
|
|
92
|
-
| NEAR AI Agent Market | delivered | read | `GET chain/:chain/tx/:hash` | 36927 |
|
|
93
|
-
| Virtuals ACP | delivered | read | `GET chain/:chain/tx/:hash` | 36927 |
|
|
94
|
-
| Olas Mech | delivered | read | `GET chain/:chain/tx/:hash` | 36927 |
|
|
91
|
+
| x402 | delivered | read | `GET chain/:chain/tx/:hash` | 36927 | live |
|
|
92
|
+
| MCP Registry | delivered | read | `GET chain/:chain/tx/:hash` | 36927 | live |
|
|
93
|
+
| A2A Registry | delivered | read | `GET chain/:chain/tx/:hash` | 36927 | live |
|
|
94
|
+
| NEAR AI Agent Market | delivered | read | `GET chain/:chain/tx/:hash` | 36927 | live |
|
|
95
|
+
| Virtuals ACP | delivered | read | `GET chain/:chain/tx/:hash` | 36927 | live |
|
|
96
|
+
| Olas Mech | delivered | read | `GET chain/:chain/tx/:hash` | 36927 | live |
|
|
95
97
|
| Olas Mech | delivered | read | `GET mech/results/:chain/:requestId` | 36927 | live |
|
|
96
|
-
| Olas Mech | delivered | read | `GET judge/evidence/olas/:requestId` | 8453 | gap:
|
|
98
|
+
| Olas Mech | delivered | read | `GET judge/evidence/olas/:requestId` | 8453 | gap: not_in_coord |
|
|
97
99
|
| Virtuals ACP | delivered | read | `GET jobs` | 36927 | live |
|
|
98
100
|
| x402 | delivered | write | `POST handshake` | 36927 | contract |
|
|
99
101
|
| MCP Registry | delivered | write | `POST handshake` | 36927 | contract |
|
|
@@ -113,12 +115,12 @@ Gaps in all: 54 (needs_key 1, needs_payment 28, needs_owner_arm 6, no_devnet_twi
|
|
|
113
115
|
| NEAR AI Agent Market | settled | read | `GET chain/:chain/tx/:hash` | 36927 | devnet-ledger |
|
|
114
116
|
| Virtuals ACP | settled | read | `GET chain/:chain/tx/:hash` | 36927 | devnet-ledger |
|
|
115
117
|
| Olas Mech | settled | read | `GET chain/:chain/tx/:hash` | 36927 | devnet-ledger |
|
|
116
|
-
| x402 | settled | read | `GET proof/tx/:chain/:tx` | 36927 |
|
|
117
|
-
| MCP Registry | settled | read | `GET proof/tx/:chain/:tx` | 36927 |
|
|
118
|
-
| A2A Registry | settled | read | `GET proof/tx/:chain/:tx` | 36927 |
|
|
119
|
-
| NEAR AI Agent Market | settled | read | `GET proof/tx/:chain/:tx` | 36927 |
|
|
120
|
-
| Virtuals ACP | settled | read | `GET proof/tx/:chain/:tx` | 36927 |
|
|
121
|
-
| Olas Mech | settled | read | `GET proof/tx/:chain/:tx` | 36927 |
|
|
118
|
+
| x402 | settled | read | `GET proof/tx/:chain/:tx` | 36927 | live |
|
|
119
|
+
| MCP Registry | settled | read | `GET proof/tx/:chain/:tx` | 36927 | live |
|
|
120
|
+
| A2A Registry | settled | read | `GET proof/tx/:chain/:tx` | 36927 | live |
|
|
121
|
+
| NEAR AI Agent Market | settled | read | `GET proof/tx/:chain/:tx` | 36927 | live |
|
|
122
|
+
| Virtuals ACP | settled | read | `GET proof/tx/:chain/:tx` | 36927 | live |
|
|
123
|
+
| Olas Mech | settled | read | `GET proof/tx/:chain/:tx` | 36927 | live |
|
|
122
124
|
| x402 | settled | read | `GET sign/status` | 36927 | live |
|
|
123
125
|
| MCP Registry | settled | read | `GET sign/status` | 36927 | live |
|
|
124
126
|
| A2A Registry | settled | read | `GET sign/status` | 36927 | live |
|
|
@@ -1,19 +1,23 @@
|
|
|
1
|
-
// Every venue, one table: each market
|
|
2
|
-
//
|
|
1
|
+
// Every venue, one table: each market Moonbeam lists on, each step (list, take a job, settle) with its word and its SDK call. A step
|
|
2
|
+
// is live only when a mainnet run of it is kept in the SDK as an I/O test; else it is not yet, or n/a where the market has no such step.
|
|
3
|
+
// Then one sale, stop by stop, each stop with its one SDK call.
|
|
3
4
|
// node examples/70-every-venue.mjs the shipped table and its read date (offline)
|
|
4
5
|
// MOONBEAM_API=… node examples/70-every-venue.mjs [8453:<id>] with each market's own read now, and where that agent is listed
|
|
5
|
-
import { VENUES, VENUES_READ_ON, SALE_STOPS, venues, transportFromEnv } from '@moonbeam-foundation/sdk/market';
|
|
6
|
+
import { VENUES, VENUES_READ_ON, SALE_STOPS, COHORT_STEPS, MAINNET_IO_OF, provenOnMainnet, venues, transportFromEnv } from '@moonbeam-foundation/sdk/market';
|
|
6
7
|
|
|
7
8
|
const agent = process.argv[2];
|
|
8
9
|
const live = !process.env.OFFLINE && process.env.MOONBEAM_API;
|
|
9
10
|
const r = live ? await venues(transportFromEnv(), agent ? { agent } : {}) : { venues: VENUES, readOn: VENUES_READ_ON, readAt: null, unread: [] };
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
console.log(
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
const kept = r.venues.filter((v) => v.moonbeamLists);
|
|
12
|
+
const cell = (v, k) => `${v.cohorts[MAINNET_IO_OF][k].publicState}${v[k].call ? ` ${v[k].call}` : ''}`.padEnd(32);
|
|
13
|
+
console.log(`every venue, read on ${r.readOn}${r.readAt ? ` · markets read ${r.readAt}` : ''}`);
|
|
14
|
+
console.log(`${'venue'.padEnd(30)}${'list'.padEnd(32)}${'take a job'.padEnd(32)}settle`);
|
|
15
|
+
for (const v of kept.filter(provenOnMainnet)) {
|
|
16
|
+
console.log(`${v.name.padEnd(30)}${COHORT_STEPS.map((k) => cell(v, k)).join('').trimEnd()}`);
|
|
15
17
|
if (v.agentListing !== undefined) console.log(`${''.padEnd(30)}${agent} here: ${v.agentListing ? v.agentListing.state : 'not asked'}`);
|
|
16
18
|
}
|
|
19
|
+
const open = kept.filter((v) => !provenOnMainnet(v));
|
|
20
|
+
if (open.length) console.log(`not yet: ${open.map((v) => v.name).join(', ')}`);
|
|
17
21
|
for (const u of r.unread) console.log(`not read now: ${u}`);
|
|
18
22
|
console.log('\none sale, stop by stop');
|
|
19
23
|
for (const s of SALE_STOPS) console.log(`${String(s.order).padStart(2)} ${s.label.padEnd(20)} ${s.call.padEnd(26)} ${s.route ?? 'offline'}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moonbeam-foundation/sdk",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.3",
|
|
4
4
|
"description": "Agentic commerce SDK for AI agents: buy and sell agent work on every market (x402, MCP, A2A, Virtuals ACP / ERC-8183, Olas, BitAgent, ERC-8004, NEAR), with graded jobs and assurance on Base. The Moonbeam Studio's workflows as code.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|