Trustless RFQ Process
Flashnet RFQ operates on a strict principle of user sovereignty, where the Flashnet infrastructure acts only as a communication layer between users and market makers.How It Works
- User in Control: Users always maintain custody of their funds throughout the entire process
- Atomic Execution: Trades execute as atomic swaps on Spark, ensuring trades are either executed completely or not at all
- Quote Verification: Users can independently verify and select the best quotes
- No Middleman Risk: Direct settlement between user and chosen market maker
Risks and Mitigations
The primary risks in any RFQ system involve information leakage, front-running, and quote manipulation. Flashnet RFQ addresses these through:- Signed Quotes: All quotes are cryptographically signed by market makers
- Quote Expiration: Quotes have strict time limitations to prevent staleness
- Direct Execution: Users execute chosen swaps directly on Spark, not through intermediaries
Verification Log
Flashnet RFQ maintains a public, cryptographically verifiable log of all RFQ activities while preserving privacy.How It Works
The verification log records hashed representations of:- Quote Requests: Hashed request parameters that hide specific amounts and values
- Quote Responses: Hashed quote data that masks exact prices and sizes
- Request-Response Mapping: Cryptographic proof linking quotes to requests
- That all requests were properly forwarded to market makers
- That all quotes received were properly forwarded to users
- The fairness and completeness of the RFQ process
Verification Without Information Leakage
The verification log is designed so that only the specific user and market maker involved in a transaction can verify their own requests and quotes, while the general public cannot see sensitive information like trade sizes, prices, or identities. This provides accountability without sacrificing privacy.Gateway Security
While the RFQ Gateway serves as the communication layer, its design ensures that even if compromised, it cannot impact user funds.Security Measures
- No Custody: The Gateway never takes custody of funds
- Signed Messages: All messages are cryptographically signed, preventing tampering
- Distributed Architecture: No single point of failure in the system
- Redundant Verification: Multiple ways for users to verify quote authenticity
- Prevent messages from being delivered (mitigated by timeout mechanisms)
- Send invalid quotes (rejected by client-side verification)
- Withhold some quotes (mitigated by market competition and timeout alerts)
Flashnet RFQ combines the speed of centralized communication with the security of trustless execution. By separating the messaging layer (Gateway) from the settlement layer (Spark), the system delivers optimal performance without compromising on security or user sovereignty.