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

0.5.0 • Public • Published

@dapp-stack/connect

This package allows to connect to ethereum network.

Installation

# Yarn
yarn add @dapp-stack/connect

# NPM
npm install @dapp-stack/connect

Usage

import { connect } from "@dapp-stack/connect";

const provider = connect("homestead")

The network argument can be one of the following:

  • homestead
  • rinkeby
  • ropsten
  • kovan
  • dev
  • external

If dev or external it will try to connect using: http://localhost:8545

otherwise we will use infura.

Package Sidebar

Install

npm i @dapp-stack/connect

Weekly Downloads

1

Version

0.5.0

License

Apache-2.0

Unpacked Size

8.6 kB

Total Files

10

Last publish

Collaborators

  • john-solon