Skip to content

Luiyit/really-easy-web3

Repository files navigation

Really easy Web3

This package simplifies the interactions of web3 applications with smart contracts and the Ethereum blockchain.

The package implements a series of providers, hooks and utils to handle the basic and common web3's stuff. You only need to take care of the business logic of your application.

Installation / ES6 import

Add it into your package.json.
npm i really-easy-web3

Import it in your project.
import * as rsw3 from 'really-easy-web3'.
import { ... } from 'really-easy-web3'

Dependencies

  • Ethers: A complete Ethereum wallet implementation and utilities in JavaScript (and TypeScript).

What this package includes

Accounts providers

Contact providers

Custom contract interface

Event lister

Todo

  • When no account connected WEB3 provider gets error
  • Finish the readme.md 😛
  • Exclude .map from production build
  • Use ethers like devDependency
  • change targetNetworkId to targetChainId => hexadecimal formal
  • Do not auto change network before the wallet is connected!
  • Check if metamask is not installed and prevent errors
  • Coming soon...

About

Wrapper to use ethereum and ether packages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published