About
Unified PnL & Tax is a cross-chain portfolio and tax analytics dashboard that unifies your on-chain holdings, transaction history, and profit & loss (PnL) reports across multiple networks — all powered by Avail Nexus SDK, Envio, and Pyth Network. The platform helps users and accountants calculate real-time realized and unrealized PnL, track multi-chain balances, and generate tax reports in a single interface, without manually exporting CSVs from each chain or wallet. Core Features: Unified Portfolio View: Using the Avail Nexus SDK, the app aggregates balances and transaction history across EVM-compatible testnets (Ethereum Sepolia, Base Sepolia, Arbitrum Sepolia, Polygon Amoy, and Optimism Sepolia). Implements unifiedBalance() and Bridge & Execute features to fetch and act upon cross-chain data. Displays assets, value in USD (via Pyth oracle), and cross-chain holdings in one dashboard.
Real-Time PnL Tracking:
The Pyth Network provides high-frequency, verifiable price feeds for tokens on multiple chains. Calculates realized PnL (profit from completed trades or swaps). Calculates unrealized PnL (current portfolio gains/losses). Displays daily/weekly trends via an interactive chart.
Historical Transaction Indexing
Envio indexes all relevant events (transfers, swaps, bridges) across supported chains. Enables time-based filtering of all transactions. Links each transaction to its chain, gas cost, and counterparty. Ensures fast querying and caching through Envio’s data pipelines.
Tax Computation Module:
Automatically classifies transactions as short-term or long-term gains based on holding duration. Generates a downloadable Tax Report (PDF/CSV) with total realized gains, unrealized gains, staking rewards, and deductions. Includes filters for country-specific formats (starting with India, US).
Bridge & Execute Integration:
Uses Avail’s Bridge & Execute flow to perform a transaction across multiple chains from one unified interface (e.g., swap on Polygon, bridge to Arbitrum, update dashboard state in one click). Demonstrates composability of multi-chain state and execution.
Prizes
- Avail · Developer Feedback (Test our Docs) · Developer Feedback (Test our Docs)
From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.






