• Stars
    star
    802
  • Rank 56,815 (Top 2 %)
  • Language
    Solidity
  • License
    MIT License
  • Created almost 9 years ago
  • Updated 6 months ago

Reviews

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

Repository Details

Provable API for Ethereum smart contracts

Provable Ethereum API Join the chat at https://gitter.im/oraclize/ethereum-api Info@Provable.xyz HitCount MIT Licence Build Status

 

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 the latest version of Provable into your contract like so:

import "github.com/provable-things/ethereum-api/provableAPI.sol";

Or if you need a specific version of the API, import that directly via:

import "github.com/provable-things/ethereum-api/contracts/solc-v0.8.x/provableAPI.sol";

There are versions of the API targetting the following solc compilers:

solc-v0.4.25
solc-v0.5.x
solc-v0.6.x
solc-v0.8.x

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

 


 

☢️ A Note Regarding Serpent:

💀 CAUTION: It is highly recommended to avoid using Serpent, especially in production. The serpent version of the Provable 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!

More Repositories

1

ethereum-examples

Code examples showing how to use the Provable API on Ethereum
Solidity
449
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