Quick Start
Here is a quick Start guide for using the DATUM Oracles
Install the Contract library
The best way to interact with oracles is to use one of our official libraries:
# Install via NPM
npm i datum-contractsMake your first request
To make your first request, import the Oracles interface you want to try out
Here is an full example the contract for testing Price Oracles :
Go to Remix and Compile the Contract after heading over to the tab
Later connect with
Injected Web3 Providerwith Metmask , deploy the contract From Deploy tab on Sepolia for testingThen you can call
getPrice()to get the latest price from the Oracle.
Last updated