@springmint/x402-payment 1.0.0 → 1.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/SKILL.md +4 -6
- package/dist/cli/254.index.js +1 -1
- package/dist/cli/743.index.js +1259 -185
- package/dist/cli/x402_invoke.js +7 -0
- package/package.json +5 -5
package/SKILL.md
CHANGED
|
@@ -7,7 +7,7 @@ compatibility:
|
|
|
7
7
|
tools:
|
|
8
8
|
- x402_invoke
|
|
9
9
|
metadata:
|
|
10
|
-
version: 1.0.
|
|
10
|
+
version: 1.0.1
|
|
11
11
|
author: cppay.finance
|
|
12
12
|
homepage: https://x402.org
|
|
13
13
|
tags: [crypto, payments, x402, agents, api, usdt, usdd, usdc, tron, ethereum, evm, erc20, trc20, sdk]
|
|
@@ -33,11 +33,9 @@ When an HTTP `402 Payment Required` response is received, the package automatica
|
|
|
33
33
|
|
|
34
34
|
## Prerequisites
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
- The skill also searches for keys in `x402-config.json` and `~/.mcporter/mcporter.json`.
|
|
40
|
-
- **TronGrid API Key**: Required for **Mainnet** to avoid rate limits (`TRON_GRID_API_KEY`).
|
|
36
|
+
1. Install: `npm install @springmint/x402-payment`
|
|
37
|
+
2. Configure wallet — see [Wallet Configuration](https://github.com/springmint/x402-payment#wallet-configuration) for all supported methods (environment variables, `x402-config.json`, `~/.mcporter/mcporter.json`)
|
|
38
|
+
3. Verify: `npx @springmint/x402-payment --check`
|
|
41
39
|
|
|
42
40
|
## Usage as a Library
|
|
43
41
|
|
package/dist/cli/254.index.js
CHANGED
|
@@ -17,7 +17,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
17
17
|
// EXTERNAL MODULE: ./node_modules/viem/_esm/actions/public/call.js + 1 modules
|
|
18
18
|
var call = __webpack_require__(8454);
|
|
19
19
|
// EXTERNAL MODULE: ./node_modules/viem/_esm/utils/stringify.js
|
|
20
|
-
var stringify = __webpack_require__(
|
|
20
|
+
var stringify = __webpack_require__(9781);
|
|
21
21
|
// EXTERNAL MODULE: ./node_modules/viem/_esm/errors/base.js + 1 modules
|
|
22
22
|
var base = __webpack_require__(9298);
|
|
23
23
|
// EXTERNAL MODULE: ./node_modules/viem/_esm/errors/utils.js
|