docs(auth): ensure auth dapp/wallet readmes are relevant (#63)
* docs(auth): update wallet readme * docs(auth): update dapp readme
This commit is contained in:
@@ -1,9 +1,39 @@
|
||||
# Auth Client JS demo
|
||||
# React Auth dApp (React, Typescript, Next.js, Ethers)
|
||||
|
||||
This is a demo for the auth client
|
||||
🔗 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
|
||||
|
||||
# Commands
|
||||
## Overview
|
||||
|
||||
`npm run dev` for development mode
|
||||
`npm run build` for building the application
|
||||
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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user