- node.js installed (>=18.17.0)
- typescript installed (developed on v5.3.3)
- yarn
- Web3 Wallet installed in your browser
Fork this repository by:
- Clicking in the arrow aside from the
fork - Unmark the option
Copy the main branch only - Click
Create fork
Open the VsCode or other IDE editor, and enter the following command in the cmd:
git clone https://github.com/YourUserName/gap-app-v2.gitInstall all package dependencies by running:
yarn install- Copy the
.env.examplefile and paste it in the root directory - Remove the
.examplefrom the.env.examplefile name - Add your API keys in the
.envfile - Creating the keys to fulfill the
.envfile- ALCHEMY_KEY: Follow this tutorial of the Alchemy Docs and fill the following keys:
NEXT_PUBLIC_ALCHEMY_KEY(use base sepolia for this one),NEXT_PUBLIC_RPC_OPTIMISM,NEXT_PUBLIC_RPC_ARBITRUM,NEXT_PUBLIC_RPC_SEPOLIAandNEXT_PUBLIC_RPC_OPTIMISM_SEPOLIA - PROJECT_ID: Create your account in this link and follow the instructions to generate a key
- NEXT_PUBLIC_MIXPANEL_KEY: Create your account in this and follow this tutorial
- ALCHEMY_KEY: Follow this tutorial of the Alchemy Docs and fill the following keys:
First, run the development server:
yarn run devOpen http://localhost:3000 with your browser.