360 Secure SkillHub
360 安全技能中心

Byreal Cli

封装 byreal-cli 命令行工具,用于查询 Byreal DEX(Solana)的池子、代币、TVL、APR、K 线、农民排行、Launchpad 项目及 DeFi 持仓统计。提供能力目录发现、安装与更新检查、只读查询与钱包相关写操作的流程约束。

ggg223399
ggg223399
热度 61.64
最近更新 2026-05-11 17:28:54
分类:数据依赖:代码执行 / 第三方 API应用场景:市场分析 / 数据处理 / 财务 / 研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add byreal-cli
Metadata
name
byreal-cli
description
Byreal DEX (Solana) data & analytics CLI: query pools, tokens, TVL, APR, k-line charts, farmer rankings, launchpad projects, and DeFi position stats. Use when user mentions Byreal, LP analytics, liquidity data, pool stats, or Solana DEX queries.
metadata
{"openclaw":{"homepage":"https://github.com/byreal-git/byreal-cli","requires":{"bins":["byreal-cli"]},"install":[{"kind":"node","package":"@byreal-io/byreal-cli","global":true}]}}

Byreal DEX Analytics

Get Full Documentation

Always run these commands first to get complete, up-to-date documentation:

# Complete documentation (commands, parameters, workflows, constraints)
byreal-cli skill

# Structured capability discovery (all capabilities with params)
byreal-cli catalog list

# Detailed parameter info for a specific capability
byreal-cli catalog show <capability-id>

Installation

# Check if already installed
which byreal-cli && byreal-cli --version

# Install
npm install -g @byreal-io/byreal-cli

Check for Updates

byreal-cli update check

If an update is available:

byreal-cli update install

Credentials & Permissions

  • Most commands are read-only and require no wallet
  • Write commands require wallet setup via byreal-cli setup (interactive, handled by the CLI itself)
  • AI agents should never ask users to paste private keys in chat; always direct them to byreal-cli setup

Hard Constraints

  1. -o json only for parsing — when showing results to the user, omit it and let the CLI's built-in tables/charts render directly. Never fetch JSON then re-draw charts yourself.
  2. Never truncate on-chain data — always display the FULL string for: transaction signatures (txid), mint addresses, pool addresses, NFT addresses, wallet addresses. Never use xxx...yyy abbreviation.
  3. Preview first with --dry-run, then --confirm
  4. Large amounts (>$1000) require explicit confirmation
  5. High slippage (>200 bps) must warn user