@chipi-stack/x402 14.0.0 → 14.1.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.
Files changed (2) hide show
  1. package/README.md +36 -0
  2. package/package.json +49 -7
package/README.md ADDED
@@ -0,0 +1,36 @@
1
+ # @chipi-stack/x402
2
+
3
+ x402 Payment Protocol for Starknet — AI agent payments, micropayments, and HTTP-native pay-per-use middleware.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install @chipi-stack/x402
9
+ ```
10
+
11
+ ## What it does
12
+
13
+ The x402 package implements the [HTTP 402 Payment Required](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/402) protocol for Starknet, enabling:
14
+
15
+ - **Facilitator** — validates and settles payments on-chain
16
+ - **Middleware** — Express/Next.js middleware that gates endpoints behind payments
17
+ - **Client** — handles payment negotiation and token attachment
18
+
19
+ Payments are gasless (via paymaster), non-custodial, and settle in USDC on Starknet mainnet.
20
+
21
+ ## What you can ship
22
+
23
+ - **Paywalled APIs for AI agents** — charge per-call with autonomous payment negotiation
24
+ - **Micropayments for content/data** — gate articles, datasets, or media behind sub-dollar payments
25
+ - **Pay-per-call API monetization** — monetize any HTTP endpoint without subscriptions
26
+ - **Machine-to-machine autonomous payments** — let agents pay agents without human intervention
27
+
28
+ Have an idea? [Tell us what you want to build](https://github.com/chipi-pay/build-with-chipi/issues/new)
29
+
30
+ ## Documentation
31
+
32
+ Full docs and integration guide: [docs.chipipay.com](https://docs.chipipay.com)
33
+
34
+ ## License
35
+
36
+ MIT — Chipi Pay
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@chipi-stack/x402",
3
- "version": "14.0.0",
4
- "description": "x402 Payment Protocol for Starknet — facilitator, middleware, and client utilities",
3
+ "version": "14.1.1",
4
+ "description": "x402 Payment Protocol for Starknet — AI agent payments, micropayments, and HTTP-native pay-per-use middleware",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -14,21 +14,63 @@
14
14
  "files": [
15
15
  "dist"
16
16
  ],
17
+ "keywords": [
18
+ "chipi",
19
+ "chipi-pay",
20
+ "chipi-stack",
21
+ "x402",
22
+ "http-402",
23
+ "payment-required",
24
+ "starknet",
25
+ "web3",
26
+ "blockchain",
27
+ "payments",
28
+ "crypto-payments",
29
+ "stablecoin-payments",
30
+ "stablecoins",
31
+ "usdc",
32
+ "micropayments",
33
+ "pay-per-use",
34
+ "ai",
35
+ "ai-agent",
36
+ "ai-payments",
37
+ "agent-payments",
38
+ "mcp",
39
+ "model-context-protocol",
40
+ "autonomous-payments",
41
+ "machine-to-machine",
42
+ "middleware",
43
+ "sdk",
44
+ "typescript"
45
+ ],
46
+ "repository": {
47
+ "type": "git",
48
+ "url": "git+https://github.com/chipi-pay/build-with-chipi.git"
49
+ },
50
+ "homepage": "https://docs.chipipay.com",
51
+ "bugs": {
52
+ "url": "https://github.com/chipi-pay/build-with-chipi/issues"
53
+ },
54
+ "author": {
55
+ "name": "Chipi Pay",
56
+ "email": "carlos@chipipay.com",
57
+ "url": "https://chipipay.com"
58
+ },
59
+ "license": "MIT",
17
60
  "dependencies": {
18
- "@chipi-stack/core": "^0.2.1",
19
- "@chipi-stack/backend": "^14.0.0",
20
- "@chipi-stack/types": "^14.0.0"
61
+ "@chipi-stack/backend": "^14.1.1",
62
+ "@chipi-stack/types": "^14.1.1",
63
+ "@chipi-stack/core": "^0.3.1"
21
64
  },
22
65
  "devDependencies": {
23
66
  "typescript": "^5.7.3"
24
67
  },
25
68
  "engines": {
26
- "node": ">=18.17.0"
69
+ "node": ">=20.19.0"
27
70
  },
28
71
  "publishConfig": {
29
72
  "access": "public"
30
73
  },
31
- "license": "MIT",
32
74
  "scripts": {
33
75
  "build": "tsc",
34
76
  "typecheck": "tsc --noEmit"