@uprtcl/ethereum-provider
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

@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();

Package Sidebar

Install

npm i @uprtcl/ethereum-provider

Homepage

uprtcl.io

Weekly Downloads

4

Version

0.2.1

License

MIT

Unpacked Size

36.5 kB

Total Files

17

Last publish

Collaborators

  • guillem.cordoba
  • pepoospina
  • sotous