About
## Wave 2 submission
In this wave, PrivateClaw evolved from a prediction-market prototype into a privacy-focused trading interface built on Aleo.
Major updates include:
- Refactored core logic from outcome-based betting to price-based limit order trading
- Reworked existing database schema to represent trading pairs and orders
- Updated Leo smart contract transitions to support private order placement and settlement
- Implemented real wallet-based transaction flow (removed mock wallet logic)
- Fixed transaction failures by aligning frontend types with Leo contract u64 requirements
- Integrated proper error handling for Aleo RPC responses
- Built a structured trading dashboard including:
Order placement panel (Buy/Sell)
Aggregated orderbook display
User order tracking
Trade history view
- Ensured all blockchain interactions execute through real wallet approval (no simulated transactions)
The application is deployed and interacting with Aleo Testnet.
## Wave 3 submission
Integrate Zero-Knowledge proof verification into the trade settlement pipeline to ensure private but verifiable execution.
Refactor the order matching engine to support deterministic matching while preserving privacy constraints.
Implement encrypted balance state tracking to prevent exposure of individual wallet positions.
Develop privacy-safe transaction status updates so users receive confirmation without revealing sensitive trade data.
Introduce aggregated liquidity and volume metrics that provide market insight while keeping individual orders confidential.
Improve error handling and transparency for failed or reverted transactions within private execution flows.
Strengthen smart contract validation checks to prevent invalid state transitions and improve protocol reliability.
## Wave 4 submission
In this wave, I significantly upgraded the PrivateClaw application to fully integrate Aleo-based privacy logic and improve overall project quality.
Key updates include:
- Implemented a non-trivial Leo smart contract with multiple transitions:
* validate_bet(amount: u64)
* place_bet(amount: u64) * calculate_reward(amount: u64)
- Added structured contract logic with input validation, constraints, and computation to simulate private betting behavior using Aleo’s zero-knowledge model.
- Integrated frontend interaction with the Leo contract:
* Users can input bet amounts
* Execute validation, betting, and reward calculation * View results mapped directly to contract functions
- Implemented Shield Wallet integration:
* Connect wallet functionality
* Transaction simulation and preparation for Aleo execution
- Added simulation helpers in the frontend to mirror Leo contract execution for demonstration purposes.
- Improved UI/UX:
- Clear action buttons (Validate Bet, Place Bet, Calculate Reward)
- Real-time result display
- Clean and user-friendly layout
- Cleaned and optimized repository:
- Removed unnecessary files (lock files, unused folders)
- Improved project structure for clarity and maintainability
- Deployed the frontend using Vercel for live demonstration.
From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.





