Giter Site home page Giter Site logo

aion_web3's Introduction

Aion Compatible Web3

About

This project contains tools for using the Web3 application programming interface on top of the Aion network.

Requirements

  • Node.js version 8.9.1
    Download: https://nodejs.org/en/download/
    Check version by running node -v in a terminal.

  • npm version 5.5.1
    Typically included with node installation.
    Check version by running npm -v in a terminal.

Note: Other versions may work, but have not been thoroughly tested at present.

Setup

git clone https://github.com/aionnetwork/aion_web3
cd aion_web3
npm install

or

npm install --save aion-web3-core

API Use

This application programming interface can be used to perform different operation on the Aion blockchain. Some example uses cases are available in the project wiki.

  • Web use:
        Run npm run browserify to produce dist/web3.min.js and include it in your html file
  • Node use:
    var Web3 = require('aion-web3-core')
    var web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545"));
    

Application Development

var coinbase = web3.eth.coinbase;
var balance = web3.eth.getBalance(coinbase);

aion_web3's People

Contributors

aion-6368726973 avatar aion-jin avatar aion-kelvin avatar alexandraroatis avatar ali-sharif avatar arajasek avatar cybercoder2009 avatar erik-iglikov avatar qoire avatar tcrowe avatar williamzhai avatar

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.