This system provides a secure, efficient bridge between user intent and optimal swap execution, all while maintaining decentralization and security through cryptographic verification.
So user wants to swap from token a to token b, they enter amount and click on swap -> order is sent to a contract where funds are locked -> solver sees this and executes the swap through backend -> user receives token buser wants to swap from token a to token b, they enter amount and click on swap -> order is sent to a contract where funds are locked -> solver gets a request, sees this and executes the swap through backend by sending an eip-712 signature, which gets verified onchain before executing the swap. -> user receives token b
Lots of bugs man, but nothing bad, challenge is what makes it fun for us, Initially, we planned to integrate with CoW Swap, but after running into compatibility issues with our specific requirements, we made the decision to build our own solver API.
we added our own solver api, eas ettestation and ai agent, which is half done half pending, but we did try
Tracks Applied (6)
Polygon
Coinbase Developer Platform
Ethereum Attestation Service
Ethereum Attestation Service
The Graph
Polygon
Technologies used
Discussion