Random code examples showing how to use the Oraclize API
Solidity Python JavaScript
Switch branches/tags
Nothing to show
Clone or download
riccardopersiani Merge pull request #25 from gskapka/patch-1
Remove duplicate import & version pragma statements
Latest commit 70b8028 Jul 11, 2018

README.md

ethereum-examples Join the chat at https://gitter.im/oraclize/ethereum-api Docs@Oraclize.it Contributions Welcome! HitCount

Here you can find some code examples showing how easy integrating the Oraclize Ethereum API is.

Thanks to our Ethereum API helpers using Oraclize in your Solidity/Serpent code is very easy.

In Solidity it is as simple as inheriting the usingOraclize contract: this will provide you some functions, like oraclize_query, which make it trivial to leverage our technology straight away.

If you are using Serpent just import oraclizeAPI.se and enjoy the same Oraclize helper functions via macros!

IMPORTANT NOTICE:

It is highly recommended to avoid using serpent, especially in production. The examples have been left for historical reasons but support for it is no longer maintained as serpent is considered outdated and audits have shown it to be flawed.