Thanks to visit codestin.com
Credit goes to github.com

Skip to content

hwlsniper/aion_web3

 
 

Repository files navigation

Aion Compatible Web3

About

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

Requirements

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
gulp build

or

npm install --save aion-web3

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:
        include dist/web3.min.js in your html file
  • Node use:
    var Web3 = require('aion-web3')
    var web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545"));
    

Application Development

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

About

aion web3 api.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 99.2%
  • Other 0.8%