Skip to content

crisgarner/web3-connector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web3 Connector.

This is a simple component that I created in order to reuse for personal projects. Then component uses the ConsenSys Rimble UI System to add design to the Web3-React Library created by @Noah Zinsmeister.

🚧🚧🚧 Notice 🚧🚧🚧

We are currently working with many community members on a "plug and use" component in the following repo https://github.com/web3connect/web3connect

Preview Image

Requirements

Usage

In this example we use the web3.js configuration for web3-react.

  1. Run npm install.

  2. Edit the connectors.js with the information of the providers you want to support (read the web3-react documentation).

  3. Create a Web3Provider in the root of your App.js.

<Web3Provider connectors={connectors} libraryName={"web3.js"} web3Api={web3}>
  <h1>Hello World</h1>
</Web3Provider>
  1. Add the ConnectWallet component where you need to login a user:
<Web3Provider connectors={connectors} libraryName={"web3.js"} web3Api={web3}>
  <ConnectWallet />
</Web3Provider>
  1. Edit the ConnectWallet.js to reflect your won dApp once logged in.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published