🔌 Allfeat Client
A high-level client library for interacting with the Allfeat blockchain, featuring metrics collection and WebAssembly bindings.
Features
- 🌐 Subxt Integration: Type-safe blockchain interactions
- 📊 Metrics Collection: Comprehensive network statistics
- 🔧 Transaction Building: Create and submit transactions
- 🌍 WASM Support: JavaScript/TypeScript bindings
Quick Start
Rust Usage
use ;
use OnlineClient;
async
JavaScript Usage
import from "@allfeat/client";
const client = ;
const metrics = await client.;
console.log;
Available Metrics
| Method | Description |
|---|---|
get_active_wallets_count() |
Active wallets with balance > existential deposit |
get_works_created_count() |
Total musical works registered |
get_tracks_created_count() |
Total tracks registered |
get_releases_created_count() |
Total releases registered |
get_all_midds_created_count() |
Sum of all MIDDS types |
Features
js- Enable WebAssembly bindings for JavaScript
Dependencies
- subxt - Substrate client library
- async-trait - Async traits support