Skip to content

Request-response oracle supporting arbitrary data

License

Notifications You must be signed in to change notification settings

josugoar/oracle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oracle

oracle

Request-response oracle supporting arbitrary data

Usage

  1. Deploy Oracle.sol or implement and deploy custom IOracle.sol interface.

  2. Inherit from OracleConsumer.sol and deploy contract defining a callback for oracle.

  3. Define ENDPOINT_URI, PRIVATE_KEY, ADDRESS, ABI and TASK_ID in .env file and run oracle_service or use provided interface in custom program.

  4. Call oracle from oracle consumer to access off-chain data.

Credits

About

Request-response oracle supporting arbitrary data

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published