[Proposal V2] SwaptoX Aggregator: Detailed Information, Lower Risk, and Advanced Features
Following the first round of voting, I realized that the previous proposal was not sufficiently clear regarding technical details and security measures. To address these concerns and reduce the perceived risk for the community, I have updated the proposal to Version 2 (V2). This version includes more granular milestones, lower initial funding requirements, and a commitment to delivering advanced functionalities.
Redefining Milestones to Mitigate Risk, Increase Detail, and Solidify Commitments
Milestone 1 – SwaptoX Deployment on Rootstock (1 Month)
-
Objective: Deploy SwaptoX as a native swap aggregation infrastructure on the Rootstock network.
-
Deploy SwaptoX core contracts on Rootstock mainnet.
-
Integrate Rootstock native tokens and liquidity pools, including liquidity from WoodSwap, Sushi, and UniSwap.
-
Ensure accurate routing, quotation, and execution.
-
Provide a publicly accessible Swap UI connected to Rootstock.
-
Support at least 30+ tokens in the initial deployment.
-
Deploy liquidity sorting and quotation bots.
-
Requested Support: $2,000 (Reduced amount to minimize initial collaboration risk). (This amount is intended only to cover basic server costs and mainnet deployment overhead, demonstrating our sincerity in establishing long-term collaborative trust with Rootstock.)
Milestone 2 – Swap Mini SDK Development for Easy Integration (UI-focused SDK) (1 Month)
-
Objective: Lower the integration barrier for Rootstock ecosystem projects by providing a lightweight Swap SDK.
-
Technical Implementation:
-
Provide a complete, composable token swap UI; dApp developers only need to write minimal JS logic to implement Swap functionality.
-
Development Stack: Utilizing Web Components + Lit architecture for both native compatibility and high performance.
-
DOM Isolation: Utilizing Shadow DOM to prevent style or logic pollution within the integrator’s dApp.
-
Compatible with any frontend framework, including React, Vue, Angular, or native JS+HTML.
-
Lightweight usage: Providing boilerplate code, allowing integration within 10 to 60 minutes depending on developer proficiency.
-
Additional Details:
-
Multi-language configuration: Built-in support for Chinese, English, Japanese, and Korean, with options for custom languages.
-
Multi-theme support: Built-in Light/Dark modes with customizable themes to match the host dApp’s branding.
-
Responsive design: Fully compatible with mobile and desktop screens.
-
Customizable Token Lists: Integrators can restrict the token selection to specific “safe” tokens to ensure user security.
-
Output-only restrictions: Useful for integrators who only wish to facilitate the acquisition of a specific token rather than offering a general aggregator.
-
Integrator Revenue Sharing: Integrators can embed their wallet addresses to receive a 30% share of protocol fees generated (Note: Protocol fees are currently 0; hence rewards are not yet active).
-
Use Cases: Wallet extensions or dApps requiring token operations (e.g., when a user lacks a specific token required for a dApp function).
-
Requested Support: $5,000
Milestone 3 – Public API & Developer Documentation (1 Month)
-
Objective: Enable advanced integrations such as trading bots, analytics platforms, and BTCFi derivatives.
-
Documentation is a fundamental requirement for any DEX; this will be provided in both Chinese and English across three sections:
-
Detailed operation and usage guide for the SwaptoX UI.
-
Integration examples and detailed documentation for the Mini SDK.
-
API specifications: Request/response formats and data schemas.
-
Includes Swap contract ABI documentation to facilitate direct smart contract interactions with the SwaptoX Router.
-
Open access to APIs for price discovery, token lists, and price feeds (Limit order APIs will be released following Milestone 4).
-
Requested Support: $5,000
NEW Milestone 4 – Commitment to Advanced Features: “Limit Orders” and “Exact Output” (2 Months) In the previous version, these were only informal promises. In V2, we have reallocated funds from Milestone 1 to officially include these advanced features in the roadmap to ensure successful delivery.
-
Limit Orders: Allows users to set specific triggers (e.g., “Buy ETH if price < 2500” or “Sell if price > 2600”).
-
Use Cases: Direct order placement/cancellation within dApps, strategy bots, and grid trading bots.
-
Technical Challenge: Requires a third-party “Keeper” network (platform bots or incentivized users) to execute trades. Since Keepers must pay Gas, their profit must cover Gas costs for the system to remain viable.
-
Solution: We clearly notify users that execution is not instantaneous upon hitting the trigger price. For example, if a user sets a price at 2600 and the Gas cost is 0.6U, a Keeper may only execute once the price hits 2600.8 to ensure profitability. Open competition among Keepers will optimize this spread.
-
Exact Output: Useful for users needing a precise amount of an asset (e.g., exactly 0.5 BTC or exactly 1000 RIF for staking) or for future “Online Payment” integrations.
- Technical Challenge: Unlike “Exact Input,” this requires a reverse routing algorithm, which is significantly more complex for an aggregator. We will implement this by reverse-invoking the exact output logic across the routing path.
-
Requested Support: $5,000
Total Duration: 5 Months | Total Requested Support: $17,000 (Compared to V1’s $15,000 for basic infrastructure, V2’s $17,000 includes the delivery of two highly complex advanced features, averaging $3,400 per month.)
Differentiation of “Limit Orders” and “Exact Output”
While OpenOcean supports limit orders on other networks, the feature is not listed for Rootstock. “Exact Output” is currently unsupported by many aggregators like 1inch, KyberSwap, and OpenOcean (manifested as the second output box being disabled).
Why prioritize these advanced features now?
Integrating these features prior to a unified security audit is more cost-effective and avoids the need for re-auditing later. Furthermore, launching a highly polished and feature-complete product provides a significant competitive advantage and attracts top talent to the project.
Clarification regarding @Curia suggestion on Growth Milestones
We appreciate Rootstock’s willingness to fund growth. However, we currently lack baseline data for acquisition costs (CPA), retention, and conversion rates on Rootstock. We prefer to define a professional growth milestone once data is available after deployment. Our current priority remains technical development, followed by security audits and scaled growth.
Regarding Security Audits
We prioritize safety and are exploring alternative funding for audits. I have engaged with the co-founder of FailSafe regarding their grant program (Details: https://getfailsafe.com/apply). We also noted that Optimism provides audit grants for supported chains including Base (Details: https://atlas.optimism.io/missions/audit-grants). We intend to finalize an audit plan once we confirm the availability and scale of these external subsidies.
Other Security Details:
Impact of Deployment on Rootstock
Milestone 1 covers 30+ tokens, effectively encompassing all meaningful assets on Rootstock (including low-liquidity pairs). According to block explorers, there are roughly 28 tokens with logos and price data on Rootstock; SwaptoX will cover them all (Details: https://rootstock.blockscout.com/tokens). If it can be swapped on another Rootstock DEX, it will be swappable on SwaptoX.
Technical Feasibility and Challenges
The primary challenge is growth; the technical challenge is manageable. While the milestones are complex, the “0 to 1” development of the core architecture is already complete. We are now in the “1 to 1.5” refinement phase. With the grant support and milestone commitments, we are fully confident in our delivery.
Growth Potential
While we cannot provide a blind growth forecast, we believe SwaptoX holds a competitive advantage on Rootstock due to its total asset coverage and high product maturity. We will self-fund initial growth experiments to obtain reliable data before seeking dedicated growth capital from Rootstock.
Priority Commitment to Rootstock
We commit to prioritizing Rootstock for both technical and growth support. SwaptoX needs to establish trust and market share within a specific ecosystem before considering multi-chain expansion. Compared to the oversaturated Base market where we lack support, Rootstock represents a significant “Blue Ocean” opportunity. We intend to focus our R&D where we have the highest potential to become a native leader. We aim to gain our first core user base and market share here on Rootstock before considering other plans.