deb123f283
* restructure * udpate readme links
40 lines
847 B
Markdown
40 lines
847 B
Markdown
# React Auth dApp (React, Typescript, Next.js, Ethers)
|
|
|
|
🔗 Live dapp demo - https://react-auth-dapp.walletconnect.com/ <br />
|
|
🔗 Live wallet demo - https://react-auth-wallet.walletconnect.com/ <br />
|
|
📚 WalletConnect v2 Docs - https://docs.walletconnect.com/2.0
|
|
|
|
## Overview
|
|
|
|
This example aims to demonstrate dapp-facing use cases enabled by WalletConnect Auth Alpha.
|
|
|
|
## Running locally
|
|
|
|
Install the app's dependencies:
|
|
|
|
```bash
|
|
npm i
|
|
```
|
|
|
|
Set up your local environment variables by copying the example into your own `.env.local` file:
|
|
|
|
```bash
|
|
cp .env.local.example .env.local
|
|
```
|
|
|
|
Your `.env.local` now contains the following environment variables:
|
|
|
|
- `NEXT_PUBLIC_PROJECT_ID` (placeholder) - You can generate your own ProjectId at https://cloud.walletconnect.com
|
|
|
|
## Develop
|
|
|
|
```bash
|
|
npm run dev
|
|
```
|
|
|
|
## Build
|
|
|
|
```bash
|
|
npm run build
|
|
```
|