Ecosyste.ms: Awesome
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 days ago
JSON representation
A React context for using web3modal + ethers.js in a dapp
- Host: GitHub
- URL: https://github.com/tripplyons/use-ethers-modal
- Owner: tripplyons
- License: mit
- Created: 2022-06-10T04:34:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-10T19:03:25.000Z (over 2 years ago)
- Last Synced: 2024-10-31T19:54:36.743Z (15 days ago)
- Language: JavaScript
- Size: 387 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.