-
-
Comprehensive treasury interface displaying active streams, runway, AI recommendations, and real-time protocol metrics.
-
Real-time payroll stream creation with single-worker and group distribution modes executing fully on-chain.
-
Live on-chain streaming dashboard showing real-time accrual, withdrawal availability, and continuous balance updates.
-
30-day AI-powered cashflow forecast with stream type distribution and live network performance insights.
-
Multi-factor AI risk scoring engine analyzing wallet behavior, anomalies, and stream-level security signals in real time.
Inspiration
Payroll infrastructure has not evolved alongside decentralized teams. While Web3 teams operate globally and continuously, most payroll systems remain batch-based, delayed, and disconnected from real-time treasury visibility. There is no native on-chain system for continuous payroll distribution with built-in intelligence and risk monitoring. Nexora was inspired by the idea that payroll should be programmable - flowing per second, transparently, and securely - directly on-chain.
What it does
Nexora Treasury is a real-time, programmable payroll infrastructure built on Somnia Testnet.
It enables: Per-second on-chain payroll streaming Single-worker and multi-wallet group payouts Automatic equal distribution across team recipients Live treasury dashboard with real-time balance tracking 30-day AI-powered cashflow forecasting Multi-factor fraud risk scoring per stream Autonomous keeper for protocol liveness Reusable payroll templates derived from on-chain history All streams execute fully on-chain. There is no mock data or backend simulation. With a single transaction confirmation, funds begin streaming continuously to one or multiple wallets.
How we built it
Nexora consists of three core layers:
Smart Contract Layer (Solidity + Hardhat) Core Payroll Engine: Handles custody, streaming logic, withdrawals, and batch updates Template Engine: Enables reusable stream configurations Keeper Engine: Maintains protocol liveness through batch optimization Streaming logic calculates real-time accrued balances based on flow rate and elapsed time.
Frontend Layer (Next.js 14 + Wagmi + Viem) Wallet connection via RainbowKit Real-time state sync from on-chain data Dynamic dashboard for incoming/outgoing streams Live visualization of payment flows Analytics and risk dashboards All UI components react directly to blockchain state.
Intelligence Layer (Google Gemini + Custom Heuristics) We integrated AI across multiple agents: NLP Stream Parser: Converts natural language into structured stream parameters Fraud Risk Analyzer: Combines wallet age, pattern matching, and volume anomaly detection with Gemini contextual analysis Treasury Optimization Agent: Generates operational recommendations Cashflow Predictor: Produces 30-day treasury projections Autonomous Keeper: Executes batch updates when economically profitable This transforms Nexora from a payment tool into an intelligent treasury system.
Challenges we ran into
Designing a streaming mechanism that remains gas-efficient while supporting multiple recipients. Synchronizing real-time UI updates with continuously changing on-chain state. Balancing deterministic rule-based fraud heuristics with AI-assisted contextual evaluation. Ensuring the keeper process operates independently from the frontend without breaking decentralization assumptions. Structuring the system to remain modular and production-ready within hackathon constraints.
Accomplishments that we're proud of
Fully functional per-second on-chain payroll streaming. Atomic multi-wallet group distribution with automatic equal splitting. Real-time dashboard reflecting live blockchain data. Integrated AI-powered fraud scoring and treasury forecasting. Autonomous keeper implementation with profitability logic. Clean modular architecture separating contracts, frontend, and intelligence layers. This is not a UI simulation - it is operational infrastructure.
What we learned
Real-time financial primitives require tight integration between smart contracts and reactive frontend design. AI is most powerful when combined with deterministic logic rather than used alone. Treasury management is as much about risk intelligence as it is about payments. Designing scalable on-chain systems requires careful gas and state modeling.
What's next for Nexora Treasury
Support for variable-rate and milestone-based streaming. DAO governance integration for payroll approval workflows. Cross-chain treasury support. Advanced anomaly detection using historical on-chain behavioral clustering. Production-grade keeper deployment infrastructure. Stablecoin-native payroll support. Nexora aims to become a programmable treasury backbone for decentralized teams.
Built With
- framer-motion
- google-gemini-api
- hardhat
- next.js-14
- node.js
- rainbowkit
- recharts
- solidity
- somnia-testnet
- tailwind-css
- typescript
- viem
- wagmi-v2
Log in or sign up for Devpost to join the conversation.