欢迎使用 BTSBots 生态系统!BTSBots 是基于比特股(BitShares)区块链打造的去中心化交易与智能钱包系统。它采用了零信任架构(Zero-Trust Architecture),兼顾了 Web 端极致流畅的用户体验与冷热分离级的密钥安全保护。
BTSBots 从架构设计层面彻底解决了传统 Web3 钱包易受钓鱼、私钥泄漏、恶意刷单和误操作等安全隐患:
window.crypto.subtle API 在 IndexedDB 中生成并锁定一对专用的 ECDSA (P-256) 临时会话公私钥。Web 端提交的所有交易(转账、限价下单、OAuth 授权)仅包含操作意图签名,必须经过您的 Python 客户端或本地代理二次审核放行。multiprocessing 的 fork 机制创建孤立的子进程。BTSBots Python 客户端全面推荐使用现代化的 Python 包管理器 uv 运行,享受秒级依赖安装与隔离运行环境。
# Linux / macOS
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows (PowerShell)
powershell -ExecutionUrl https://astral.sh/uv/install.ps1
git clone https://github.com/pch957/btsbots.git
cd btsbots
# 使用 uv 一键安装依赖并同步环境
uv sync
复制示例文件并编辑:
cp security_rules.json.example security_rules.json
security_rules.json 内容说明:
{
"description": "BTSBots 账号与资产定价风控策略",
"updated_at": "2026-08-12 19:54:52",
"fee_limit": 10,
"authorized_keys": [
"f928a9f76a372caf489e999b5e2c4eec9fcablbj49bcef9b4a"
],
"user_whitelist": {
"angel": "1.2.1000",
"dan": "1.2.2000"
},
"market_whitelist": [
"CNY/USD", "CNY/BTS", "BTS/USD"
],
"volatility_limit_1h": 0.97,
"volatility_limit_1d": 0.95,
"volatility_limit_1w": 0.90
}
uv run python sign_bots.py
# 1. 在 pass 中录入您的凭证条目
pass insert bts/my_account
# 2. 使用 --pass 参数一键优雅启动 SignBots
uv run python sign_bots.py --pass bts/my_account
get_otp.py 脚本:
uv run python get_otp.py --pass bts/my_account
84920138。btsbots://transfer?to=receiver&asset=BTS&amount=100&memo=inv_001btsbots://oauth?client_id=merchant&token=xxx&site=example.com&ip=1.2.3.4