xforty 0.0.1
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 +18 -0
- package/bin/xforty.js +15 -0
- package/package.json +12 -0
package/README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# xforty
|
|
2
|
+
|
|
3
|
+
**x402 tooling for XDC — make any API agent-payable.**
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
npx xforty
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
- **Live now:** xforty Chain Tools — paid on-chain XDC endpoints for AI agents
|
|
10
|
+
(gas, network stats, contract inspection), payable per call in USDC over x402,
|
|
11
|
+
gasless. `https://api.xforty.xyz`
|
|
12
|
+
- **Coming:** `xforty wrap` — point it at your API, get an x402-payable service
|
|
13
|
+
on XDC with listing metadata in minutes. `xforty guard` — spend limits,
|
|
14
|
+
allowlists, approvals and audit trails for agent wallets.
|
|
15
|
+
|
|
16
|
+
Built on the open x402 standard · USDC (Circle) on XDC Network · MCP.
|
|
17
|
+
|
|
18
|
+
https://xforty.xyz · hello@xforty.xyz
|
package/bin/xforty.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
const g = (s) => `\x1b[32m${s}\x1b[0m`;
|
|
3
|
+
const d = (s) => `\x1b[2m${s}\x1b[0m`;
|
|
4
|
+
|
|
5
|
+
console.log(`
|
|
6
|
+
x${g("forty")} — x402 tooling for XDC
|
|
7
|
+
|
|
8
|
+
${g("live")} Chain Tools: paid on-chain endpoints for agents
|
|
9
|
+
${d("curl https://api.xforty.xyz/api/x402/gas-price")}
|
|
10
|
+
|
|
11
|
+
${g("next")} xforty wrap — turn any API into per-call USDC revenue on XDC
|
|
12
|
+
xforty guard — spend controls for agent wallets
|
|
13
|
+
|
|
14
|
+
${d("https://xforty.xyz · hello@xforty.xyz")}
|
|
15
|
+
`);
|
package/package.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "xforty",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "x402 tooling for XDC — make any API agent-payable. `xforty wrap` coming soon; Chain Tools live at api.xforty.xyz",
|
|
5
|
+
"bin": { "xforty": "bin/xforty.js" },
|
|
6
|
+
"type": "module",
|
|
7
|
+
"keywords": ["x402", "xdc", "usdc", "agent", "payments", "mcp", "agentic-commerce"],
|
|
8
|
+
"homepage": "https://xforty.xyz",
|
|
9
|
+
"author": "Abilash Senthilkumar <hello@xforty.xyz>",
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"engines": { "node": ">=18" }
|
|
12
|
+
}
|