@uprtcl/ethereum-provider

v0.0.7-alpha.32
_Prtcl provider wrappers around web3
service provider backend websocket web3 holochain

@uprtcl/ethereum-provider

This node package includes basic _Prtcl provider wrappers around web3. These services include standard funcionality like a retry mechanism, or a ready() function to wait for them to be ready.

Documentation

Visit our documentation site.

Install

npm install @uprtcl/ethereum-provider

Usage

Import the appropriate connection you would like to use, and make a new instance of it by passing its configuration:

import { EthereumConnection } from '@uprtcl/ethereum-provider';

const ethConnection = new EthereumConnection({
  provider: provider,
  contractAbi: myContractAbi
});

await ethConnection.ready();
npm i @uprtcl/[email protected]

Metadata

  • MIT
  • >=10.0.0
  • Unknown
  • released 6/4/2020

Downloads