1.0.0 • Published 1 year ago

web3-oly v1.0.0

Weekly downloads
-
License
LGPL-3.0
Repository
github
Last release
1 year ago

web3-olympus

NPM Package

This is a javascript package of Olymplus with useful rpc interface.

Please read the documentation for more.

Installation

You can install the package either using NPM or using Yarn

Using NPM

npm install web3-olympus

Using Yarn

yarn add web3-olympus

Usage

const Olympus = require('web3-olympus');

const provider = 'https://dev-rpc.oortech.com';

const olympusRequest = new Olympus(provider);

// such as get block detail
olympusRequest.block(blockHash).then(r => console.log(r));

Types

All the TypeScript typings are placed in the types folder.