@moonbeam-foundation/sdk 0.7.0 → 0.10.0
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 +201 -27
- package/bin/moonbeam.mjs +15 -2
- package/dist/acp/moonbeam-acp.generated.d.ts +7 -2
- package/dist/acp/moonbeam-acp.generated.d.ts.map +1 -1
- package/dist/acp/moonbeam-acp.generated.js +6 -3
- package/dist/acp/moonbeam-acp.generated.js.map +1 -1
- package/dist/acp/outcome.d.ts +5 -1
- package/dist/acp/outcome.d.ts.map +1 -1
- package/dist/acp/outcome.js +3 -2
- package/dist/acp/outcome.js.map +1 -1
- package/dist/adapters/stamp.d.ts +1 -1
- package/dist/adapters/stamp.d.ts.map +1 -1
- package/dist/adapters/stamp.js +6 -6
- package/dist/adapters/stamp.js.map +1 -1
- package/dist/assurance/assurance-shared.d.ts.map +1 -1
- package/dist/assurance/assurance-shared.js +3 -1
- package/dist/assurance/assurance-shared.js.map +1 -1
- package/dist/cover/index.d.ts +65 -0
- package/dist/cover/index.d.ts.map +1 -0
- package/dist/cover/index.js +61 -0
- package/dist/cover/index.js.map +1 -0
- package/dist/devnet/edge.d.ts +207 -0
- package/dist/devnet/edge.d.ts.map +1 -0
- package/dist/devnet/edge.js +209 -0
- package/dist/devnet/edge.js.map +1 -0
- package/dist/devnet/index.d.ts +403 -0
- package/dist/devnet/index.d.ts.map +1 -0
- package/dist/devnet/index.js +420 -0
- package/dist/devnet/index.js.map +1 -0
- package/dist/devnet/profile.d.ts +110 -0
- package/dist/devnet/profile.d.ts.map +1 -0
- package/dist/devnet/profile.js +145 -0
- package/dist/devnet/profile.js.map +1 -0
- package/dist/erc8004/registry.generated.d.ts.map +1 -1
- package/dist/erc8004/registry.generated.js +0 -1
- package/dist/erc8004/registry.generated.js.map +1 -1
- package/dist/errors/index.d.ts +51 -0
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/errors/index.js +63 -0
- package/dist/errors/index.js.map +1 -0
- package/dist/index.d.ts +6 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/jobs/index.d.ts +62 -0
- package/dist/jobs/index.d.ts.map +1 -0
- package/dist/jobs/index.js +59 -0
- package/dist/jobs/index.js.map +1 -0
- package/dist/judge/index.d.ts +109 -1
- package/dist/judge/index.d.ts.map +1 -1
- package/dist/judge/index.js +97 -3
- package/dist/judge/index.js.map +1 -1
- package/dist/market/index.d.ts +162 -0
- package/dist/market/index.d.ts.map +1 -0
- package/dist/market/index.js +137 -0
- package/dist/market/index.js.map +1 -0
- package/dist/onboard/index.d.ts +4 -4
- package/dist/onboard/index.d.ts.map +1 -1
- package/dist/onboard/index.js +9 -15
- package/dist/onboard/index.js.map +1 -1
- package/dist/pools/index.d.ts +29 -5
- package/dist/pools/index.d.ts.map +1 -1
- package/dist/pools/index.js +34 -15
- package/dist/pools/index.js.map +1 -1
- package/dist/proof/index.d.ts +8 -4
- package/dist/proof/index.d.ts.map +1 -1
- package/dist/proof/index.js +10 -7
- package/dist/proof/index.js.map +1 -1
- package/dist/resale/index.d.ts +22 -6
- package/dist/resale/index.d.ts.map +1 -1
- package/dist/resale/index.js +29 -15
- package/dist/resale/index.js.map +1 -1
- package/dist/resale/payment-scheme.pin.json +1 -1
- package/dist/resale/settle-rule.d.ts +49 -0
- package/dist/resale/settle-rule.d.ts.map +1 -0
- package/dist/resale/settle-rule.js +53 -0
- package/dist/resale/settle-rule.js.map +1 -0
- package/dist/workflows/data.d.ts +3 -0
- package/dist/workflows/data.d.ts.map +1 -0
- package/dist/workflows/data.js +829 -0
- package/dist/workflows/data.js.map +1 -0
- package/dist/workflows/index.d.ts +31 -0
- package/dist/workflows/index.d.ts.map +1 -0
- package/dist/workflows/index.js +104 -0
- package/dist/workflows/index.js.map +1 -0
- package/dist/workflows/types.d.ts +26 -0
- package/dist/workflows/types.d.ts.map +1 -0
- package/dist/workflows/types.js +2 -0
- package/dist/workflows/types.js.map +1 -0
- package/dist/x402/index.d.ts +80 -17
- package/dist/x402/index.d.ts.map +1 -1
- package/dist/x402/index.js +95 -27
- package/dist/x402/index.js.map +1 -1
- package/docs/workflows/hire-from-chat.png +0 -0
- package/docs/workflows/list-business.png +0 -0
- package/docs/workflows/onboard-batch.png +0 -0
- package/docs/workflows/onboard.png +0 -0
- package/docs/workflows/publish.png +0 -0
- package/docs/workflows/resell.png +0 -0
- package/docs/workflows/sell-edge.png +0 -0
- package/examples/40-the-article.mjs +1 -1
- package/examples/50-x402-pay-a-wall.mjs +22 -11
- package/examples/51-read-a-proof.mjs +5 -4
- package/examples/README.md +4 -2
- package/examples/data/x402-wall-402.json +85 -0
- package/package.json +55 -15
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -50,7 +50,7 @@ title('"It runs the grader end to end. Evidence, facts, Jev\'s answers, the verd
|
|
|
50
50
|
const endC = endJob(PILOT_JOB, good), endR = endJob(PILOT_JOB, bad);
|
|
51
51
|
check('the ending call: complete, or reject with the decision\'s fingerprint', endC && endR && /^0x/.test(endC.data) && endR.data.toLowerCase().includes(bad.decision.digest.slice(2).toLowerCase()), `to ${endC?.to}`);
|
|
52
52
|
check('the ending call targets the job contract in the article', endC?.to?.toLowerCase() === '0xc0578657eda85e0a246771aa1839ce79b54ee80d');
|
|
53
|
-
const live = await gradeJob({ jobId: PILOT_JOB, evidence: 'x' }).then(() => 'answered', (e) => String(e?.message ?? e));
|
|
53
|
+
const live = await gradeJob({ jobId: PILOT_JOB, evidence: 'x', layer: false }).then(() => 'answered', (e) => String(e?.message ?? e));
|
|
54
54
|
check('Jev is called only with your own TypeSafe key', /TypeSafe key/i.test(live), live.slice(0, 80));
|
|
55
55
|
check('the input fingerprint is the SHA-256 of the text Jev read', (await verifyGrade(good, { chain: false })).checks.inputDigest === true);
|
|
56
56
|
}
|
|
@@ -1,17 +1,28 @@
|
|
|
1
|
-
// x402
|
|
2
|
-
// transferWithAuthorization) and the
|
|
3
|
-
// node examples/50-x402-pay-a-wall.mjs
|
|
4
|
-
//
|
|
1
|
+
// x402: read a wall's 402 quote, pick the entry of the network you pay from, and build the payment your wallet signs
|
|
2
|
+
// (EIP-3009 transferWithAuthorization) and the PAYMENT-SIGNATURE header that carries it. Nothing is signed or paid here.
|
|
3
|
+
// node examples/50-x402-pay-a-wall.mjs the recorded quote (six networks, Solana included)
|
|
4
|
+
// MOONBEAM_API=<your coordination endpoint>/v1 node examples/50-x402-pay-a-wall.mjs the same, quoted live
|
|
5
|
+
// NETWORK=eip155:42161 node examples/50-x402-pay-a-wall.mjs pay from another network the wall offers
|
|
5
6
|
// test/fork/run-fork.mjs signs it and executes it on a Base fork
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
7
|
+
import { readFileSync } from 'node:fs';
|
|
8
|
+
import { quoteWall, pickAccept, chainIdOf, transferAuthorization, paymentHeaders, subscribePlan } from '@moonbeam-foundation/sdk/x402';
|
|
9
|
+
import { quoteSale, sellerRailOf } from '@moonbeam-foundation/sdk/resale';
|
|
8
10
|
|
|
9
|
-
const
|
|
10
|
-
const recorded =
|
|
11
|
-
const
|
|
12
|
-
|
|
11
|
+
const network = process.env.NETWORK ?? 'eip155:8453';
|
|
12
|
+
const recorded = JSON.parse(readFileSync(new URL('./data/x402-wall-402.json', import.meta.url), 'utf8'));
|
|
13
|
+
const api = process.env.OFFLINE ? null : process.env.MOONBEAM_API ?? null;
|
|
14
|
+
const live = api ? await quoteWall({ base: api, fetch: (u, i) => fetch(u, i) }, '/x402/class/mcp.digest', { network }) : null;
|
|
15
|
+
const accept = live ? live.accept : pickAccept(recorded, { network });
|
|
16
|
+
console.log(`the wall offers ${(live ? live.body : recorded.x402).accepts.map((a) => a.network).join(', ')}; on ${accept.network} it asks ${accept.amount} units of ${accept.asset}, paid to ${accept.payTo}`);
|
|
13
17
|
const q = quoteSale({ venue_in: 'x402-base', venue_out: 'x402-base', seller_price: 9207n });
|
|
14
18
|
console.log(`quoteSale: the seller's 9207 → the buyer pays ${q.price_to_buyer} (the same scheme the wall prices with)`);
|
|
19
|
+
const rail = sellerRailOf({ accepts: { network: 'solana', asset: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v', payTo: 'GQcEn5pLcweo7qaiy3rDdsiUPiygygmFBaixNtNqhQVD' } });
|
|
20
|
+
console.log(`a seller who published a Solana offer is paid there: ${rail.network} ${rail.token?.symbol} to ${rail.pay_to} (${rail.state})`);
|
|
21
|
+
if (chainIdOf(accept.network) === null) {
|
|
22
|
+
console.log(`${accept.network} is not an EIP-3009 network: your Solana wallet sends ${accept.amount} units of ${accept.asset} to ${accept.payTo} (fee payer ${accept.extra?.feePayer ?? 'yours'})`);
|
|
23
|
+
process.exit(0);
|
|
24
|
+
}
|
|
15
25
|
const typed = transferAuthorization(accept, { from: '0x000000000000000000000000000000000000dEaD' });
|
|
16
26
|
console.log(`your wallet signs ${typed.primaryType} under ${typed.domain.name} v${typed.domain.version} on chain ${typed.domain.chainId}: value ${typed.message.value}, valid before ${typed.message.validBefore}`);
|
|
17
|
-
|
|
27
|
+
const headers = paymentHeaders(accept, typed.message, `0x${'11'.repeat(65)}`);
|
|
28
|
+
console.log(`then the request carries ${Object.keys(headers).join(' + ')} (x402 v2: the accepted entry and the signed authorization); a top-up starts at`, JSON.stringify(subscribePlan({ usdc: 1 }).body));
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
// A proof that a Base transaction is inside the layer's superroot, and the V5 proof verifier on Base checking it.
|
|
2
|
-
// node examples/51-read-a-proof.mjs [txHash]
|
|
3
|
-
//
|
|
2
|
+
// MOONBEAM_API=<your coordination endpoint>/v1 node examples/51-read-a-proof.mjs [txHash]
|
|
3
|
+
// read the proof live, then verify(blob) by eth_call on Base
|
|
4
|
+
// node examples/51-read-a-proof.mjs the recorded proof, and the call that Base answered true for
|
|
4
5
|
import { readFileSync } from 'node:fs';
|
|
5
6
|
import { readProof, verifyCall, verifyOnBase } from '@moonbeam-foundation/sdk/proof';
|
|
6
7
|
import { baseReader } from '@moonbeam-foundation/sdk/rpc';
|
|
7
8
|
|
|
8
9
|
const tx = process.argv[2] ?? '0x48f87043df02dc8f97c3a70afb8c8748848d0efae865cb251c429cce57bc127f';
|
|
9
|
-
if (process.env.OFFLINE) {
|
|
10
|
+
if (process.env.OFFLINE || !process.env.MOONBEAM_API) {
|
|
10
11
|
const p = JSON.parse(readFileSync(new URL('./data/proof-base-tx-52587000.json', import.meta.url), 'utf8'));
|
|
11
12
|
const c = verifyCall(p.blob);
|
|
12
13
|
console.log(`recorded proof of ${p.tx}: block ${p.block_number}, superroot 0x${p.super_root_hash}`);
|
|
13
14
|
console.log(`verify(blob) → ${c.to}, bound at block ${c.boundAt.blockNumber}, ${c.data.length / 2 - 1} bytes of calldata`);
|
|
14
15
|
process.exit(0);
|
|
15
16
|
}
|
|
16
|
-
const p = await readProof({ base:
|
|
17
|
+
const p = await readProof({ base: process.env.MOONBEAM_API, fetch: (u, i) => fetch(u, i) }, tx);
|
|
17
18
|
console.log(`proof of ${p.tx}: block ${p.block_number} · proven by the layer: ${p.proven} · ${p.ref}`);
|
|
18
19
|
if (p.blob) {
|
|
19
20
|
const c = await verifyOnBase(baseReader(), p.blob);
|
package/examples/README.md
CHANGED
|
@@ -71,19 +71,21 @@ Each role gets a readiness report: what you put up, what you can lose, and anyth
|
|
|
71
71
|
| # | File | What it shows | You see |
|
|
72
72
|
|---|---|---|---|
|
|
73
73
|
| 40 | [the-article](40-the-article.mjs) | Every claim the launch article makes about the SDK, checked. Live, it also finds the equation job's grade on Base (`OFFLINE=1` skips that) | `every claim holds` |
|
|
74
|
-
| 50 | [x402-pay-a-wall](50-x402-pay-a-wall.mjs) | A wall's 402
|
|
74
|
+
| 50 | [x402-pay-a-wall](50-x402-pay-a-wall.mjs) | A wall's 402 (six networks), the entry of your network, `quoteSale`'s price, where a seller on Solana is paid, the EIP-3009 typed data your wallet signs and the PAYMENT-SIGNATURE header | `signs TransferWithAuthorization under USD Coin v2 on chain 8453` |
|
|
75
75
|
| 51 | [read-a-proof](51-read-a-proof.mjs) | A Base transaction's proof from the layer, then `verify(blob)` on the V5 verifier on Base | `verify(blob) on Base: true` |
|
|
76
76
|
| 52 | [arbitration-calls](52-arbitration-calls.mjs) | The three tiers of the ArbitratorRouter as unsigned calls, and what a ruling writes into the record | `findCheated(jobId, loss)` |
|
|
77
77
|
| 53 | [attested-by-default](53-attested-by-default.mjs) | A settle, a grade and a resale step, each with its mark and its calls on Base; the stamp Base lacks said | `missing: GradeStampRegistry@8453` |
|
|
78
78
|
|
|
79
79
|
## Settings
|
|
80
80
|
|
|
81
|
-
Only the
|
|
81
|
+
Only the live examples read anything from the environment.
|
|
82
82
|
|
|
83
83
|
| Variable | Used by | Required | Default |
|
|
84
84
|
|---|---|---|---|
|
|
85
85
|
| `TYPESAFE_KEY` | 17 | yes, for 17 | none: 17 explains how to get one and stops. Your key is sent to TypeSafe only |
|
|
86
86
|
| `BASE_RPC` | 32 | no | `https://mainnet.base.org` |
|
|
87
|
+
| `MOONBEAM_API` | 50, 51 | no | none: they use their recorded answers. Set it to your coordination endpoint (`…/v1`) to read live |
|
|
88
|
+
| `NETWORK` | 50 | no | `eip155:8453` (any network the wall offers: `arbitrum`, `eip155:5042`, `solana`, …) |
|
|
87
89
|
| `JOB` | 32 | no | `74926` |
|
|
88
90
|
| `FROM_BLOCK`, `WINDOWS` | 32 | no | `50427200`, `4` windows of 500 blocks |
|
|
89
91
|
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"recorded": "POST /v1/x402/class/mcp.digest without a payment, 2026-10-21: the 402 (accepts trimmed of resource and description)",
|
|
3
|
+
"x402": {
|
|
4
|
+
"x402Version": 2,
|
|
5
|
+
"accepts": [
|
|
6
|
+
{
|
|
7
|
+
"scheme": "exact",
|
|
8
|
+
"network": "eip155:8453",
|
|
9
|
+
"amount": "5455",
|
|
10
|
+
"maxAmountRequired": "5455",
|
|
11
|
+
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
|
|
12
|
+
"payTo": "0x3574999dd4c96eB73Bd6e11D4177010C83E14f5b",
|
|
13
|
+
"maxTimeoutSeconds": 300,
|
|
14
|
+
"extra": {
|
|
15
|
+
"name": "USD Coin",
|
|
16
|
+
"version": "2"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"scheme": "exact",
|
|
21
|
+
"network": "eip155:42161",
|
|
22
|
+
"amount": "5455",
|
|
23
|
+
"maxAmountRequired": "5455",
|
|
24
|
+
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
|
|
25
|
+
"payTo": "0x3574999dd4c96eB73Bd6e11D4177010C83E14f5b",
|
|
26
|
+
"maxTimeoutSeconds": 300,
|
|
27
|
+
"extra": {
|
|
28
|
+
"name": "USD Coin",
|
|
29
|
+
"version": "2"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"scheme": "exact",
|
|
34
|
+
"network": "eip155:5042",
|
|
35
|
+
"amount": "5455",
|
|
36
|
+
"maxAmountRequired": "5455",
|
|
37
|
+
"asset": "0x3600000000000000000000000000000000000000",
|
|
38
|
+
"payTo": "0x3574999dd4c96eB73Bd6e11D4177010C83E14f5b",
|
|
39
|
+
"maxTimeoutSeconds": 300,
|
|
40
|
+
"extra": {
|
|
41
|
+
"name": "USDC",
|
|
42
|
+
"version": "2"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"scheme": "exact",
|
|
47
|
+
"network": "eip155:4663",
|
|
48
|
+
"amount": "5455",
|
|
49
|
+
"maxAmountRequired": "5455",
|
|
50
|
+
"asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
|
|
51
|
+
"payTo": "0x3574999dd4c96eB73Bd6e11D4177010C83E14f5b",
|
|
52
|
+
"maxTimeoutSeconds": 300,
|
|
53
|
+
"extra": {
|
|
54
|
+
"name": "Global Dollar",
|
|
55
|
+
"version": "1"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"scheme": "exact",
|
|
60
|
+
"network": "eip155:143",
|
|
61
|
+
"amount": "5455",
|
|
62
|
+
"maxAmountRequired": "5455",
|
|
63
|
+
"asset": "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
|
|
64
|
+
"payTo": "0x3574999dd4c96eB73Bd6e11D4177010C83E14f5b",
|
|
65
|
+
"maxTimeoutSeconds": 300,
|
|
66
|
+
"extra": {
|
|
67
|
+
"name": "USDC",
|
|
68
|
+
"version": "2"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"scheme": "exact",
|
|
73
|
+
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
|
|
74
|
+
"amount": "5455",
|
|
75
|
+
"maxAmountRequired": "5455",
|
|
76
|
+
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
|
|
77
|
+
"payTo": "GQcEn5pLcweo7qaiy3rDdsiUPiygygmFBaixNtNqhQVD",
|
|
78
|
+
"maxTimeoutSeconds": 300,
|
|
79
|
+
"extra": {
|
|
80
|
+
"feePayer": "F742C4VfFLQ9zRQyithoj5229ZgtX2WqKCSFKgH2EThq"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moonbeam-foundation/sdk",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.10.0",
|
|
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",
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -84,6 +84,30 @@
|
|
|
84
84
|
"types": "./dist/abi/index.d.ts",
|
|
85
85
|
"import": "./dist/abi/index.js"
|
|
86
86
|
},
|
|
87
|
+
"./cover": {
|
|
88
|
+
"types": "./dist/cover/index.d.ts",
|
|
89
|
+
"import": "./dist/cover/index.js"
|
|
90
|
+
},
|
|
91
|
+
"./jobs": {
|
|
92
|
+
"types": "./dist/jobs/index.d.ts",
|
|
93
|
+
"import": "./dist/jobs/index.js"
|
|
94
|
+
},
|
|
95
|
+
"./errors": {
|
|
96
|
+
"types": "./dist/errors/index.d.ts",
|
|
97
|
+
"import": "./dist/errors/index.js"
|
|
98
|
+
},
|
|
99
|
+
"./devnet": {
|
|
100
|
+
"types": "./dist/devnet/index.d.ts",
|
|
101
|
+
"import": "./dist/devnet/index.js"
|
|
102
|
+
},
|
|
103
|
+
"./market": {
|
|
104
|
+
"types": "./dist/market/index.d.ts",
|
|
105
|
+
"import": "./dist/market/index.js"
|
|
106
|
+
},
|
|
107
|
+
"./workflows": {
|
|
108
|
+
"types": "./dist/workflows/index.d.ts",
|
|
109
|
+
"import": "./dist/workflows/index.js"
|
|
110
|
+
},
|
|
87
111
|
"./package.json": "./package.json"
|
|
88
112
|
},
|
|
89
113
|
"files": [
|
|
@@ -111,27 +135,44 @@
|
|
|
111
135
|
"gen:registry": "node scripts/gen-moonbeam-acp.mjs",
|
|
112
136
|
"check:registry": "node scripts/gen-moonbeam-acp.mjs --check",
|
|
113
137
|
"check:pins": "node scripts/check-pins.mjs",
|
|
114
|
-
"check": "npm run typecheck && npm run build && npm test && npm run check:pins",
|
|
138
|
+
"check": "npm run typecheck && npm run build && npm test && npm run check:pins && npm run check:workflows",
|
|
115
139
|
"sync": "node scripts/sync.mjs",
|
|
116
140
|
"check:sync": "node scripts/sync.mjs --check",
|
|
117
141
|
"test:fork": "node test/fork/run-fork.mjs",
|
|
118
|
-
"test:live": "LIVE=1 vitest run test/live.test.ts"
|
|
142
|
+
"test:live": "LIVE=1 vitest run test/live.test.ts",
|
|
143
|
+
"e2e:devnet": "npm run build && node scripts/devnet-onboard.mjs",
|
|
144
|
+
"gen:workflows": "node scripts/gen-workflows.mjs",
|
|
145
|
+
"check:workflows": "node scripts/gen-workflows.mjs --check"
|
|
119
146
|
},
|
|
120
147
|
"keywords": [
|
|
121
148
|
"moonbeam",
|
|
122
|
-
"
|
|
123
|
-
"escrow",
|
|
149
|
+
"agentic-commerce",
|
|
124
150
|
"ai-agents",
|
|
151
|
+
"agent-marketplace",
|
|
152
|
+
"agent-payments",
|
|
153
|
+
"x402",
|
|
154
|
+
"mcp",
|
|
155
|
+
"a2a",
|
|
156
|
+
"erc-8183",
|
|
157
|
+
"erc-8004",
|
|
158
|
+
"virtuals",
|
|
159
|
+
"virtuals-acp",
|
|
125
160
|
"agent-commerce-protocol",
|
|
126
|
-
"
|
|
127
|
-
"
|
|
161
|
+
"olas",
|
|
162
|
+
"bitagent",
|
|
163
|
+
"near-ai",
|
|
128
164
|
"base",
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"ai-agent-
|
|
132
|
-
"
|
|
165
|
+
"usdc",
|
|
166
|
+
"glmr",
|
|
167
|
+
"ai-agent-sdk",
|
|
168
|
+
"autonomous-agents",
|
|
169
|
+
"agent-to-agent",
|
|
170
|
+
"agent-workflows",
|
|
171
|
+
"escrow",
|
|
172
|
+
"assurance",
|
|
173
|
+
"settlement",
|
|
133
174
|
"judge",
|
|
134
|
-
"
|
|
175
|
+
"jev"
|
|
135
176
|
],
|
|
136
177
|
"devDependencies": {
|
|
137
178
|
"@types/node": "^22.20.5",
|
|
@@ -142,8 +183,7 @@
|
|
|
142
183
|
},
|
|
143
184
|
"dependencies": {
|
|
144
185
|
"@taifoon/jev": "^0.3.0",
|
|
145
|
-
"@taifoon/jev-wilson": "^0.3.1"
|
|
146
|
-
"@taifoon/n8n-nodes-typesafe": "^2.0.5"
|
|
186
|
+
"@taifoon/jev-wilson": "^0.3.1"
|
|
147
187
|
},
|
|
148
188
|
"bin": {
|
|
149
189
|
"moonbeam": "bin/moonbeam.mjs"
|