@flarestudio/flare-cli
v1.0.1
Published
Tactical developer toolkit for the Flare Network — audit FTSO, FAssets, FDC, and Smart Accounts from the terminal.
Downloads
207
Maintainers
Readme
🔥 FlareStudio CLI Toolkit
A high-velocity, tactical developer powerhouse for the Flare Network. This toolkit provides direct, trustless access to Flare's enshrined protocols—FTSO, FAssets, FDC, and Smart Accounts—directly from your terminal.
🌟 Core Capabilities
1. 🌐 Universal Protocol Form
The single entry point for a full ecosystem audit. Run a multi-step interactive form to:
- Registry Audit: Resolve core protocol addresses (
FtsoV2,FdcHub,AssetManager). - FDC Pulse: Check the last finalized round of the Flare Data Connector.
- Oracle Snapshot: Get live FTSO V2 prices for tokens like
FLR,BTC,ETH, andXRP. - Governance Audit: Check WNAT balances and Vote Power for any address.
- Bridge Pulse: Monitor FAsset supply and collateral status.
2. 🔐 Smart Account PayRef Forge
Generate cryptographically-perfect Payment Reference (PayRef) payloads for FAsset operations. The CLI builds these 32-byte hex strings entirely offline, ensuring you can prepare minting or redemption instructions without ever exposing a private key.
3. 📡 Live Monitoring
- FTSO Feeds: Real-time asset pricing directly from the Oracle.
- FAsset Status: Detailed bridge health including Manager addresses and token supply.
- Contract Resolver: Instant address lookup for any registered Flare protocol service.
4. 🤖 AI-Ready Manifests
Every audit can be exported as a Raw JSON Manifest, perfectly formatted for injection into AI agents or automated DevOps pipelines.
🚀 Quick Start
1. Installation
Install the toolkit globally:
npm install -g @flarestudio/flare-cli2. Run the Interactive Dashboard
flare-toolkit3. Power-User Commands
# Fetch a specific price
flare-toolkit price FLR/USD
# Resolve a contract address on Coston2
flare-toolkit resolve FtsoV2 --network coston2📂 Project Structure
src/index.ts— The tactical brain of the CLI.src/modules/— Protocol-specific logic (FTSO, FAssets, FDC, etc.).templates/— Pre-built code samples for Flare integrations.
📜 License
MIT License. Built for the Flare Developer Ecosystem. Built with 🥃 by FlareStudio
