Giter VIP home page Giter VIP logo

elcoin-server-side-examples's Introduction

Elcoin Server Side Examples

Installation

npm install

Configuration

Specify private key of sender account in the config.js.

Information

Elcoin is a smart contract, built using Ethereum cryptocurrency network and Solidity programming language.

This repository provides an examples of integration with the contract and ethereum for ruby and php.

The main problem with integrating ethereum smart contract with anything that is not written in JavaScript is that to execute any smart contract function you need web3 library, which was implemented only in javascript.

Unless your applicadtion is written in NodeJS you end up with necessity to run additional nodejs microservice to interact with Ethereum.

For the sake of simplicity this examples use "cgi-bin" approach. It will work properly only when sending no more than 1 transaction per block. We recommend setting an artificial limit to 1 tx per 70 seconds if you are not keeping track of ethereum address nonce.

If you anticipate a higher volume of outgoing transactions - please research web3 and implement nodejs microservice for sending transactions.

Useful Links

  1. Contract source code
  2. Transaction notifications service

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.