Cross-Chain Lottery Platform with MetaMask Embedded Wallets



Web3 finance still relies on users to monitor protocols, bridge funds, and manually execute transactions just to capture yield. Syndicate envisions a different future: intelligent agents that keep capital productive while operating within strict, user-defined guardrails.
We're not just building a lottery platform—we're building the orchestration layer that lets users set it, forget it, and stay secure.
Orchestrated Advice
Users interact with the Venice AI Policy Advisor instead of navigating complex dashboards. The advisor analyzes vault positions and suggests conservative, yield-based strategies—for example: "Use 5% of weekly yield to buy 3 Megapot tickets."
The Safety Grant
Users approve the policy through the MetaMask Smart Accounts Kit using an ERC-7715 Advanced Permission grant. This creates enforceable spend limits at the protocol level: principal remains protected, permissions are revocable, and users retain full control.
Autonomous Execution
Once approved, Syndicate handles execution automatically. The agent packages the request with the required ERC-7710 context and routes it through the 1Shot Permissionless Relayer. Transactions execute gaslessly in the background and settle on-chain without manual intervention.
We don't just integrate the required technologies—we combine them into a cohesive, production-ready system.
Best Agent / A2A: Our delegation chain (Permission → Agent → Session → Execution) establishes a strong security model for agentic workflows.
Best Use of Venice AI: Venice operates behind server-side JSON schema guardrails. AI can recommend policies, but execution is impossible without an explicit, user-signed MetaMask permission grant.
Best x402 / 1Shot: A lightweight JSON-RPC integration with 1Shot's public relayer removes friction entirely, handling status updates from pending to confirmed with zero user involvement.
Syndicate proves that seamless, Web2-like automation doesn't require sacrificing self-custody. By converting protocol yield into lottery participation, users gain a rewarding, low-risk way to engage with the ecosystem while preserving control over their assets.
Syndicate makes Web3 assets work for the user—while the user remains firmly in control.
Video update here: https://drive.google.com/drive/folders/1G2Cj5lWIxJpFbXwx1MwPsUakHPR30b8x?usp=share_link
We didn't start from scratch. Over the past three weeks, we transformed an existing yield-coordination engine into a secure, agent-ready platform. Our focus was clear: strengthen security, streamline integrations, and eliminate user friction.
Infrastructure Refactoring: Audited and redesigned the purchase flow to support ERC-7715 Advanced Permissions. We decoupled execution from the frontend, enabling multiple execution providers (direct execution and the 1Shot relayer).
Delegation Framework: Implemented the core delegation store and persistent permissionContext management, ensuring MetaMask permission grants mapped cleanly to downstream agent sessions.
Chain-Agnostic Setup: Configured support for Base, Base Sepolia, and Ethereum testnets to create a flexible and reliable demo environment.
Venice AI Integration: Built the /api/agent/autopilot/advice proxy, moving AI reasoning server-side. By enforcing JSON schema responses and hard-coded limits, the advisor can never exceed a user's predefined risk boundaries.
Security Guardrails: Introduced the Principal Preservation sanitizer. Even if AI recommends an aggressive strategy, any policy that puts the user's principal at risk is automatically rejected, preserving true "Yield Autopilot" behavior.
Agent Registry: Developed a unified registry to track agent activity across x402, ERC-7715, and autonomous agent workflows, providing a single source of truth for orchestration.
1Shot Relayer Integration: Implemented the full JSON-RPC integration with the public 1Shot relayer, including end-to-end transaction lifecycle tracking from pending → submitted → confirmed → reverted.
UX Refinement: Built the PermissionedAutopilotPanel, giving users visibility into active policies, relayed transaction status, and one-click permission revocation.
End-to-End Validation: Stress-tested the complete flow—from Venice AI proposing a strategy, to MetaMask permission signing, agent execution with ERC-7710 context, and final settlement through the 1Shot relayer.
By the end of the sprint, Syndicate evolved from a yield engine into a production-oriented, permissioned autopilot for Web3—combining intelligent automation with uncompromising user control.