An open API service indexing awesome lists of open source software.

https://github.com/tripplyons/use-ethers-modal

A React context for using web3modal + ethers.js in a dapp
https://github.com/tripplyons/use-ethers-modal

Last synced: 8 months ago
JSON representation

A React context for using web3modal + ethers.js in a dapp

Awesome Lists containing this project

README

          

# use-ethers-modal

A [React](https://github.com/facebook/react) context for using [ethers.js](https://github.com/ethers-io/ethers.js/) + [web3modal](https://github.com/Web3Modal/web3modal) in a dapp

## Installation

```sh
npm install --save use-ethers-modal
```

## React Usage

See [example-app/src/App.js](example-app/src/App.js) for example usage.

## Next.js Usage

Right now, you will need to use [`next-transpile-modules`](https://github.com/martpie/next-transpile-modules) to use this in a Next.js project. If someone knows a better way to do this, please let me know.