/ethereum-api

Oraclize API for Ethereum smart contracts

Primary LanguageSolidityMIT LicenseMIT

Oraclize Ethereum API Join the chat at https://gitter.im/oraclize/ethereum-api Docs@Oraclize.it HitCount MIT Licence

 

Thanks to this Ethereum API, enriching your smart-contracts with external data using Oraclize is very easy!

In Solidity it is as simple as inheriting the usingOraclize contract that you'll find in this repository.

This will provide your contract with functions like oraclize_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 Oraclize into your contract like so:

import "github.com/oraclize/ethereum-api/oraclizeAPI.sol";

To learn more about the Oraclize technology, please refer to our documentation here.

 


 

💻 See It In Action!

For working examples of how to integrate the Oraclize API into your own smart-contracts, head on over to the Oraclize Examples repository. Here you'll find various examples that use Oraclize to feed smart-contracts with data from a variety of external sources.

There are even some examples here showing you how you can use Oraclize 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

 


 

☢️ A Note Regarding Serpent:

💀 CAUTION: It is highly recommended to avoid using Serpent, especially in production. The serpent version of the Oraclize API herein remains for historical reasons but support for it is no longer maintained. Serpent is considered outdated and audits have shown it to be flawed. Use it at your own risk!