← 返回
开发者工具 中文

Cavos Cli

Interact with the Cavos CLI for Starknet wallet operations. Use for transfers, approvals, contract calls, session management, and transaction monitoring.
使用 Cavos CLI 进行 Starknet 钱包操作,包括转账、授权、合约调用、会话管理和交易监控。
adrianvrj
开发者工具 clawhub v0.1.0 1 版本 99779.2 Key: 无需
★ 2
Stars
📥 1,316
下载
💾 7
安装
1
版本
#latest

概述

Cavos CLI Skill

This skill allows you to interact with the Cavos CLI (@cavos/cli) to manage Starknet wallets, perform transfers, and execute contract calls.

Core Commands

Always use the --json flag when possible to get structured output.

1. Identity & Session

  • Who Am I: Check current session and wallet address.

```bash

npx @cavos/cli whoami --json

```

  • Session Status: Check if the session is active/expired.

```bash

npx @cavos/cli session-status --json

```

  • Import Session: Import a session token provisioned from the Dashboard.

```bash

npx @cavos/cli session import

```

2. Assets & Transfers

  • Check Balance:

```bash

npx @cavos/cli balance --token --json

```

  • Transfer Tokens:

```bash

npx @cavos/cli transfer --to

--amount --token --json

```

3. Contract Interactions

  • Approve Spending:

```bash

npx @cavos/cli approve --spender

--amount --token --json

```

  • Execute Call:

```bash

npx @cavos/cli execute --contract

--entrypoint --calldata --json

```

  • Read Call:

```bash

npx @cavos/cli call --contract

--entrypoint --calldata --json

```

4. Advanced Operations

  • Multicall: Batch multiple calls.

```bash

npx @cavos/cli multicall --calls '' --json

```

  • Simulate/Estimate: Check tx before sending.

```bash

npx @cavos/cli simulate --contract --entrypoint --calldata --json

```

  • Transaction Status:

```bash

npx @cavos/cli tx status --json

```

Best Practices

  1. Verify Balance: Always run balance before a transfer.
  2. Check Session: Run whoami or session-status at the start of a workflow to ensure authentication.
  3. Use JSON: Parsing JSON output is safer than regexing stdout.
  4. Calldata: Calldata for execute and call should be comma-separated strings (e.g., 0x1,100).

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-29 01:33 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,181
developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 427 📥 118,203
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,799