• Stars
    star
    449
  • Rank 97,328 (Top 2 %)
  • Language
    Solidity
  • Created almost 9 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Code examples showing how to use the Provable API on Ethereum

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!

More Repositories

1

ethereum-api

Provable API for Ethereum smart contracts
Solidity
802
star
2

ethereum-bridge

Independent bridge to link any Ethereum network with the Provable engine
JavaScript
206
star
3

ethereum-keys-sgx

An ethereum key pair generator & transaction signer/sender using Intel SGX & Rust.
Rust
37
star
4

dapp-proof-of-identity

Porvable's Proof-of-Identity Dapp + eWallet
JavaScript
33
star
5

eos-examples

Code examples showing how to use the Provable API on EOSIO
C++
33
star
6

proof-verification-tool

Tool to verify the proofs generated by Provable
JavaScript
30
star
7

eos-api

Provable API for EOS contracts
C++
29
star
8

ptokens.js-v1

Library to simplify the interaction with pTokens
JavaScript
26
star
9

dapp-stackexchange-bounty

An incentive mechanism to make StackExchange sites flourish
JavaScript
21
star
10

provable-starter-kit

A Provable & OpenZeppelin starter-kit for building data-rich smart-contracts!
Solidity
20
star
11

truffle-starter

With the Provable oracle in this Truffle box, you can create data-rich smart-contracts in seconds!
Solidity
20
star
12

ptokens-core

The core component which makes pTokens bridges work
Rust
18
star
13

dapp-proof-of-identity-old

A smart contract to link your real identity to an Ethereum address
JavaScript
15
star
14

encrypted-queries

Privacy-enabling tools for onchain Provable querying
Python
15
star
15

fabric-api

Provable API for Hyperledger Fabric Chaincodes
Go
12
star
16

aragon-staking-manager

An Aragon app that allows to lock for a customizable amount of time, a quantity of ERC20 tokens in exchange for organization's tokens.
JavaScript
10
star
17

corda-api

Provable API for the R3 Corda platform
JavaScript
9
star
18

oraclize-lib

Oraclize node.js library
JavaScript
9
star
19

hack-ethams-hexagons-protocol

Solidity
9
star
20

fabric-examples

Code examples showing how to use the Provable API on Hyperledger Fabric
Shell
7
star
21

rsk-api

Provable API for Rootstock smart contracts
Solidity
6
star
22

random-datasource

Resources around the Provable random-datasource
C
6
star
23

android-proof

Java
5
star
24

dapp-youtube-escrow

Dapp to get youtubers' sponsors to pay only for successful videos
HTML
4
star
25

melonport

3
star
26

ptokens.js

New ptokens.js implementation supporting host-to-host swaps
TypeScript
2
star
27

portals-nft-examples

Repository containing pNetwork Portals smart contracts.
JavaScript
2
star
28

ethereum-studio-examples

Solidity examples for the Ethereum Studio c9-based IDE
2
star
29

segwit-computation

Java
2
star
30

ptokens-erc20-vault

The pToken pERC20-on-EOS smart-contract & management CLI.
JavaScript
2
star
31

trufflecon2018-demo

Material for the Oraclize demo at TruffleCon 2018
JavaScript
2
star
32

ptokens-erc777-smart-contract

The ETH smart contract for the Provable Token!
JavaScript
2
star
33

offchain-network-monitor

Web-based client side offchain network monitor to indipendently verify Provable's honesty.
JavaScript
1
star
34

steroids

An Aragon app that allows to lock for a customizable amount of time, a quantity of UniV2 tokens in exchange for organization's tokens.
JavaScript
1
star
35

token-swap

A simple smart-contract to swap a token.
JavaScript
1
star
36

bitcoin-network-monitor

JavaScript
1
star
37

rootstock-bridge

Independent bridge to link any Rootstock network with the Oraclize engine
JavaScript
1
star
38

aragon-voting-rewards

An Aragon app that allows to get rewards in base of how many votes you made in a certain amount of time
JavaScript
1
star
39

ptokens-vanilla-apps

Rust
1
star
40

ptokens-bridge

Docker Compose orchestration for ptokens-bridges.
Shell
1
star
41

ptokens-jsonrpc-spec

OpenRPC Specification for the pTokens bridges RPC API
JavaScript
1
star