DAPP development framework with react.js

useWeb3

DAPP development framework with react.js

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

GitHub

View Github