@tanakayuto/intmax402-cli 0.3.1 → 0.4.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 +14 -2
- package/dist/index.js +0 -0
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
|
-
# @intmax402
|
|
1
|
+
# @tanakayuto/intmax402-cli
|
|
2
2
|
|
|
3
3
|
Part of [intmax402](https://github.com/zaq2989/intmax402) — HTTP 402, reimagined for AI agents.
|
|
4
4
|
|
|
5
|
-
See [main README](https://github.com/
|
|
5
|
+
See [main README](https://github.com/zaq/intmax402) for full documentation.
|
|
6
|
+
|
|
7
|
+
## Network
|
|
8
|
+
|
|
9
|
+
By default, the CLI tests against **Ethereum mainnet** (via INTMAX ZK L2 on Scroll). Use `--testnet` flag for development.
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
# Test on mainnet (default)
|
|
13
|
+
intmax402 test http://localhost:3000/premium
|
|
14
|
+
|
|
15
|
+
# Test on testnet
|
|
16
|
+
intmax402 test --testnet http://localhost:3000/premium
|
|
17
|
+
```
|
package/dist/index.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanakayuto/intmax402-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"bin": {
|
|
6
6
|
"intmax402": "dist/index.js"
|
|
7
7
|
},
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "tsc",
|
|
10
|
+
"clean": "rm -rf dist",
|
|
11
|
+
"typecheck": "tsc --noEmit"
|
|
12
|
+
},
|
|
8
13
|
"dependencies": {
|
|
9
|
-
"@tanakayuto/intmax402-core": "0.
|
|
14
|
+
"@tanakayuto/intmax402-core": "^0.3.0",
|
|
10
15
|
"chalk": "^4.1.2",
|
|
11
16
|
"ethers": "^6.16.0",
|
|
12
17
|
"minimist": "^1.2.8"
|
|
@@ -37,10 +42,5 @@
|
|
|
37
42
|
"express",
|
|
38
43
|
"web3",
|
|
39
44
|
"zk"
|
|
40
|
-
]
|
|
41
|
-
|
|
42
|
-
"build": "tsc",
|
|
43
|
-
"clean": "rm -rf dist",
|
|
44
|
-
"typecheck": "tsc --noEmit"
|
|
45
|
-
}
|
|
46
|
-
}
|
|
45
|
+
]
|
|
46
|
+
}
|