About
Calary is a next-generation developer toolkit that empowers teams to build consumer-grade dApps with robust, on-chain financial features and regulatory compliance baked in. At its core, Calary provides a modular suite of tools that handle end-to-end processes—from user verification and identity management to complex payroll systems and token swaps.
**User Onboarding & Compliance:**
- **KYC via Self Protocol:** Users register by undergoing a KYC process using Self Protocol. They must submit passport details including nationality, age, and passport expiry, while ensuring they are not from restricted regions (e.g., North Korea or Iran). - **Registry on Celo:** Once verified, each user's wallet, passport expiry date, and a boolean `rewarded` flag (for managing rewards eligibility) are recorded on a native Celo Registry contract. - **Cross-Chain Verification:** Leveraging Hyperlane, Calary relays verified user information—such as wallet address and expiry—to other supported chains, ensuring that compliance checks hold across ecosystems. This feature is designed to eventually support any EVM-compatible chain or even non-EVM chains, making the toolkit highly versatile.
**Payroll System:**
Calary offers a flexible payroll framework that caters to various business needs: - **Time-Based Payroll:** This straightforward system allows bosses to set fixed intervals for salary claims. Employees receive scheduled payouts without needing complex configurations—ideal for teams with simple payroll requirements. - **Custom Logic Payroll:** For more advanced setups, employers can implement bespoke payroll logic by conforming to an `ICustomPayrollLogic` interface. This interface contains functions for checking eligibility and calculating payment amounts. The vision includes future integration of zk-privacy features to protect sensitive payroll data, making salary distributions transparent yet secure on-chain (). - **Milestone-Based Payroll:** Designed for performance or event-triggered payments, this system uses on-chain (or even off-chain) events as triggers for salary releases. Although the current implementation relies on simple event signature verification—similar to Chainlink's log trigger automation—the architecture allows for scaling to a fully decentralized node operator model in the future ().
**Swap Infrastructure & Incentives:**
- **Compliant Swaps:** Calary integrates a swap mechanism powered by Uniswap v4. Before a swap is executed, a custom `beforeSwap` hook verifies that the user is compliant (i.e., verified via the registry). - **Rewarding Payroll Participation:** An `afterSwap` hook checks the user's `rewarded` flag. If an employee has participated in the payroll system and their flag is set to false (indicating they have claimed their salary), the system mints native Calary tokens. These tokens act as both rewards and credentials, enabling users to redeem perks such as ENS names, event tickets, or merchandise(based on our ecosystem partners). The system resets the flag post-minting to prevent abuse, ensuring that rewards are only granted once per claim cycle.
The ultimate goal of Calary is to act as a foundational layer that lets developers build “killer apps” on top of a secure, compliant, and incentivized financial ecosystem. While some of the more advanced features like full zk-privacy integration and decentralized milestone validation are prototyped for future iterations (), the current implementation provides a robust, scalable, and developer-friendly environment to kickstart next-generation consumer applications.
Prizes
- Celo · Celo L2 Pool Prize · Celo L2 Pool Prize
- Uniswap Foundation · Uniswap v4 Hook Integrations · Runner Up
From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.






