alsco77 / web3-service-lib

Angular web3 wrapper for interaction with injected provider on Ethereum network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Web3ServiceLib

npm version

Overview

Usage

Check out the basic example:

  • npm install
  • npm start
  • Check out localhost:4200 in your browser to make a basic ETH transaction on the current network

Installation

  • Run npm i web3-service-lib
  • In your app.module.ts:
import { Web3ServiceModule } from 'web3-service-lib';


  imports: [
    BrowserModule,
    Web3ServiceModule.forRoot()
  ],
 
  • Then, to interact with the ETH.service

Usage

Enums and subscriptions

Transactions

Complete Example

Running the Example App

About

Angular web3 wrapper for interaction with injected provider on Ethereum network

License:MIT License


Languages

Language:TypeScript 84.7%Language:JavaScript 13.0%Language:HTML 2.0%Language:CSS 0.3%