Hadouken Finance is a decentralised exchange and borrowing/lending platform built on Nervos Godwoken. On Hadouken, users can swap, borrow, and lend a variety of currencies from the Nervos chain, Ethereum, Binance Smart Chain, and more.
Data type: Price Feed Oracle
Use case: Lending and Borrowing
Delivery method: On-chain (Nervos Godwoken, mainnet)
Update mechanism: Time-based
Frequency: 15 minutes
Sources (by chain/version): All available
Pairs: CKB/USD, WBTC/USD, ETH/USD, USDC/USD, USDT/USD, BNB/USD
Thanks for submitting your Custom Delivery Request!
The DIA DAO will review your requirements shortly and if all information is correctly provided, a core developer will proceed and deliver the API endpoint. If the requirements are partially or incorrectly requested, a DAO member will get in touch with you again.
Thank you for requesting a DIA CDR. We confirm the CDR specifications were requested correctly. Find the oracle / API endpoint below:
By querying for blockchain and asset, the API provides the markets used for calculating this feed.
By querying for blockchain and asset, the API provides the asset quotation for each asset in the feed.
The oracle is deployed and can be accessed here.
You can query for assets by calling the read function getValue() with parameters such as “CKB/USD”. It will return two values:
- The price of the asset queried with 8 decimals
- The timestamp of the last update
Please make sure to top up the gas wallets very soon, as we only put in some gas to deploy and start the oracle.
Gas wallet: 0xb0d0fc380a13f0179974c447f36d10bd00560805
Also make sure they always have sufficient funding.