Qi is a transaction auction platform that reduces transaction cost for transactions. The cost reduction comes from three places 1. MEV redistribution 2. transaction exeuction 3. and gas fees
Users constantly overpay for block space these days. The expensive amount comes in three different forms
The solution space currently is fragmented with well-designed protocols, yet they don't address the issue holistically. Qi provides a solution that address all of above.
Qi is a transaction auction platform that allows users to auction off the right to execute their transactions to solvers, third-party specialized agents that compete for providing the lowest cost of block space for users. Solvers are sophisticated network participants who could be MEV searchers, or Cow Protocol-like solvers, who solve optimization problems to increase users' utility functions.
Through the auction, Qi is providing a transaction cost maximization and value leakage minimization solution that achieve these design goals:
This is how it works: -users sign off messages that represent their transactional intent using the erc1271 compatible signature scheme. User can selectively shield their message to prevent solvers from stealing MEV. However, this could also increase the difficulty for solvers to include the transaction. So there's a element of game theoretic dynamic between user and solver here; -messages are stored at an off-chain server that has a WebSocket opened to solvers; -solvers will monitor database updates continuously to look for new messages being added; -the auction will run by epochs, and each epoch lasts 24 seconds(2 blocks); -at the beginning of each epoch, Qi takes a snapshot of all the existing messages in the server, and will only include those messages in the current auction. New messages will be included in a queue for the next auction -during the auction, solvers will bid for batched of transactions. If two batches contain completely different transactions, then they won't compete with one another. However, if two batches include conflicting transactions, the auction selection algorithm will determine who has the right to include conflicting transactions.
Qi uses the ERC1271 signature scheme to collect user messages. Then put it into a Postgres database. A WebSocket connection is established to feed the data stream to a group of solvers. Solver will submit a bid through the Auction.sol smart contract. The bid is determined based on a utility function. Not collected bid will be sent to 1inch.
1inch Fusion provides the best order execution solution in the game. When a user message is not signed, it will be routed to 1inch Fusion directly for execution
Qi will also have a vertical integration with MetaMask and 4337 wallets. The integration with MetaMask is done through Snap. And because Qi uses 1271 signature scheme, it's compatible with all 4337 wallets. Later, we will implement a customized Paymaster contract for users to auction off their transactions and receive bids for their transactions directly.
Superfluid supports a nice feature to stream payout to a designated address. Qi supports this feature to prevent the solver from griefing the auction payoff process.