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

0.5.0 • Public • Published

@dapp-stack/ethereum

This package allows you to start/stop a private node or connect to an existing network.

Installation

# Yarn
yarn add @dapp-stack/ethereum

# NPM
npm install @dapp-stack/ethereum

Usage

import * as ethereum from "@dapp-stack/ethereum";

ethereum.start("rinkeby")
ethereum.stop("rinkeby")
ethereum.console("rinkeby")

The network must be one of the following: homestead, rinkeby, ropsten, kovan, dev or external

external is considered as a noop.

If you call the function ethereum.start, ethereum.stop or ethereum.console without any arguments, we will try to fetch the network from the environment file at:

environments/[DAPP_ENV].js

See: Environment for more detail.

Package Sidebar

Install

npm i @dapp-stack/ethereum

Weekly Downloads

2

Version

0.5.0

License

Apache-2.0

Unpacked Size

39.1 kB

Total Files

40

Last publish

Collaborators

  • john-solon