正在自动登录…
xian99284-bot/ flapai
用于BSC链上快速购买代币的命令行工具,支持Portal和graduated AMM两种交易路径,需配合Binance Agentic Wallet使用。
AI 中文解读 · 根据仓库描述与 README 生成 · 2026/11/5 19:47:20 · 查看原文
- 累计 Stars
- 56
- 当前热度
- 1 天内 · 小火
- 仓库创建时间
选用指南
AI 根据 README 整理 · 2026/11/5 19:47:20
- 使用方式
通过命令行使用,支持预览模式(--preview-only)和实际广播(--broadcast),可指定代币地址和购买金额。
查看 README 依据
| Role | Address | |------|---------| | Portal | `0x49387D2E6cbF8FefE856e3FBc3E98a01aC3af062` | | Factory | `0xC55820f24015bE7c4f18949D9e1363A3609B300e` | | WBNB | `0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c` | | BNCB (preferred AMM quote when bal > 0) | `0x4902C5ebc598265Ed2212b559B042De8a5Eeec3f` | ## Quick start ```bash # 1) Warm sticky host once (keeps TLS / session hot) node bangxt_fast_buy.mjs --warm-daemon # 2) Dry preview (no spend) — set BAW_WALLET in env or pass --wallet export BAW_WALLET=0xYourAgenticWallet node flap_fast_buy.mjs --token 0xTokenCA --amount 0.01b --preview-only
# Force AMM quote path dry: node flap_fast_buy.mjs --token 0xTokenCA --force-amm --amount 0.01b --preview-only # 3) Real buy (spends funds) — only after preview looks right node flap_fast_buy.mjs --token 0xTokenCA --amount 0.01b --broadcast # Max size from wallet quote balance (Portal quote or AMM BNCB/BNB): node flap_fast_buy.mjs --token 0xTokenCA --max --broadcast ``` Safe default is **preview-only**. Pass `--broadcast` explicitly for a live buy. ## Portal vs graduated AMM 1. Resolve `marketOfToken` (with raced RPC + sticky failover).
- 部署要求
需要Node.js >= 20,并安装Binance Agentic Wallet且已登录,同时需能访问BSC JSON-RPC和Binance agent-wallet HTTP API。
查看 README 依据
- Node.js **>= 20** - A working **Binance Agentic Wallet** install and session (`baw` logged in; `@binance/agentic-wallet` reachable via `BAW_ENTRY` or `node_modules`) - Network access to BSC JSON-RPC and Binance agent-wallet HTTP APIs ## Install ```bash git clone https://github.com/xian99284-bot/flapai.git cd flapai npm install # Also install / link Binance Agentic Wallet so resolve works, e.g.: # npm install @binance/agentic-wallet # or set BAW_ENTRY to its dist/index.js cp .env.example .env # then set BAW_WALLET= ``` ## Environment See [`.env.example`](./.env.example).
- 已知限制
作者明确说明不提供财务建议,实际广播会花费钱包资金,需自行承担钱包安全、会话文件和审批风险。
查看 README 依据
| Flag | Meaning | |------|---------| | `--amount 0.001` | Human units of the **market quote** | | `--amount 0.0001b` / `--bnb-equiv` | BNB-equivalent via WBNB/quote spot | | `--quote-amount 0.01` | Explicit quote-token human amount | | `--max` | Wallet quote balance minus dust | ## Disclaimer - This software is provided **as-is** under the MIT License. - It is **not** financial, investment, or trading advice. - Binance Agentic Wallet is required for broadcast; you are responsible for wallet security, session files, and approvals.
README
正在加载 README…
收录信息
- 仓库创建时间
- 2026/11/5 15:57:19
- 首次达标收录
- 2026/11/5 19:42:09
- 统计更新时间
- 2026/11/5 22:06:26
按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。
模型评估
普通加权总分 3.6 / 5
由 Jev 模型根据仓库描述与 README 评估,2026/11/5 19:42:09 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。
仓库信息
- 最近推送
- 2026/11/5 16:02:45
- 许可证标识
- MIT
- Fork 数
- 5
- 当前状态
- 未归档
收录记录
按创建时长与累计 Stars 首次收录:小火
首次发现项目