abcdeweb3
v1.0.0-beta-23
Published
ABCDe JavaScript API wrapper repository
Downloads
10
Maintainers
Readme
PREVIEW RELEASE This is a copy of original web3, changed as per ABCDe requirements!
ABCDeweb3.js - ABCDe JavaScript API
You need to run a local or remote ABCDe node to use this library.
Installation
Node
npm install abcdeweb3@latest
Usage
// in node.js
var ABCDeWeb3 = require('abcdeweb3');
var ABCDeweb3 = new ABCDeWeb3('ws://localhost:8546');
console.log(ABCDeweb3);
Additionally you can set a provider using ABCDeweb3.providers.HttpProvider()
const ABCDeWeb3 = require('abcdeweb3');
const ABCDeweb3 = new ABCDeWeb3(new ABCDeWeb3.providers.HttpProvider('http://13.229.152.61:8501'));
There you go, now you can use it:
ABCDeweb3.eth.getAccounts()
.then(console.log);
Building
Requirements
- Node.js
- npm
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm
sudo npm install lerna bootstrap