Socket
Socket
Sign inDemoInstall

aion-web3

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aion-web3 - npm Package Compare versions

Comparing version 0.0.3 to 1.1.0

src/index.js

107

package.json
{
"name": "aion-web3",
"namespace": "aion",
"version": "0.0.3",
"description": "aion js api",
"main": "./index.js",
"directories": {
"lib": "./lib"
},
"browser": {
"xmlhttprequest": "./lib/utils/browser-xhr.js"
},
"dependencies": {
"bignumber.js": "git+https://github.com/MikeMcl/bignumber.js.git",
"crypto-js": "*",
"utf8": "*",
"xhr2": "*",
"xmlhttprequest": "*",
"request": "*",
"moment": "*"
},
"devDependencies": {
"browserify": "*",
"exorcist": "*",
"del": "*",
"gulp": "*",
"gulp-jshint": "*",
"gulp-rename": "*",
"gulp-streamify": "*",
"gulp-uglify": "*",
"gulp-replace": "*",
"jshint": "*",
"vinyl-source-stream": "*",
"colors": "*",
"repl": "*",
"chai": "*",
"mocha": "*",
"gulp-tar": "*",
"gulp-gzip": "*"
},
"scripts": {
"build": "gulp build",
"watch": "gulp watch",
"lint": "jshint *.js lib"
},
"repository": {
"type": "git",
"url": "https://github.com/aionnetwork/aion_web3.git"
},
"homepage": "https://github.com/aionnetwork/aion_web3",
"version": "1.1.0",
"description": "Aion JavaScript API",
"repository": "https://github.com/aionnetwork/aion_web3/tree/master/packages/web3",
"license": "LGPL-3.0",
"main": "src/index.js",
"bugs": {

@@ -55,15 +13,52 @@ "url": "https://github.com/aionnetwork/aion_web3/issues"

"keywords": [
"aion",
"javascript",
"api"
"Aion",
"JavaScript",
"API"
],
"author": "aionnetwork",
"authors": [
"author": {
"name:": "Aion Network",
"url": "https://aion.network/"
},
"contributors": [
{
"name": "chris",
"email": "aion.6368726973@gmail.com",
"url": "https://github.com/aion-6368726973"
"name": "Kelvin Lam",
"email": "kelvin@aion.network"
},
{
"name": "Tony Crowe",
"email": "github@tonycrowe.com"
},
{
"name": "Fabian Vogelsteller",
"email": "fabian@ethereum.org",
"homepage": "http://frozeman.de"
},
{
"name": "Marek Kotewicz",
"email": "marek@parity.io",
"url": "https://github.com/debris"
},
{
"name": "Marian Oancea",
"url": "https://github.com/cubedro"
},
{
"name": "Gav Wood",
"email": "g@parity.io",
"homepage": "http://gavwood.com"
},
{
"name": "Jeffery Wilcke",
"email": "jeffrey.wilcke@ethereum.org",
"url": "https://github.com/obscuren"
}
],
"license": "LGPL-3.0"
"dependencies": {
"aion-web3-core": "1.1.0",
"aion-web3-eth": "1.1.0",
"aion-web3-eth-personal": "1.1.0",
"aion-web3-net": "1.1.0",
"aion-web3-utils": "1.1.0"
},
"gitHead": "b9adc81c487ef3be6e4a1cac9827b6224b61a95e"
}

@@ -1,55 +0,15 @@

# Aion Compatible Web3
# aion-web3
## About
This project contains tools for using the Web3 application programming interface on top of the Aion network.
This is a main package of [aion_web3][repo]
## Requirements
Please read the [documentation](https://docs.aion.network/docs/web3) for more information.
* **Node.js** version 8.9.1 <br/>
Download: https://nodejs.org/en/download/ <br/>
Check version by running `node -v` in a terminal.
## Installation
* **npm** version 5.5.1 <br/>
Typically included with node installation. <br/>
Check version by running `npm -v` in a terminal.
### Node.js
* **gulp** version 3.9.1 <br/>
Installation: https://github.com/gulpjs/gulp/blob/master/docs/getting-started.md <br/>
Check version by running `gulp -v` in a terminal.
**Note:** Other versions may work, but have not been thoroughly tested at present.
## Setup
```bash
git clone https://github.com/aionnetwork/aion_web3
cd aion_web3
npm install
gulp build
npm install aion-web3
```
or
```bash
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](https://github.com/aionnetwork/aion_web3/wiki).
* Web use:<br>
&nbsp;&nbsp;&nbsp;&nbsp;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
```js
var coinbase = web3.eth.coinbase;
var balance = web3.eth.getBalance(coinbase);
```
[repo]: https://github.com/aionnetwork/aion_web3
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc