web3-oly
v1.0.0
Published
A web3 utils for olympus.
Downloads
2
Readme
web3-olympus
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.