@mikelockzrimble/network-indicator

0.0.14-alpha.0 • Public • Published

Rimble Network Indicator - current network Rimble Network Indicator - wrong network

@rimble/network-indicator

Web3 React component built with Rimble UI that will display the current ethereum network name based on a given network ID.

Installation

Install the package in your project directory with:

// with npm
npm install @rimble/network-indicator

// with yarn
yarn add @rimble/network-indicator

Usage Example

import NetworkIndicator from '@rimble/network-indicator';

<NetworkIndicator currentNetwork={3} requiredNetwork={1} />;

Props

Name Type Default Description
currentNetwork integer none The network ID that the user is connected to, if available
requiredNetwork integer none The network ID that the dApp requires to function

Documentation

Documentation

Issues

Open an issue for any bugs or feature requests

Contributing

We are open source and welcome your contributions !

License

MIT © ConsenSys

Package Sidebar

Install

npm i @mikelockzrimble/network-indicator

Weekly Downloads

0

Version

0.0.14-alpha.0

License

MIT

Unpacked Size

19.5 kB

Total Files

5

Last publish

Collaborators

  • mikelockz