Last updated 3 months ago
DeFi teams need software development kits for dApps & oracles to build extensible use-cases with maximum security & composability on Cardano
1. JavaScript SDK for Cardano & the Liqwid Protocol. The SDK wraps around the Adrestia JS SDK
2. Oracle Open Price Feed SDK
3. Android SDK
This is the total amount allocated to Liqwid Developer Portal:Cardano SDK.
We are developing these SDK's as a common good for Cardano's development ecosystem and devs who like to build open financial applications on top of the Liqwid protocol.
https://github.com/input-output-hk/cardano-launcher
A complete project scope outline for the Liqwid Developer Portal will be released in the next week.
In addition to the SDK a complete set of API's to enable any developer's product or service to communicate with Liqwid using JavaScript. Including this set of Liqwid API's within the SDK can simplify app development for future Cardano DeFi teams building composable solutions. These funds include budgeting for internal QA/Testing & audits of the SDK.
Liqwid Oracle Open Prices: Liqwid team is developing a system that allows reporters to sign price data using a known public key, which Posters (any Cardano address) can submit on-chain. Functionally this means various data sources (Binance, Kraken, Coinbase, WolframAlpha, or any DEX) can serve as reporters that sign off-chain price data and enables any Cardano account to post the public key signed data to the blockchain.
Exchanges such as Binance, Kraken and Coinbase can use their public keys to sign price feed data as Reporter's using the Open Price Feed format. Reporter's are responsible for signing prices every few minutes for assets traded on their exchange. Once Carano's Goguen launches our team expects decentralized exchanges and other new data sources (e.g. WolframAlpha) and exchanges will begin developing their own Reporters for their own assets/trading pairs, and new views can be deployed to use their prices.
The Oracle open price feed system contains all of the contract logic for a functional Cardano price feed into the following components:
1. Off-Chain Price Data:
Data sources such as centralized exchanges (Kraken, Binance, Celsius) or DEX's (Uniswap), termed Reporters, sign a message (price data) using their private key. Key to note that reporters can be a number of data sources (exchanges, DeFi protocols, WolframAlpha, or any other application with continuous access to secure price data). Reporters make this signed price data available to the public.
The Liqwid Price feed system contains a JavaScript SDK to host this data through a web endpoint.
2. Posting Price Data to Cardano:
A data source (exchanges) may have precise and extremely reputable prices for a trading pair, but lack the technical capacity (or incentive) to post the data on chain continuously. This responsibility is shared among many Posters in an open price feed system.
In the Liqwid Oracle Open Price Feed, anyone with enough ADA to cover the transaction fee a connection to a cardano-node has the ability to post the signed data on-chain.
3. On-Chain Storage:
The reporter's timestamped price data is decoded from the signed data, and stored under their public key in the Data Contract on Cardano. The Data Contract holds the most recent price information from each reporter.
The On-Chain storage logic enables anyone to sign price data and store it under their public key in the Data Contract on-chain.
4. Price Views:
On-chain application (or user) requesting price data selects a subset of reported price feeds.
E.g.: a DeFi application might average price data from three reporters e.g. Coinbase, Kraken, and an OTC desk and combine it with three on-chain prices, e.g. Bondly, Chainlink, Oracle Pools to calculate a volume weighted average price based on the 24 hour daily volume that exists on each exchange (e.g. only).
This is accomplished through a View Contract, which reads, parses, aggregates and transforms data from the storage contract. The determination of reliability or quality of price data signed by reporters is a calculation ultimately made in the View contract logic. Views may use a median price, an average, volume-weighted average or any other methodology the community determines most functional/secure.
If an application wishes to change its pricing methodology (or e.g. if a Reporter is no longer deemed reliable) deploying a new View contract is a simple update, since storage and logic are completely decoupled.
Project Status:
A prototype version of the Liqwid Oracle Open Price Feed will be available to developers on Cardano's KEVM devnet at the launch of Beta testing, the entire Oracle Price feed mechanism will also undergo a complete internal + external audit/testing round.
Android SDK:
Android SDK for mobile dApp devs to build composable mobile 1st Cardano DeFi dApps using Liqwid's open source dev tooling.
Why did we choose Android as the 1st mobile SDK to develop?
Our technology partners at 4ire Labs have deep experience building Android SDK's for mobile app devs: "Android maintained its position as the leading mobile operating system worldwide in October 2020, controlling the mobile OS market with a 72.92 percent share. Google Android and Apple iOS jointly possess almost 99 percent of the global market share." - Statista
Liqwid API's aim to drive ease of development by enabling developers with flexibility; streamlined design, administration, and use; and open up significant opportunities for innovation.
NB: Monthly reporting was deprecated from January 2024 and replaced fully by the Milestones Program framework. Learn more here