Logo
Cardano Ecosystem

Genius Yield

01/22/2024

·

560 views


OpenSource Ethos, the smart contracts used in the Genius Yield Dex

Cardano ADA family! We are proud to officially announce that we will be open-sourcing the smart contracts used in the Genius Yield Dex!

OpenSource Ethos, the smart contracts used in the Genius Yield Dex

Cardano ADA family! We are proud to officially announce that we will be open-sourcing the smart contracts used in the Genius Yield Dex!

A smart contract is a self-executing agreement with terms between the buyer and seller written into code.
Details

Currently, our DEX uses a single order type: limit orders that can be partially filled, and market orders. These limit orders are created using a smart contract that ensures users' money is safe. The smart contract guarantees that the assets are locked in and only released if the user cancels the order or if a buyer pays the correct price. This smart contract defines the "rules of the game," and each time a user places an order, they entrust their assets to this smart contract.

Therefore, making the source code of that smart contract available is imperative. If we expect users to entrust the smart contract with their money without being able to see it, it's akin to asking someone to sign a contract without allowing them to read it first. For technical reasons, to keep track of the "life cycle" of an order on our DEX, we also deploy special NFTs. For each order, there is an NFT minted when the order is created and burnt when the order is completely filled or canceled. These NFTs are defined by a "minting policy" (another smart contract), which is carefully coordinated with the main order smart contract. We are open-sourcing both the order "validator" smart contract and the NFT "minting policy" smart contract.

While both of these smart contracts have undergone audits in the past, we made changes during the testnet. Therefore, both of these smart contracts are undergoing a second audit. At the end of these audits, we will open-source the contracts under license.

Thank you for your support! Together we are building Cardano. 

AD

SNEKbot by DexHunter on CARDANO

Cardano's Telegram Trading Bot live on Cardano mainnet!TRADE NOW!


Disclaimer: Cardano Feed is a Decentralized News Aggregator that enables journalists, influencers, editors, publishers, websites and community members to share news about the Cardano Ecosystem. User must always do their own research and none of those articles are financial advices. The content is for informational purposes only and does not necessarily reflect our opinion.


An image that says Learn Blockchain technology and get ahead in the industry with a link to the Cardano Academy.

More from Genius Yield

See more
Announcing the New V2 GENS Staking Program
Genius Yield
Announcing the New V2 GENS Staking Program

03/30/2024

·

451 views

Related News

See more

Featured News

See more



    DEFAULTENGLISH (EN)SPANISH (ES)RUSSIAN (RU)GERMAN (DE)ITALIAN (IT)POLISH (PL)HUNGARIAN (HU)JAPANESE (JA)THAI (TH)ARABIC (AR)VIETNAMESE (VI)PERSIAN (FA)GREEK (EL)INDONESIAN (ID)ROMANIAN (RO)KOREAN (KO)FRENCH (FR)CZECH (CS)PORTUGUESE (PT)TURKISH (TR)