Quickstart

Browseth quickstart for those already familiar with Ethereum development. New to Ethereum? Check out the getting-started.


Installation

From your project directory:

yarn add browseth

Import inside relevant project files:

import Browseth from 'browseth'

Initializing Browseth

Initialize Browseth with an Ethereum RPC url or web3 instance.

By default, Browseth uses http://localhost:8545.

const beth = new Browseth("https://mainnet.infura.io")
// or
const beth = new Browseth(window.web3)