hackquest logo

LearnDoSwap

LearnDoSwap is an intent-based cross-chain swap protocol that simplifies asset exchange across multiple chains using a novel, user-friendly interface powered by intent architecture.

Videos

Description

LearnDoSwap is an intent-based cross-chain swap protocol that simplifies asset exchange across multiple chains using a novel, user-friendly interface powered by intent architecture.

Demo Video

Pitch Video

Working Prototype: Intent-Based UX Flow

  • Users can:

    • Approve token transfers using approve().

    • Submit swap intents via submitIntent() on-chain.

  • The contract:

    • Stores user intents and emits events for solvers to monitor.

  • Solvers:

    • Detect intents and fulfill them by simulating output via mocked minting logic.

Result: End-to-end prototype successfully demonstrates the intent-driven user experience, fulfilling the core vision of LearnDoSwap.


🧪 Mock Fulfillment Logic (Testing Phase)

  • Solvers mint mock tokens to simulate successful swaps.

  • This validates:

    • Interaction flow between users, contracts, and solvers.

    • UX simplicity using intents instead of complex swap routing.

💬 “We validated that users can express what they want to do, and solvers can fulfill it — even if the actual token transfer is mocked right now.”


🏗️ Built Infrastructure for Next Phase: Trustless Settlement

  • Designed architecture for:

    • On-chain fulfillment proof verification (e.g., destination chain receipts).

    • Secure settlement contract to reward solver only after valid proof.

🧠 “We’ve laid the groundwork for the real magic: a trustless settlement engine that completes the intent fulfillment loop.”


🧰 Tools & Stack Used

  • Solidity + Foundry — Smart contract development & testing

  • OpenIntents Framework — Intent structuring & on-chain interface

  • Next.js — Frontend framework

  • Wagmi + RainbowKit + Ethers.js — Web3 wallet connection & blockchain interaction

  • Node.js — Backend utilities and script automation

Progress During Hackathon

🛠️ Built a working prototype of LearnDoSwap with intent-based interaction flow. Deployed a smart contract that: Accepts and stores structured user intents. Emits events for solvers to pick up. Implemented a mock solver system that: Detects open intents. Simulates fulfillment by minting tokens on the destination chain. Proved the OpenIntents-based swap flow is feasible and user-friendly. ✅ The prototype successfully validates the flow — what’s next is making the fulfillment and settlement economically secure and fully decentralized.

Tech Stack

Solidity
Ethers
Next
Vercel
TypeScript
Javascript
Web3
Node

Fundraising Status

💸 Fundraising Status Current Stage: Pre-seed / Hackathon phase Funding to Date: None — self-funded and built during hackathon 💬 We're currently focused on building a strong proof of concept. Funding will help us ship the trustless settlement layer, complete cross-chain integrations, and expand solver network incentives.

Team LeaderMMARIO FILBERT
Sector
DeFi