abcdeweb3

1.0.0-beta-23 • Public • Published

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

sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm
sudo npm install lerna bootstrap

Dependencies (0)

    Dev Dependencies (29)

    Package Sidebar

    Install

    npm i abcdeweb3

    Weekly Downloads

    27

    Version

    1.0.0-beta-23

    License

    LGPL-3.0

    Unpacked Size

    659 kB

    Total Files

    98

    Last publish

    Collaborators

    • aqeelkazmi