refactor: README.md

refactor: README.md

diff --git a/README.md b/README.md
index 9d5fbb0..0a25e5b 100644
--- a/README.md
+++ b/README.md
@@ -9,13 +9,12 @@ This is the implementation of Allowlist Paymaster, a paymaster that allows a lis
 -   [Features](#features)
 -   [Doubts](#doubts)
 
-
 ## Installation
 
 Clone the repo
 
 `‍``bash
-git clone https://github.com/celo-academy/erc-4337-custom-paymaster.git
+git clone https://github.com/celo-academy/allowlist-paymaster-dapp.git
 `‍``
 
 Install dependencies
@@ -28,6 +27,9 @@ yarn install
 
 ### Step 1: Deploy the AllowlistPaymaster
 
+#### `.env` setup in `packages/hardhat`
+
+-   Go to `packages/hardhat` folder
 -   Create a `.env` file and copy the contents of `.env.example` into it
 -   Get the Private Key of the owner of the Paymaster and place it in the `.env` file
 -   Open the file `scripts/deploy.js`, Entrypoint are frequently upgraded make sure the variable `ENTRYPOINT_ADDRESS` has the correct value
@@ -37,12 +39,18 @@ yarn install
 npx hardhat run scripts/deploy.js --network alfajores
 `‍``
 
--   Copy the paymaster address that you get in the terminal, this is the value for `ALLOWLIST_PAYMASTER_ADDRESS`
--   Get `THIRDWEB_API_KEY` from the [ThirdWeb](https://thirdweb.com/settings) Dashboard
--   Place the key in `.env` file
--   Replace variables `PAYMASTER_OWNER` (this is the public key corresponding the private key of the paymaster owner), and `ALLOWLIST_PAYMASTER_ADDRESS` with the values you have
+### Step 2: Start the App
+
+#### `.env` setup in `packages/react-app`
+
+-   Copy the paymaster address that you get in the terminal, this is the value for `ALLOWLIST_PAYMASTER_ADDRESS` in `packages/react-app/paymaster/index.js`
+-   Create a `.env` file in `packages/react-app` and copy the contents of `.env.example` in `packages/react-app` into it
+-   Get `NEXT_PUBLIC_THIRDWEB_API_KEY` from the [ThirdWeb](https://thirdweb.com/settings) Dashboard
+-   Place the key in `.env` file in `packages/react-app`
+-   Get `NEXT_PUBLIC_WC_PROJECT_ID` from WalletConnect dashboard
+-   `PAYMASTER_SIGNER_KEY` is the same as the private key of the owner that you put in `.env` in `packages/hardhat`
 
-To run the transaction script and perform a `UserOperation` use the following command
+To run the app
 
 `‍``bash
 yarn dev
@@ -50,7 +58,7 @@ yarn dev
 
 Optional:
 
-You can verify the paymaster by using your Celoscan key in `.env` file and use the following command
+You can verify the paymaster by using your Celoscan key in `.env` in `packages/hardhat` folder and use the following command
 
 `‍``bash
 npx hardhat verify [PAYMASTER_ADDRESS] [ENTRYPOINT_ADDRESS] [PAYMASTER_OWNER_ADDRESS] --network alfajores
@@ -58,7 +66,7 @@ npx hardhat verify [PAYMASTER_ADDRESS] [ENTRYPOINT_ADDRESS] [PAYMASTER_OWNER_ADD
 
 ## Features
 
--   Customize the `allowList` in `index.js` to allow sponsorship of smart accounts by the paymaster
+-   Customize the `allowList` in `index.js` in `packages/react-app/paymaster` to allow sponsorship of smart accounts by the paymaster
 
 ## Doubts
 

GitHub
sha: 02b23e35be5f7decd26c9b87c497dfb5927263a1

1 Like