From 77589becd1d1f84ec572a1fe9827b561b17ce9c1 Mon Sep 17 00:00:00 2001 From: sarah z <15064710+sarahzdev@users.noreply.github.com> Date: Fri, 25 Aug 2023 13:39:37 -0700 Subject: [PATCH] docs: update lit-connect-modal demo readme Signed-off-by: sarah z <15064710+sarahzdev@users.noreply.github.com> --- apps/demo-lit-connect-modal-next/README.md | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/apps/demo-lit-connect-modal-next/README.md b/apps/demo-lit-connect-modal-next/README.md index 9cd9526bc5..3a64ad1012 100644 --- a/apps/demo-lit-connect-modal-next/README.md +++ b/apps/demo-lit-connect-modal-next/README.md @@ -6,14 +6,24 @@ When the function is called, it prompts a wallet selection pop-up in the user's ## 💻 Getting Started -First, run the development server: +1. Clone this repo, navigate to the project folder, and install the dependencies: + +```bash +cd apps/demo-lit-connect-modal-next + +npm install +``` + +2. Create a `.env.local` file and add your WalletConnect project ID. You can get one by visiting [WalletConnect](https://cloud.walletconnect.com/sign-in). + +```bash +NEXT_PUBLIC_WC_PROJECT_ID="" +``` + +3. Start your development server: ```bash npm run dev -# or -yarn dev -# or -pnpm dev ``` -Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. \ No newline at end of file +4. Visit [http://localhost:3000](http://localhost:3000) to start playing with the app.