@1claw/cli 0.37.3 → 0.37.5

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 +47 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @1claw/cli (v0.37.0)
1
+ # @1claw/cli (v0.37.4)
2
2
 
3
3
  Command-line interface for [1Claw](https://1claw.xyz) — HSM-backed secret management for AI agents and humans.
4
4
 
@@ -270,6 +270,52 @@ Common options for `submit` and `sign`:
270
270
 
271
271
  `list` and `get` accept `--include-signed-tx` to include the raw signed transaction in the response.
272
272
 
273
+ **Non-EVM chains** (Bitcoin, Solana, XRP, Cardano, Tron) use the same `submit` / `sign` commands with chain-specific flags instead of `--to` / `--value`:
274
+
275
+ ```bash
276
+ # Solana devnet — native SOL transfer (sign-only)
277
+ 1claw agent tx sign <agent-id> \
278
+ --chain solana-devnet \
279
+ --to <recipient-base58> \
280
+ --value 0.001
281
+
282
+ # Bitcoin testnet — fee rate optional (sat/vByte)
283
+ 1claw agent tx submit <agent-id> \
284
+ --chain bitcoin-testnet \
285
+ --to <bech32-address> \
286
+ --value 0.00001 \
287
+ --fee-rate-sat-per-vbyte 5
288
+
289
+ # XRP — simple Payment with optional destination tag
290
+ 1claw agent tx submit <agent-id> \
291
+ --chain xrp-testnet \
292
+ --to r... \
293
+ --value 1 \
294
+ --destination-tag 12345
295
+
296
+ # XRP — arbitrary XRPL transaction type via --xrpl-tx-json
297
+ # Supports 30+ types: TrustSet, OfferCreate, NFTokenMint, AMMCreate, EscrowCreate, etc.
298
+ 1claw agent tx submit <agent-id> \
299
+ --chain xrp \
300
+ --xrpl-tx-json '{"TransactionType":"TrustSet","LimitAmount":{"currency":"USD","issuer":"rIssuer...","value":"100"}}'
301
+
302
+ # Tron — optional fee limit (sun)
303
+ 1claw agent tx submit <agent-id> \
304
+ --chain tron-shasta \
305
+ --to T... \
306
+ --value 1 \
307
+ --fee-limit-sun 10000000
308
+
309
+ # Cardano preprod — optional TTL (slots)
310
+ 1claw agent tx submit <agent-id> \
311
+ --chain cardano-preprod \
312
+ --to addr_test1... \
313
+ --value 1.5 \
314
+ --ttl 3600
315
+ ```
316
+
317
+ Supported non-EVM chain names match the chain registry (`bitcoin`, `bitcoin-testnet`, `solana`, `solana-devnet`, `xrp`, `xrp-testnet`, `cardano`, `cardano-preprod`, `tron`, `tron-shasta`). SPL (Solana) and TRC-20 (Tron) token transfers accept `--token-mint` and `--token-decimals`.
318
+
273
319
  ### Signing Keys (Multi-Chain)
274
320
 
275
321
  Manage per-agent multi-chain signing keys. Keys are generated server-side and stored in the vault — the private key never leaves the HSM.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1claw/cli",
3
- "version": "0.37.3",
3
+ "version": "0.37.5",
4
4
  "description": "CLI for 1Claw — secrets management for AI agents and humans",
5
5
  "license": "MIT",
6
6
  "repository": {