Cardano is missing many important pieces of DeFi infrastructure. One we feel is missing the most is the ability to open leveraged positions.
We'd like to create a perpetual DEX with leveraged long/short positions, deploy it on Milkomeda, and make it usable from a Cardano-based dApp. A whole platform with a frontend will be built.
This is the total amount allocated to A Perpetual DEX on Milkomeda usable directly from Cardano - open leveraged positions in a dApp while needing only your Cardano wallet.
none
No dependencies.
Project will be fully open source.
Our goal is to provide a platform that allows for opening long/short positions with leverage in a decentralized way. Implementations of these features exist on other chains. One of these solutions is known as a perpetual DEX. We think that the most cost and time-efficient approach would be to modify Solidity contracts of an existing, well-tested, and audited EVM-based solution, deploy them on Milkomeda, and build a platform for interacting with these contracts directly from Cardano.
The idea of this platform is to have a single pool of assets (wrapped Cardano-native assets in this case). Anyone can provide liquidity to this pool. Funds from this pool could be borrowed (using collateral) which enables users to use leverage. A user with an open long/short position has to pay a funding fee, which is an hourly fee based on the size of the position. Once the price of the asset crosses a liquidation price (based on the amount of collateral provided), anyone could liquidate this position. Liquidity providers directly profit from platform fees and liquidation events.
This is not an order-book-based platform. All asset prices are determined by oracles. Deploying oracles on Milkomeda is one of the innovative steps that are a part of this proposal.
Let's summarize all the steps that would be needed:
Modifying and porting existing Solidity contracts to Milkomeda entails multiple steps, there are many non-trivial challenges to solve. One of them is the need for oracles. Another major part of the project that we need the funding for is the frontend implementation and its design.
We would like to enrich Cardano with a novel DeFi protocol that is well-established on other chains, such as Arbitrum. This will give Cardano users access to options that were not available before, such as opening short/long positions and using leverage in a decentralized manner. This could also attract people from ecosystems of other blockchains, extending the Cardano user base.
Modifying smart contracts of an already existing perpetual DEX (GMX) to build an MVP for Cardano has multiple advantages. The most obvious one is the trustworthiness of the protocol. Another one would be the cost and time efficiency of development.
The simplest measures of success for us are a traded volume and a TVL alongside the total number of active users.
We will integrate with DefiLlama so these statistics can be easily accessible to public.
The oracle deployment design document as well as Solidity smart contracts will be published in the Github repository of the project. At the launch, we will also publish Frontend and Backend source code.
Besides these, we plan to release a development progress article monthly.
We are planning to launch this protocol in a fully decentralized manner:
Vacuumlabs established itself as one of the top companies building on Cardano during the past years. We've already built multiple successful projects on Cardano, such as Adalite wallet, that has been supporting Cardano from early days.
We also closely collaborate with dcSpark, the creators of Milkomeda. Therefore, we are confident in our competence to bring this project to life with no significant issues.
Regarding deploying API3 oracles on Milkomeda, API3 is one of the big clients of Vacuumlabs and we have great relations with them. Due to this, we also have expertise in the field.
The main goal is to bring a perpetual DEX to Cardano in a cost-effective and safe way. Opening decentralized long/short positions with leverage is the most distinguishing feature we are aiming for. The feasibility of our approach comes from the fact that this type of platform is very popular on Arbitrum already and from the availability of Milkomeda, where Solidity contracts can be deployed.
We already have extensive experience in interacting with Milkomeda directly from Cardano from our previous projects.
Overall, the total expected time is around 12 weeks
Let's break the outcomes of each milestone down:
1 Tech lead: 22.5 MDs - €20,250
1 Senior smart contract engineer: 60 MDs - €47,400
1 Mid frontend developer: 45 MDs - €26,550
1 Mid fullstack developer: 40 MDs - €23,600
Non-developers
1 Senior UX/UI designer: 20 MDs - €11,800
1 Project manager: 10 MDs - €6,490
Sum of the budget for the project team: €136,090
Our funding request is based on price of ADA from July 13th.
We are open to receiving an andjusted amount equal to the price in Eur above.
Most importantly, a new DeFi product would be brought to Cardano. In our opinion, expanding the DeFi ecosystem is crucial for more widespread adoption. Shorting or longing with leverage in a decentralized manner is not available on Cardano at the moment as far as our knowledge goes. However, this financial instrument is very popular on other chains (and traditional finance).
The protocol aims to become one piece of a DeFi Money-Lego, thanks to which other protocols can build utilizing our smart contracts. We have seen it on other chains, where more complex DeFi dApps use leveraged positions, for example, as a hedge for their yield optimizations.
Many Arbitrum and Avalanche users are very familiar with this product. Offering this product on Cardano could potentially onboard some of these users.
Innovation in the form of deploying API3 (or other) oracles on Milkomeda might also benefit other dApps greatly. This will pave the road for implementing other DeFi products on Milkomeda and therefore benefit Cardano itself.
We hope our project can also serve as a best-practice example of how to use wrapped Smart Contracts to create a seamless experience for interaction with Milkomeda deployments directly from Cardano (using dApps connected to Cardano wallets).
Vacuumlabs developers, designer and project manager.