swarmcity / eth-connect

A web component that exposes ethjs and connects to the provided http provider

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

<eth-connect>

A web component that exposes ethjs and connects to the provided http provider

Install the Polymer-CLI

First, make sure you have the Polymer CLI and npm (packaged with Node.js) installed. Run npm install to install your element's dependencies, then run polymer serve to serve your element locally.

Install eth-connect

$ npm install eth-connect

Viewing Your Element

$ polymer serve

Running Tests

$ polymer test

Import

$ import 'eth-connect';

Basic Use

<eth-connect  
    eth="{{eth}}"
    http-provider="https://ropsten.infura.io">
</eth-connect>

About

A web component that exposes ethjs and connects to the provided http provider


Languages

Language:HTML 100.0%