Thanks to this Ethereum API, enriching your smart-contracts with external data using Provable is very easy!
In Solidity it is as simple as inheriting the
usingProvable contract that you'll find in this repository.
This will provide your contract with functions like
provable_query(...), which make it trivial for you to leverage our oracle technology straight away.
If you're using the Remix IDE it's even easier still - simply import Provable into your contract like so:
To learn more about the Provable technology, please refer to our documentation here.
💻 See It In Action!
For working examples of how to integrate the Provable API into your own smart-contracts, head on over to the Provable Ethereum Examples repository. Here you'll find various examples that use Provable to feed smart-contracts with data from a variety of external sources.
There are even some examples here showing you how you can use Provable in a local Truffle development environment!
📣 Get In Touch!
If you want to ask us something, or tell us something, there's loads of ways to get in touch:
❍ We have a Twitter
❍ And a Gitter
❍ Or a Website
❍ Alongside a Youtube
❍ Plus a Github
⏳ Notice about Oraclize rebranding to Provable:
Please use the
provableAPI_0.X.sol contracts going forward. We will continue supporting the oraclize-named versions for a limited time, but they should be considered deprecated and to be removed in the coming months.