@moonbeam-foundation/sdk 0.13.5 → 0.13.6
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 +5 -5
- package/dist/acp/moonbeam-acp.generated.d.ts +1 -1
- package/dist/acp/moonbeam-acp.generated.d.ts.map +1 -1
- package/dist/acp/moonbeam-acp.generated.js +1 -1
- package/dist/acp/moonbeam-acp.generated.js.map +1 -1
- package/dist/acp/registry.js +1 -1
- package/dist/acp/registry.js.map +1 -1
- package/dist/judge/index.d.ts +2 -2
- package/dist/judge/index.d.ts.map +1 -1
- package/dist/judge/index.js +3 -3
- package/dist/judge/index.js.map +1 -1
- package/dist/market/cohorts.d.ts +2 -2
- package/dist/market/cohorts.d.ts.map +1 -1
- package/dist/market/cohorts.js +9 -3
- package/dist/market/cohorts.js.map +1 -1
- package/dist/market/index.d.ts +2 -1
- package/dist/market/index.d.ts.map +1 -1
- package/dist/market/index.js +1 -1
- package/dist/market/index.js.map +1 -1
- package/dist/market/sale.d.ts +30 -0
- package/dist/market/sale.d.ts.map +1 -1
- package/dist/market/sale.js +22 -0
- package/dist/market/sale.js.map +1 -1
- package/dist/market/venue-mainnet-data.js +28 -28
- package/dist/market/venue-mainnet-data.js.map +1 -1
- package/dist/market/venues-data.d.ts.map +1 -1
- package/dist/market/venues-data.js +66 -58
- package/dist/market/venues-data.js.map +1 -1
- package/dist/market/venues.d.ts.map +1 -1
- package/dist/market/venues.js +4 -2
- package/dist/market/venues.js.map +1 -1
- package/dist/resale/index.d.ts +1 -1
- package/dist/resale/index.js +1 -1
- package/docs/PATHS.md +21 -4
- package/docs/REFERENCE.md +3 -3
- package/docs/VENUES.md +32 -10
- package/docs/io-coverage.md +1 -1
- package/package.json +1 -1
package/dist/market/venues.js
CHANGED
|
@@ -69,9 +69,11 @@ function venueOf(s, r) {
|
|
|
69
69
|
const read = na ? 'n/a' : k === 'paid' && !r.paid ? 'not yet' : stateOf(reg.register);
|
|
70
70
|
// the evidence cohort's live mark never lifts the register's state, and holds it lower when the market reads less now
|
|
71
71
|
const m = markOf(r.cohorts?.[VENUE_EVIDENCE_OF] ?? r.cohorts?.layer, k);
|
|
72
|
-
|
|
72
|
+
// a mark older than the register's own read of the step is stale: the newer read stands
|
|
73
|
+
const stale = !!m && !!m.read_at && !!reg.read_on && m.read_at.slice(0, 10) < reg.read_on.slice(0, 10);
|
|
74
|
+
const state = m && !stale ? capState(read, m.state) : read;
|
|
73
75
|
return { state, register: reg.register, says: reg.says ?? na ?? null, read_on: reg.read_on, call: state === 'n/a' ? null : s.calls[k],
|
|
74
|
-
...(m && state !== read ? { capped: { mark: m.mark, read_at: m.read_at } } : {}) };
|
|
76
|
+
...(m && !stale && state !== read ? { capped: { mark: m.mark, read_at: m.read_at } } : {}) };
|
|
75
77
|
};
|
|
76
78
|
const { calls: _c, na: _n, ...v } = s;
|
|
77
79
|
const steps = { list: row('list'), take: row('take'), settle: row('settle'), paid: row('paid') };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"venues.js","sourceRoot":"","sources":["../../src/market/venues.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAiC,MAAM,cAAc,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAA+F,MAAM,cAAc,CAAC;AASlL,MAAM,CAAC,MAAM,WAAW,GAAyB,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC;AAkBnG,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,cAAc,EAAE,cAAc,EAAE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C;QACZ,IAAI,CAAC,CAAC,MAAM,KAAK,WAAW;YAAE,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE,CAAC;gBAAC,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;gBAAC,IAAI,CAAC;oBAAE,CAAC,CAAC,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;YAAC,CAAC;;YACvJ,MAAM,CAAC,IAAI,CAAC,kBAAmB,CAAC,CAAC,MAAgB,EAAE,OAAO,IAAI,WAAW,EAAE,CAAC,CAAC;IACpF,CAAC;IACD,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;AAClE,CAAC"}
|
package/dist/resale/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* price_to_buyer = seller_price + our_fee + venue_fee(in) + venue_fee(out) [+ reseller_markup]
|
|
8
8
|
*
|
|
9
|
-
* The Moonbeam profile sells
|
|
9
|
+
* The Moonbeam profile sells (the buyer pays on a Base venue) and GLMR stays the money of the assurance hook; the
|
|
10
10
|
* seller's leg is paid where the seller was hired, on the network, token and payTo of its own offer (sellerRailOf,
|
|
11
11
|
* SETTLE_ON_SELLER_VENUE_v1). The markup is the reseller's own leg (`reseller_markup`), never part of Moonbeam's fee. Everything here is
|
|
12
12
|
* pure except the two reads, which take a transport (a fetch and the site's own same-origin proxy base, as ./onboard does).
|
package/dist/resale/index.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* price_to_buyer = seller_price + our_fee + venue_fee(in) + venue_fee(out) [+ reseller_markup]
|
|
8
8
|
*
|
|
9
|
-
* The Moonbeam profile sells
|
|
9
|
+
* The Moonbeam profile sells (the buyer pays on a Base venue) and GLMR stays the money of the assurance hook; the
|
|
10
10
|
* seller's leg is paid where the seller was hired, on the network, token and payTo of its own offer (sellerRailOf,
|
|
11
11
|
* SETTLE_ON_SELLER_VENUE_v1). The markup is the reseller's own leg (`reseller_markup`), never part of Moonbeam's fee. Everything here is
|
|
12
12
|
* pure except the two reads, which take a transport (a fetch and the site's own same-origin proxy base, as ./onboard does).
|
package/docs/PATHS.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Venue paths
|
|
2
2
|
|
|
3
|
-
<!-- _VENUE_PATHS_v1_: generated by scripts/gen-paths.mjs from coord
|
|
3
|
+
<!-- _VENUE_PATHS_v1_: generated by scripts/gen-paths.mjs from coord 969ebd049 (lang/gen/venue-paths.public.json): do not edit -->
|
|
4
4
|
|
|
5
5
|
Each market Moonbeam lists on, with its three paths: list, buy and sell. Every step names what it leaves behind and the read that shows it.
|
|
6
6
|
|
|
@@ -14,7 +14,7 @@ A fork or devnet run is Moonbeam's own evidence of the code, and never a public
|
|
|
14
14
|
|---|---|---|---|---|---|---|
|
|
15
15
|
| list | the operator’s class walls in the x402 directories buyers search | published → indexed | mainnet | — | `x402-base/listed/run-live-list.json` | list: 2 of 2 reads |
|
|
16
16
|
| buy | the operator pays an outside 402 seller for the answer it resells | hired → paid → delivered | not yet | — | — | — |
|
|
17
|
-
| sell | an outside buyer pays the operator’s wall; the seller whose answer it was is paid its share | settled → delivered → legs → paid | fork, mainnet | 21 on Base | `x402-base/bought/run-fork-sell.json`<br>`x402-base/bought/run-live-sell.json`<br>`x402-base/delivered/run-fork-sell.json`<br>`x402-base/delivered/run-live-sell.json`<br>`x402-base/paid/run-fork-sell.json` | jobs_received:
|
|
17
|
+
| sell | an outside buyer pays the operator’s wall; the seller whose answer it was is paid its share | settled → delivered → legs → paid | fork, mainnet | 21 on Base | `x402-base/bought/run-fork-sell.json`<br>`x402-base/bought/run-live-sell.json`<br>`x402-base/delivered/run-fork-sell.json`<br>`x402-base/delivered/run-live-sell.json`<br>`x402-base/paid/run-fork-sell.json` | jobs_received: 3 of 3 reads<br>deliver: 3 of 3 reads |
|
|
18
18
|
|
|
19
19
|
Not yet:
|
|
20
20
|
|
|
@@ -35,11 +35,28 @@ Not yet:
|
|
|
35
35
|
- buy · settled: its stream row operator.acp-escrow is off the pipe (phase off: E-RAW)
|
|
36
36
|
- sell · delivered: its stream row operator.escrow-sig is off the pipe (phase off: VEN)
|
|
37
37
|
|
|
38
|
+
## BitAgent
|
|
39
|
+
|
|
40
|
+
| Path | What it does | Steps | Proved by | Transactions | Run file | Mainnet reads kept |
|
|
41
|
+
|---|---|---|---|---|---|---|
|
|
42
|
+
| list | the operator’s agent in BitAgent's own list | listed | not yet | — | — | — |
|
|
43
|
+
| buy | the operator hires a BitAgent provider through BitAgent's ERC-8183 deployment | opened → funded → settled | fork | — | `bitagent-base/bought/run-fork-buy.json` | — |
|
|
44
|
+
| sell | an outside client hires the operator’s provider on BitAgent | opened → settled | fork | — | `bitagent-base/bought/run-fork-sell.json`<br>`bitagent-base/delivered/run-fork-sell.json`<br>`bitagent-base/paid/run-fork-sell.json` | — |
|
|
45
|
+
|
|
46
|
+
Not yet:
|
|
47
|
+
|
|
48
|
+
- list · listed: no audited route named: no coord stream row, no purpose and no outside party
|
|
49
|
+
- buy · opened: no audited route named: no coord stream row, no purpose and no outside party
|
|
50
|
+
- buy · funded: no audited route named: no coord stream row, no purpose and no outside party
|
|
51
|
+
- buy · settled: no audited route named: no coord stream row, no purpose and no outside party
|
|
52
|
+
- sell · opened: no audited route named: no coord stream row, no purpose and no outside party
|
|
53
|
+
- sell · settled: no audited route named: no coord stream row, no purpose and no outside party
|
|
54
|
+
|
|
38
55
|
## Olas Mech
|
|
39
56
|
|
|
40
57
|
| Path | What it does | Steps | Proved by | Transactions | Run file | Mainnet reads kept |
|
|
41
58
|
|---|---|---|---|---|---|---|
|
|
42
|
-
| list | the operator’s mech on the Olas MechMarketplace, its tools on its card | listed | mainnet | — | `olas-base/listed/run-live-list.json` | list:
|
|
59
|
+
| list | the operator’s mech on the Olas MechMarketplace, its tools on its card | listed | fork, mainnet | — | `olas-base/listed/run-fork-list.json`<br>`olas-base/listed/run-live-list.json` | list: 1 of 1 reads |
|
|
43
60
|
| buy | the operator sends a request to an outside mech | requested → delivered | fork | — | `olas-base/bought/run-fork-buy.json` | — |
|
|
44
61
|
| sell | an outside requester asks the operator’s mech; the mech delivers and is paid | requested → delivered | fork | — | `olas-base/bought/run-fork-sell.json`<br>`olas-base/delivered/run-fork-sell.json` | — |
|
|
45
62
|
|
|
@@ -90,7 +107,7 @@ Not yet:
|
|
|
90
107
|
|
|
91
108
|
| Path | What it does | Steps | Proved by | Transactions | Run file | Mainnet reads kept |
|
|
92
109
|
|---|---|---|---|---|---|---|
|
|
93
|
-
| list | the operator’s agent on the NEAR agent market (not on Base) | listed | mainnet | — | `near-agent-market/listed/run-live-list.json` | list:
|
|
110
|
+
| list | the operator’s agent on the NEAR agent market (not on Base) | listed | mainnet | — | `near-agent-market/listed/run-live-list.json` | list: 1 of 1 reads |
|
|
94
111
|
| buy | the operator hires an agent on the NEAR market and pays into the market's escrow; the payment is planned first (a plan, nothing sent) | planned → hired → paid → delivered | not yet | — | — | — |
|
|
95
112
|
| sell | an outside buyer hires the operator’s agent on the NEAR market; the market releases the escrow on the buyer's acceptance | hired → delivered → settled | not yet | — | — | — |
|
|
96
113
|
|
package/docs/REFERENCE.md
CHANGED
|
@@ -6,7 +6,7 @@ Moonbeam Studio's workflows.
|
|
|
6
6
|
|
|
7
7
|
## Assurance: a price, a judge and a deadline, settled against proof
|
|
8
8
|
|
|
9
|
-
- **What:** Moonbeam's assurance layer
|
|
9
|
+
- **What:** Moonbeam's assurance layer, modelled end to end: the seller's deposit, the buyer's premium, the
|
|
10
10
|
backers' pool, the verdict, and a settlement in which every ledger sums to zero.
|
|
11
11
|
- **Why:** agent escrow refunds the price of a failed job, never the cost of the failure, and the judge has no capital
|
|
12
12
|
behind its verdict. Moonbeam adds the deposit, the pool and a grader (Jev by TypeSafe).
|
|
@@ -60,7 +60,7 @@ job, which is the shape a flat premium cannot fund at realistic failure rates.
|
|
|
60
60
|
|
|
61
61
|
## Examples
|
|
62
62
|
|
|
63
|
-
Twenty-five runnable files in [`examples/`](../examples),
|
|
63
|
+
Twenty-five runnable files in [`examples/`](../examples), covering Base jobs; all run offline except four (17 and 32 read live; 50 and
|
|
64
64
|
51 read live, or run from recorded answers with `OFFLINE=1`). `npm test` runs them.
|
|
65
65
|
|
|
66
66
|
| Start with | If you are |
|
|
@@ -258,7 +258,7 @@ typed `POOLS_OPEN_ON` is only the fallback. Pass its `chains` to the pool builde
|
|
|
258
258
|
|
|
259
259
|
## Judging a job on the Base hook
|
|
260
260
|
|
|
261
|
-
`@moonbeam-foundation/sdk/judge` grades a GLMR job on Moonbeam's assurance hook
|
|
261
|
+
`@moonbeam-foundation/sdk/judge` grades a GLMR job on Moonbeam's assurance hook
|
|
262
262
|
(`0xc0578657Eda85e0a246771aa1839ce79b54eE80d`) and builds the call that ends it. The grade works like this:
|
|
263
263
|
|
|
264
264
|
- Code checks the facts first. A failed check rejects the job, and the model is never asked.
|
package/docs/VENUES.md
CHANGED
|
@@ -17,18 +17,18 @@ A market is in the table when at least one of its steps is live. The others are
|
|
|
17
17
|
## Every venue
|
|
18
18
|
|
|
19
19
|
<!-- venues:moonbeam:start (scripts/gen-readme-venues.mjs) -->
|
|
20
|
-
Read on 2026-11-
|
|
20
|
+
Read on 2026-11-26. Each word is that step on that market (`venue.cohorts.moonbeam`, its `publicState`).
|
|
21
21
|
|
|
22
22
|
| Market | What a seller does there | List | Take a job | Settle | SDK calls |
|
|
23
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 |
|
|
24
|
+
| x402 | Buyers pay per call in USDC on Base; each paid task is handed to your agent and settled through the facilitator. | live | live | not yet | `publishListing`, `handOver`, `agentSales` |
|
|
25
|
+
| Olas Mech | A requester pays a mech on Base for one request; the mech delivers its answer on chain. | live | not yet | not yet | `readListing`, `olasRequest` |
|
|
26
|
+
| NEAR AI Agent Market | Buyers find an agent by category and its own words, and hire it over A2A. | live | not yet | not yet | `readListing`, `handOver` |
|
|
25
27
|
| 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
28
|
| 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
29
|
| 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
30
|
|
|
29
|
-
Not yet: Virtuals ACP (ERC-8183 jobs),
|
|
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`).
|
|
31
|
+
Not yet: Virtuals ACP (ERC-8183 jobs), Virtuals memo jobs (memo-ACP), BitAgent and Workflow nodes (npm). No mainnet run of a step there is kept as an I/O test yet.
|
|
32
32
|
|
|
33
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
34
|
- **not yet**: no mainnet run of the step is kept yet.
|
|
@@ -46,17 +46,39 @@ Your listing sells through the class wall of its job class. The Bazaar indexes a
|
|
|
46
46
|
|
|
47
47
|
`market(t, 'x402')` reads its week of money.
|
|
48
48
|
|
|
49
|
-
- **list**: live · `market.publishListing` (mainnet run read 2026-11-
|
|
50
|
-
- **take**:
|
|
49
|
+
- **list**: live · `market.publishListing` (mainnet run read 2026-11-25, kept at `test/io/fixtures/x402-base/listed/run-live-list.json`)
|
|
50
|
+
- **take**: live · `market.handOver` (mainnet run read 2026-11-26, kept at `test/io/fixtures/x402-base/bought/run-live-sell.json`)
|
|
51
51
|
- **settle**: not yet · `market.agentSales`
|
|
52
52
|
|
|
53
|
+
### Olas Mech (`olas-base`)
|
|
54
|
+
|
|
55
|
+
A requester pays a mech on Base for one request; the mech delivers its answer on chain.
|
|
56
|
+
|
|
57
|
+
An Olas service registered from your own wallet (a bond and gas): `readListing().export.olas` holds its service, mech and worker.
|
|
58
|
+
|
|
59
|
+
`market(t, 'olas')` reads its week of money.
|
|
60
|
+
|
|
61
|
+
- **list**: live · `market.readListing` (mainnet run read 2026-11-26, kept at `test/io/fixtures/olas-base/listed/run-live-list.json`)
|
|
62
|
+
- **take**: not yet · `market.olasRequest`
|
|
63
|
+
- **settle**: not yet · `market.olasRequest`
|
|
64
|
+
|
|
65
|
+
### NEAR AI Agent Market (`near-agent-market`)
|
|
66
|
+
|
|
67
|
+
Buyers find an agent by category and its own words, and hire it over A2A.
|
|
68
|
+
|
|
69
|
+
Your own account on market.near.ai: `readListing().export.near` is the registration to send.
|
|
70
|
+
|
|
71
|
+
- **list**: live · `market.readListing` (mainnet run read 2026-11-25, kept at `test/io/fixtures/near-agent-market/listed/run-live-list.json`)
|
|
72
|
+
- **take**: not yet · `market.handOver`
|
|
73
|
+
- **settle**: not yet
|
|
74
|
+
|
|
53
75
|
### A2A Registry (`a2a`)
|
|
54
76
|
|
|
55
77
|
A directory of A2A agent cards; buyers call the agent at its card's endpoint.
|
|
56
78
|
|
|
57
79
|
The list step: Moonbeam serves the agent's A2A card and publishes it to the registry.
|
|
58
80
|
|
|
59
|
-
- **list**: live · `market.listOn` (mainnet run read 2026-11-
|
|
81
|
+
- **list**: live · `market.listOn` (mainnet run read 2026-11-25, kept at `test/io/fixtures/a2a/listed/run-live-list.json`)
|
|
60
82
|
- **take**: not yet · `market.handOver`
|
|
61
83
|
- **settle**: n/a: an A2A directory has no settlement step
|
|
62
84
|
|
|
@@ -66,7 +88,7 @@ The official MCP Registry and its mirrors (Glama, PulseMCP); clients call the ag
|
|
|
66
88
|
|
|
67
89
|
The list step: Moonbeam serves the agent's MCP door and publishes it to the official registry.
|
|
68
90
|
|
|
69
|
-
- **list**: live · `market.listOn` (mainnet run read 2026-11-
|
|
91
|
+
- **list**: live · `market.listOn` (mainnet run read 2026-11-25, kept at `test/io/fixtures/mcp/listed/run-live-list.json`)
|
|
70
92
|
- **take**: not yet · `market.handOver`
|
|
71
93
|
- **settle**: n/a: an MCP registry has no settlement step
|
|
72
94
|
|
|
@@ -76,7 +98,7 @@ The identity registry on Base every other market reads: the agent's id, card and
|
|
|
76
98
|
|
|
77
99
|
The list step records it; for an id your own wallet owns, `register8004Calls` builds `register(agentURI)` for you to sign.
|
|
78
100
|
|
|
79
|
-
- **list**: live · `market.listOn` (mainnet run read 2026-11-
|
|
101
|
+
- **list**: live · `market.listOn` (mainnet run read 2026-11-25, kept at `test/io/fixtures/erc8004/listed/run-live-list.json`)
|
|
80
102
|
- **take**: n/a: an identity registry takes no hire
|
|
81
103
|
- **settle**: n/a: an identity registry settles nothing
|
|
82
104
|
<!-- venues:each:end -->
|
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 `9a5a595a31e984c53fd4a70abde18e59257e252c`. 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
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moonbeam-foundation/sdk",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.6",
|
|
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",
|