Skip to content

magohome/ethereum-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Provable Ethereum Examples Join the chat at https://gitter.im/oraclize/ethereum-api Info@Provable.xyz Contributions Welcome! HitCount

Here you can find some code examples showing just how easy it is to integrate the Provable Service into your Ethereum smart-contracts! Thanks to our Ethereum API using Provable in your projects couldn't be more straightforward. In Solidity it is as simple as inheriting the usingProvable contract like so:

    contract YourSmartContract is usingProvable {
        // … 
    }

This provisions your contract with the provable_query() function (and many others!), which makes it trivial to leverage our technology straight away. Head into the Solidity directory for more information.

💻 Happy developing!


Serpent

💀 CAUTION: It is highly recommended to avoid using Serpent, especially in production. The examples herein have been left for reasons of posterity but support for it is no longer maintained as Serpent is considered outdated and audits have shown it to be flawed. Use them at your own risk!

About

Code examples showing how to use the Provable API on Ethereum

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Solidity 91.0%
  • JavaScript 8.3%
  • Other 0.7%