@akashaproject/geth-connector

Package used by AKASHA to manage geth/web3


Keywords
geth, ethereum, akasha, web3
License
MPL-2.0
Install
npm install @akashaproject/geth-connector@1.8.19

Documentation

geth-connector

Build Status Coverage Status npm Known Vulnerabilities

Description

This is a package created and used by AKASHA to manage geth/web3.js.

Docs

The API docs can be found here.

Installation

npm install @akashaproject/geth-connector --save

Usage

import {gethHelper, GethConnector} from '@akashaproject/geth-connector'
const instance = GethConnector.getInstance(); // get the Singleton Service
/**
* {status}
* [] => synced
* [x] => finding peers
* [x, y] => synchronizing
*/
gethHelper.inSync().then(status =>  console.log(status))