A peer-to-peer trading system integrating both DEXes and CEXes, powered by agent-based services. With atomic swaps across EVM chains and smart orchestration of agents, we deliver seamless, decentralized arbitrage opportunities for institutional and retail users alike.
Quotation Station is a peer-to-peer decentralized trading system, integrating both centralized exchanges (CEXes) and decentralized exchanges (DEXes) through robust connectivity using CCXT and DCTX libraries. Our innovative framework allows users to engage in arbitrage and trading opportunities by leveraging a network of agents, each with distinct roles in an agent-based economy.
Key to our system are atomic swaps across EVM-compatible chains, secured by smart contracts that ensure trustless, instant trade execution across multiple blockchain environments.
At the heart of the ecosystem is the Orchestrator agent, which manages the lifecycle and health of the various agent services (Solver, Executor, Price Feed). The orchestrator also dynamically incentivizes participation, balancing the number of solvers and executors to ensure smooth, continuous operations, even in cases of participant shortages.
Our platform supports both institutional and retail users through a user-friendly, intuitive frontend, simplifying access to powerful decentralized financial tools. The multi-agent architecture allows each agent (Solver, Executor, Price Streamer) to operate individually or in concert with others, creating efficient and scalable agent economies.
This modular design fosters a resilient and decentralized peer-to-peer trading system, bringing together liquidity from both centralized and decentralized markets, optimizing arbitrage opportunities and executing trades with maximum efficiency.
We built this project using the Autonolas framework, which provided the foundation for our agent-based services. The architecture revolves around a set of core agents—Orchestrator, Solver, Executor, and Price Streamer—each running as individual or multi-agent services that communicate and interact within an agent-economy.
The trading system integrates both DEXes and CEXes via two critical libraries: CCXT for centralized exchange (CEX) integration and DCTX for decentralized exchange (DEX) access. This allows us to bring together liquidity and trading functionality from diverse platforms into a unified peer-to-peer system.
EVM-based smart contracts are employed to enable atomic swaps across various chains, ensuring secure, trustless trades without intermediary risks. These smart contracts act as the backbone for executing cross-chain arbitrage opportunities.
Cross-chain Atomic Swaps: We hacked together a flexible, EVM-compatible smart contract architecture that allows for atomic swaps across multiple blockchains. This reduces the need for traditional intermediaries and allows users to move assets quickly between chains with zero trust required.
Incentivized Orchestration: The Orchestrator isn’t just a passive controller—it actively monitors the health of the agent economy and incentivizes more participants by tweaking reward schemes in real-time to balance demand across solvers and executors. This creates a dynamic, self-regulating system.
Agent Economies: Each agent can run independently or in a group as a multi-agent service. This modular approach allows for the creation of self-sufficient agent economies that adapt to real-world demand.
By combining these technologies and concepts, we’ve built a resilient, decentralized p2p trading system that bridges liquidity between CEXes and DEXes, while automating arbitrage and trade execution in a trustless and scalable manner.