正在自动登录…
lifish0/ chainfolio
一个零依赖的多链 EVM 钱包资产监控工具,提供命令行和本地网页仪表盘,用于跟踪多个链上的原生币和主流 ERC-20 代币余额及美元估值。
AI 中文解读 · 根据仓库描述与 README 生成 · 2026/11/5 19:47:26 · 查看原文
- 累计 Stars
- 51
- 当前热度
- 1 天内 · 小火
- 仓库创建时间
选用指南
AI 根据 README 整理 · 2026/11/5 19:47:26
- 使用方式
通过命令行使用,支持快照、导出、监控和本地网页仪表盘。
查看 README 依据
| --- | --- | | `chainfolio snapshot` | Fetch balances + prices, print a table | | `chainfolio snapshot --format json` | Same, as JSON | | `chainfolio snapshot --chain base` | Only one chain | | `chainfolio export --format csv --output out.csv` | Write a snapshot to a file | | `chainfolio watch --interval 120` | Poll every 120s, alert on big moves / price thresholds | | `chainfolio serve --port 3000` | Local dashboard at http://localhost:3000 | ## Config `config/wallets.json`: ```json { "wallets": [ { "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
- 部署要求
需要 Node.js 20 或更高版本,无需安装依赖。
查看 README 依据
# 1. Create your config from the example (public addresses only!) cp config/wallets.example.json config/wallets.json # 2. Edit config/wallets.json with your wallet addresses # 3. Run it npm start # snapshot in the terminal # or node src/cli.js snapshot --format json ``` Requires **Node.js ≥ 20**. No `npm install` needed — there are no dependencies. > ⚠️ **Never put private keys, seed phrases, or API secrets in `config/wallets.json`.** > chainfolio only needs your *public* wallet addresses to read balances. It never signs anything. ## Commands | Command | What it does |
- 已知限制
仅支持预定义的代币列表,自定义代币需手动编辑源码;价格来源依赖 CoinGecko,若其不可用则价格显示为 n/a。
查看 README 依据
| BNB Smart Chain | BNB | USDT, USDC, WBNB, CAKE, ETH | | Base | ETH | USDC, WETH, cbETH, DAI | | Arbitrum One | ETH | USDT, USDC, WETH, ARB | | Optimism | ETH | USDT, USDC, WETH, OP, DAI | | Polygon | POL | USDT, USDC.e, WETH, WMATIC, DAI | Token addresses are the canonical deployments — verify on the chain explorer before relying on them for large sums. Add your own in `src/tokens.js`. ## How it works 1. `eth_getBalance` for native assets, `eth_call(balanceOf)` for ERC-20s, via public RPCs. 2. Prices in one batched CoinGecko request, cached for 60 seconds.
- [ ] More chains (Solana via RPC, zkSync, Linea) - [ ] Price source fallback (CoinGecko → DeFiLlama) ## FAQ **Does it need my private key?** No — never. Public addresses only, read-only RPC calls. **Does it send transactions?** No. It never signs or broadcasts anything. **What if CoinGecko is down?** Balances still show; prices show as `n/a` and the last cached price is reused where available. **Why is a token missing?** Either its balance is zero, or it isn't in `src/tokens.js` yet — add it there (address + decimals + CoinGecko id). ## Contributing
README
正在加载 README…
收录信息
- 仓库创建时间
- 2026/11/5 18:24:39
- 首次达标收录
- 2026/11/5 19:42:10
- 统计更新时间
- 2026/11/5 22:06:26
按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。
模型评估
普通加权总分 3.8 / 5
由 Jev 模型根据仓库描述与 README 评估,2026/11/5 19:42:10 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。
仓库信息
- 最近推送
- 2026/11/5 18:27:29
- 许可证标识
- MIT
- Fork 数
- 0
- 当前状态
- 未归档
收录记录
按创建时长与累计 Stars 首次收录:小火
首次发现项目