Aion flavoured Web3 Javascript API
Branch: v1.1
Clone or download
aion-kelvin Merge pull request #67 from aionnetwork/is-addr-fix
Make utils.isAddress more strict (must start with a0 unless known special address)
Latest commit d8bffb9 Jan 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
docs Merge ethereum web3 changes Sep 10, 2018
integ_test fix send_raw_transaction integration test. it was broken by a commit … Jan 8, 2019
packages utils.isAddress - return false if address doesn't start with a0, unle… Jan 8, 2019
test utils.isAddress - return false if address doesn't start with a0, unle… Jan 8, 2019
.gitignore
.jshintignore aion-rlp moved out to other repo Sep 10, 2018
.npmignore Merge ethereum web3 changes Sep 10, 2018
.versions development files supporting aion Sep 10, 2018
Jenkinsfile
LICENSE initial import based on Chris's porting from web3. Feb 1, 2018
README.md
console.js console.js fix Nov 16, 2018
gulpfile.js build browser version Sep 10, 2018
index.js fix browserify npm script Nov 13, 2018
lerna.json v1.1.3 Dec 12, 2018
mocha.opts easier testing Sep 10, 2018
package-init.js initial import based on Chris's porting from web3. Feb 1, 2018
package-lock.json version bump + fix dependencies among aion-web3-* packages Dec 12, 2018
package.js
package.json removed library fix Dec 5, 2018

README.md

Aion Compatible Web3

About

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

Requirements

  • Node.js (recommended version: 10.x+)
    Download: https://nodejs.org/en/download/
    Check version by running node -v in a terminal.

  • npm (recommended version: 6.x+)
    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

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')
    var web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545"));
    

Documentation

For API reference and tutorials, please consult our official documentation.