@x402api/agent-wallet-cli 0.2.5 → 0.2.6
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 +1 -1
- package/package.json +2 -2
- package/skill/SKILL.md +4 -0
- package/skill/references/cli-reference.md +5 -2
- package/skill/references/safety.md +1 -1
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ The CLI runs on the buyer or agent host; merchant integrations do not host it
|
|
|
13
13
|
or receive its keys. A wallet's funded token balance is spend authority, and
|
|
14
14
|
`wallet create --maximum-payment-atomic N` can add a per-payment ceiling. The
|
|
15
15
|
ceiling is not a daily, cumulative, or merchant-specific permission and cannot
|
|
16
|
-
be updated in place in version 0.2.
|
|
16
|
+
be updated in place in version 0.2.6.
|
|
17
17
|
|
|
18
18
|
Run `x402api wallet setup --json` once on a fresh host. It idempotently creates
|
|
19
19
|
a high-entropy managed unlock file under the private x402api data root; the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@x402api/agent-wallet-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"description": "Command-line wallet for autonomous x402 purchases.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -38,6 +38,6 @@
|
|
|
38
38
|
"lint": "tsc --noEmit -p tsconfig.json"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@x402api/agent-wallet-core": "0.2.
|
|
41
|
+
"@x402api/agent-wallet-core": "0.2.6"
|
|
42
42
|
}
|
|
43
43
|
}
|
package/skill/SKILL.md
CHANGED
|
@@ -53,6 +53,10 @@ compromised same-user host.
|
|
|
53
53
|
address, exact network, asset contract/mint, and QR payload when funding is
|
|
54
54
|
insufficient. Never ask the owner to fund ETH/SOL, send to the token
|
|
55
55
|
contract/merchant recipient, or reveal/import a personal seed.
|
|
56
|
+
6. For a one-off Base wallet balance or funding check, if the operator has not
|
|
57
|
+
supplied a credential-free Base RPC, set `X402API_BASE_RPC_URL` to the
|
|
58
|
+
official Base Mainnet endpoint `https://mainnet.base.org`. It is rate-limited
|
|
59
|
+
and suitable for interactive setup checks, not sustained production traffic.
|
|
56
60
|
|
|
57
61
|
Keep Base, Solana, and TRON keys and addresses separate. TRON wallet management
|
|
58
62
|
does not mean TRON payment support: the launch payer must reject TRON as coming
|
|
@@ -10,7 +10,10 @@ is present and uses a stable nonzero exit code.
|
|
|
10
10
|
- `X402API_WALLET_PASSWORD_FILE`: optional owner-only, single-line passphrase
|
|
11
11
|
file override. Without it, unlocking uses the managed file created by
|
|
12
12
|
`wallet setup`.
|
|
13
|
-
- `X402API_BASE_RPC_URL`: credential-free Base RPC URL.
|
|
13
|
+
- `X402API_BASE_RPC_URL`: credential-free Base RPC URL. For one-off interactive
|
|
14
|
+
balance and funding checks, Base documents `https://mainnet.base.org` as its
|
|
15
|
+
official Base Mainnet endpoint. It is rate-limited and is not intended for
|
|
16
|
+
sustained production traffic.
|
|
14
17
|
- `X402API_SOLANA_RPC_URL`: credential-free Solana RPC URL.
|
|
15
18
|
- `X402API_TRON_RPC_URL`: credential-free TRON RPC URL.
|
|
16
19
|
- `X402API_NOTIFICATION_URL`: credential-free x402api refill endpoint.
|
|
@@ -38,7 +41,7 @@ x402api wallet sweep --wallet NAME --to ADDRESS --json
|
|
|
38
41
|
`--maximum-payment-atomic` is an optional canonical decimal in atomic units for
|
|
39
42
|
the wallet's supported payment asset. It is enforced on each authorization and
|
|
40
43
|
returns `payment_limit_exceeded` when the exact amount is larger. It is not a
|
|
41
|
-
daily or cumulative budget. Version 0.2.
|
|
44
|
+
daily or cumulative budget. Version 0.2.6 sets it only at wallet creation and
|
|
42
45
|
does not provide a policy-update command.
|
|
43
46
|
|
|
44
47
|
On a fresh host, `wallet setup` atomically creates one high-entropy managed
|
|
@@ -9,7 +9,7 @@ Base, Solana, and TRON.
|
|
|
9
9
|
|
|
10
10
|
An optional `maximumPaymentAtomic` value adds a local ceiling to each payment.
|
|
11
11
|
It does not limit aggregate or daily spend, restrict merchants, revoke existing
|
|
12
|
-
artifacts, or protect a wallet on a compromised same-user host. Version 0.2.
|
|
12
|
+
artifacts, or protect a wallet on a compromised same-user host. Version 0.2.6
|
|
13
13
|
sets this value only when creating a wallet and has no policy-update command.
|
|
14
14
|
|
|
15
15
|
Show the exact network, token contract or mint, public address, and requested
|