@akashaproject/geth-connector
TypeScript icon, indicating that this package has built-in type declarations

1.8.19 • Public • Published

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))

Package Sidebar

Install

npm i @akashaproject/geth-connector

Weekly Downloads

11

Version

1.8.19

License

MPL-2.0

Unpacked Size

65 kB

Total Files

18

Last publish

Collaborators

  • mariusdarila
  • mihaialisie