Skip to content

elementrem/web3.js

Repository files navigation

#Elementrem web3.js

web3.js is more comfortable & full feature calling the library that Elementrem JSON RPC.
web3.js is very useful when you implement the JavaScript based on Dapp or service.
Elementrem Mist Wallet and Block Explorer is also implemented in web3.js.

Install

Prerequisite

  • Node.js
    Ubuntu, for instance
    curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
    sudo apt-get install -y nodejs
    sudo npm install npm -g
    sudo apt install node-gyp

  • bower
    Ubuntu, for instance
    sudo npm install -g bower

Install

$ git clone https://github.com/elementrem/web3.js
$ git checkout master
$ cd web3.js
$ npm install
$ npm test
...
....
.....
      ✓ sync test: 0
      ✓ async test: 0
      ✓ sync test: 1
      ✓ async test: 1


  630 passing (712ms)

If that does not npm test passing, Make sure your git branch is master.