flarestudio-cli
v1.0.2
Published
Tactical developer toolkit for the Flare Network — audit FTSO, FAssets, FDC, and Smart Accounts from the terminal.
Downloads
361
Maintainers
Readme
🔥 Flare Developer Toolkit (Flare CLI + Web Terminal)
A comprehensive, interactive suite for developers to build, monitor, and scale applications on the Flare Network. This toolkit provides 100% parity between a powerful Command Line Interface (CLI) and a sleek, browser-based Web Terminal.
🌟 Key Features
1. 🌐 Universal Protocol Form
The single entry point for a full ecosystem audit. Run a multi-step form to:
- Resolve core registry addresses (
FtsoV2,FdcHub,AssetManager). - Check live FTSO V2 prices (
FLR,BTC,ETH,XRP). - Monitor FAsset bridge states (Supply, Lot sizes).
- Encode Smart Account payment references for cross-chain minting.
2. ✨ Premium Scaffolding (init)
Jumpstart a new project instantly with curated templates:
- 📈 FTSO Oracle Terminal: A real-time dashboard for price monitoring.
- 🚢 FAssets Monitor: A visual bridge health dashboard. Each scaffold comes with a pre-configured Vite + React + Viem stack.
3. 📡 Live Ecosystem Monitoring
- FTSO V2 Feeds: Real-time asset pricing directly from the Oracle.
- FAsset Status: Detailed bridge health including Manager addresses and token supply.
- Contract Resolver: Direct lookup of any registered Flare protocol contract.
4. 💻 Web-Terminal Parity
The Web Terminal (React-based) mirrors the CLI line-for-line, using a custom-built scrolling terminal engine that replicates the inquirer experience in the browser.
🚀 Quick Start
1. Installation
Clone the repository and install dependencies:
npm install
npm run build2. Run the CLI
# Start the interactive dashboard
node dist/index.js3. Run the Web Terminal
cd flare-web-terminal
npm install
npm run devOpen http://localhost:5173/ to access the browser terminal.
📂 Project Structure
src/: Core CLI source code (TypeScript).src/modules/: Modular logic for Scaffolding, Registry, FTSO, and FAssets.flare-web-terminal/: The React-based web implementation of the toolkit.dist/: Compiled JavaScript ready for execution.
🛠 Command Usage
| Command | Action |
| --- | --- |
| universal | Run a full 5-step ecosystem audit. |
| init | Scaffold a new project template. |
| monitor price | Get live FTSO Oracle prices. |
| monitor fasset | Check bridge supply and manager status. |
| resolve [name] | Lookup any Flare Registry contract. |
📜 License
MIT License. Built for the Flare Developer Ecosystem.
