ALLXDefi

ZK-based portfolio proofs + adaptive ASI risk engine for safer DeFi decisions.

ALLXDefi

Created At

ETHOnline 2025

Project Description

ALLXDeFi is a privacy-first DeFi portfolio sharing and risk assessment platform that allows users to prove ownership of crypto assets without revealing their wallet addresses, token amounts, or transaction history. Traditionally, proving assets requires sharing public keys or screenshots, which exposes private financial information, links wallets to identities, and increases the risk of tracking, scams, and targeted attacks. ALLXDeFi solves this using zero-knowledge cryptography.

With ALLXDeFi, users can generate ZK-SNARK proofs to demonstrate statements like “I own at least 50% of this portfolio” or “My collateral ratio meets lending requirements”, without disclosing any underlying data. These proofs are created off-chain using Circom + snarkjs and verified on-chain by a Solidity Verifier contract. Anyone can verify the proof transparently via Blockscout, ensuring trustless validation backed by pure cryptographic math rather than screenshots or trust.

Beyond privacy, DeFi users often struggle to interpret complex market data such as volatility, leverage, collateral efficiency, and liquidity shifts. To address this, ALLXDeFi integrates an ASI-powered Risk Engine. Unlike standard AI models, the ASI engine continuously learns from market behavior and user actions — analyzing wallet activity, global market trends, on-chain data, and historical patterns. It then classifies risk exposure into Low, Medium, or High, and personalizes recommendations based on how the user typically interacts with the market.

This creates an experience where users can:

Prove their portfolio strength privately

Understand their real exposure level intelligently

Make informed decisions with clear, personalized risk signals

ALLXDeFi = Zero-Knowledge Privacy + ASI Intelligence for safer and smarter DeFi participation.

How it's Made

ALLXDeFi is built at the intersection of zero-knowledge cryptography, smart contracts, and an ASI-powered risk analysis engine.

Zero-Knowledge Proof System: We designed ZK circuits using Circom, which define how portfolio ownership claims can be proven without revealing balances or wallet addresses. These circuits are compiled and trusted-setup artifacts are generated using snarkjs to produce ZK-SNARK proofs. Proofs are generated off-chain by the user’s browser or backend, ensuring privacy and efficiency.

On-Chain Verification (Verifiable on Blockscout): To allow public and trustless proof validation, we deployed a Solidity Verifier smart contract that checks the cryptographic validity of the ZK proofs. Anyone can verify the proof on Blockscout — fully transparent, trustless, and mathematically guaranteed.

ASI Risk Engine: For risk assessment, we built an ASI-driven intelligence layer that continuously learns from:

wallet activity and historical behavior,

market volatility and liquidity changes,

leverage and collateral performance across DeFi protocols.

The ASI engine evaluates these signals and classifies user risk into Low, Medium, or High, and evolves based on how users interact with the market, enabling a personalized risk profile rather than a generic score.

Frontend + User Experience: The interface is built using React (Vite) for responsiveness and simplicity. Users can:

Generate & submit ZK proofs in one click,

View ASI-based risk insights,

Understand their exposure clearly.

Backend + Coordinator Layer: A Node.js + Express backend helps orchestrate:

witness + proof generation flows,

real-time on-chain & market data ingestion,

ASI engine processing.

Interaction with the blockchain is handled using ethers.js.

Notable Hack / Optimization: We optimized the ZK circuit to prove threshold ownership (e.g., ≥50%) instead of exact token amounts, significantly reducing computation time. We also introduced witness caching to avoid re-running heavy circuits when portfolio composition is unchanged.

background image mobile

Join the mailing list

Get the latest news and updates