@w3u/useweb3
TypeScript icon, indicating that this package has built-in type declarations

0.1.7 • Public • Published

useWeb3

NPM JavaScript Style Guide

Install

# Use yarn
yarn add @w3u/useweb3

# Use npm
npm install --save @w3u/useweb3

Usage

import React  from 'react'
import { Web3Provider } from '@w3u/useWeb3'

ReactDOM.render(
  <React.StrictMode>
    <Web3Provider
      config={{
        supportedChainIDs: [1, 56]
      }}
    >
      <App />
    </Web3Provider>
  </React.StrictMode>,
  document.getElementById('root')
)

License

MIT © w3u

/@w3u/useweb3/

    Package Sidebar

    Install

    npm i @w3u/useweb3

    Weekly Downloads

    0

    Version

    0.1.7

    License

    MIT

    Unpacked Size

    132 kB

    Total Files

    31

    Last publish

    Collaborators

    • forever9