All Projects → OpenFuturePlatform → open-api

OpenFuturePlatform / open-api

Licence: Apache-2.0 license
api.openfuture.io

Programming Languages

javascript
184084 projects - #8 most used programming language
kotlin
9241 projects
CSS
56736 projects
FreeMarker
481 projects
solidity
1140 projects
HTML
75241 projects

Projects that are alternatives of or similar to open-api

Decentralized eCom
A decentralized e-commerce platform! Tech Stack: Ethereum (Solidity) on the backend, Web3 binding to ReactJS frontend!
Stars: ✭ 82 (+100%)
Mutual labels:  ethereum-dapp, solidity-contracts, blockchain-service
oracles-contract
New version of POA Network consensus contracts is here: https://github.com/poanetwork/poa-network-consensus-contracts
Stars: ✭ 25 (-39.02%)
Mutual labels:  dapp, ethereum-dapp, solidity-contracts
contracts
Contracts for FundRequest (platform, token, crowdsale)
Stars: ✭ 56 (+36.59%)
Mutual labels:  dapp, ethereum-dapp, solidity-contracts
Disperse
React/Redux dApp (decentralized app) boilerplate using Ethereum's blockchain
Stars: ✭ 36 (-12.2%)
Mutual labels:  dapp, blockchain-technology, ethereum-dapp
blockchain-VCoin
Simple Implementation Proof of Work blockchain coin.
Stars: ✭ 16 (-60.98%)
Mutual labels:  blockchain-technology, blockchain-service
E-Voting-App
A simple E-voting Decentralised App using the Ethereum Blockchain, Solidity and the MERN(MongoDB, Express.js, ReactJS, Node.js) stack
Stars: ✭ 84 (+104.88%)
Mutual labels:  ethereum-dapp, solidity-contracts
cheezyverse
Cheeze Wizards is the world's first battle royale on the blockchain (with cheese!)
Stars: ✭ 38 (-7.32%)
Mutual labels:  dapp, ethereum-dapp
vue-web3
🐙 Web3 blockchain bindings for Vue.js (inspired by Vuefire and Drizzle)
Stars: ✭ 63 (+53.66%)
Mutual labels:  dapp, ethereum-dapp
ArianeeMaster
Smart contracts & tools for Arianee Protocol
Stars: ✭ 30 (-26.83%)
Mutual labels:  dapp, solidity-contracts
react-native-defi-app
React Native Defi Decentralized Applications(dApps)
Stars: ✭ 31 (-24.39%)
Mutual labels:  blockchain-technology, ethereum-dapp
NFT-Dapp-Boilerplate
A highly scalable NFT and DEFI boilerplate with pre added web3 and different wallets with a focus on performance and best practices
Stars: ✭ 51 (+24.39%)
Mutual labels:  dapp, ethereum-dapp
zksync-dapp-checkout
zkCheckout — trustable permissionless DeFi payment gateway. Brand new zkSync dApp w/t all L2 perks: fast&cheap transfers / simple&quick withdrawal
Stars: ✭ 37 (-9.76%)
Mutual labels:  dapp, ethereum-dapp
Simple-Game-ERC-721-Token-Template
🔮 Very Simple ERC-721 Smart Contract Template to create your own ERC-721 Tokens on the Ethereum Blockchain, with many customizable Options 🔮
Stars: ✭ 83 (+102.44%)
Mutual labels:  blockchain-technology, solidity-contracts
ethereum-dapp-ipfs-node.js-mongodb
以太坊开发DApp实战教程——用区块链、星际文件系统(IPFS)、Node.js和MongoDB来构建电商平台
Stars: ✭ 46 (+12.2%)
Mutual labels:  dapp, ethereum-dapp
poa-faucet
POA Network faucet
Stars: ✭ 39 (-4.88%)
Mutual labels:  dapp, ethereum-dapp
svelte-box
A truffle box for svelte
Stars: ✭ 60 (+46.34%)
Mutual labels:  dapp, ethereum-dapp
readme
The Blockchain Bible,a collections for blockchain tech,bitcoin,ethereum,crypto currencies,cryptography,decentralized solutions,business scenarios,hyperledger tech,meetups,区块链,数字货币,加密货币,比特币,以太坊,密码学,去中心化,超级账本
Stars: ✭ 46 (+12.2%)
Mutual labels:  blockchain-technology, ethereum-dapp
DCLib
⚙️ DApp toolkit
Stars: ✭ 12 (-70.73%)
Mutual labels:  dapp, ethereum-dapp
Golden Wallet React Native
Golden - Best Wallet Ever
Stars: ✭ 201 (+390.24%)
Mutual labels:  dapp, ethereum-dapp
crypto-against-humanity
Crypto Against Humanity - The never ending global game of shame.
Stars: ✭ 23 (-43.9%)
Mutual labels:  dapp, ethereum-dapp

OPEN Platform API Twitter Follow

Release Version Release Date Last Commit Contributors License

This API is running on https://api.openfuture.io.

Documentation is available at https://docs.openfuture.io.

Running the application

Environment Variables

The OPEN Platform API uses several environment variables. All variables are required.

Google service

  • GOOGLE_CLIENT_ID
  • GOOGLE_CLIENT_SECRET

These environment variables are required for your app to utilize OAuth 2.0. To get started using the Gmail API, you need to first use the setup tool, to register your application for the Gmail API in the Google API Console. The setup tool will guide you through creating a project in the Google API Console, enabling the API, and creating authentication credentials. The setup process is easy and consists of the following three basic steps:

  1. On the Credentials page, click My Project and select the project you want to use.
  2. If you plan to create an OAuth client ID, click on the OAuth consent screen tab at the top of the Credentials page and fill out the form. You will need it in step 5.
  3. Click on the Credentials tab at the top of the Credentials page.
  4. Click the Create credentials button. From the drop-down list, select OAuth client ID if you want to create OAuth 2.0 credentials or select Service account key to create a service account.
  5. If you chose to create an OAuth client ID, select your application type (e.g. Web application, iOS app, etc.). Otherwise, go to step 6.
  6. Fill out the form and click the Create button.

Your application's client IDs and service account keys are now listed on the Credentials page. You can click on the client ID to see the details for this account. Depending on the type of ID you created, you may see your email address, the client secret key, JavaScript origins, or the redirect URIs. Add the required information to your GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET environment variables.

PostgresSQL service

  • POSTGRES_HOST

Configure the POSTGRES_HOST environment variable to point to the host where you are running your PostgresSQL server. This is required to connect your application to the database.

  • POSTGRES_DB

Add the name of your PostgreSQL database to the POSTGRES_DB environment variable. This lets the application know which database to connect to.

  • POSTGRES_USER & POSTGRES_PASSWORD

Set the POSTGRES_USER environment variable with the username you want to use to connect to the database. Set the POSTGRES_PASSWORD environment variable that user's password. Using environment variables to configure user authentication to your database is more secure than placing this configuration in your code. NOTE: The user you specify in these two environment variables should be a superuser, otherwise you will run into problems.

Ethereum client service

In order to begin working with the Ethereum blockchain you will need to install a client, such as Parity or Geth. Here is a brief description of the advantages of each:

Parity
  • Written in Rust.
  • Includes a pruning algorithm to prevent hard drive usage from growing exponentially.
  • Includes an easy-to-use browser-based GUI.
  • Implements passive-mode, which reduces the load on your CPU and network.
  • Warp sync allows you to sync your node from scratch in a matter of hours, as opposed to days.
  • Uses the Kovan test network to help you test your application.
  • More feature-complete than Geth.
Geth
  • Written in Go.
  • Considered to be the reference implementation of Ethereum.
  • Uses the Rinkeby test network to help you test your application.

NOTE: Both Parity and Geth can be installed on macOS via Homebrew. Ubuntu users can install Parity via apt. Please check to see if binary packages are available for your OS.

  • INFURA_URL

The INFURA_URL environment variable should be set to the IP address of your local machine and should include the port the service is running on. For example, http://10.150.0.4:8545

  • ETHEREUM_PRIVATE_KEY

In order to use the Ethereum blockchain you need to create a wallet. A private key will be created as part of the wallet-creation process. You will need to include your private key in the ETHEREUM_PRIVATE_KEY environment variable in order for the system to be able to communicate with your wallet.

  • OPEN_TOKEN_ADDRESS

Before working in the app you need to create a smart contract within Ethereum. After creating a smart contract, you will receive an OPEN_TOKEN_ADDRESS. You will need to set the OPEN_TOKEN_ADDRESS to include this token in order for the system to check client transfers.

Open State
  • OPEN_STATE_URL

You will need to set this variable in order to tract wallet state and get notifications to your webhook on transaction events. NOTE: At the end of Open State IP address should be added /api path. For example, http://localhost:8545/api

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].