Installation
Requirements
Before you begin, ensure that your computer has the following software installed.
nodejs
(20.16.0 or later) https://nodejs.org/enpnpm
Node package manager https://pnpm.io/ (recommended)Visual Studio Code
https://code.visualstudio.com/ (recommended)
Installation
For getting started with the template you have to follow the below procedure:
- Create a .env file in the root directory of the project and add the following environment variables.
warning
Without the NEXT_PUBLIC_CRYPTO_PROJECT_ID
environment variable, the project will not work.
You can get an ID from Web3Modal.
NEXT_PUBLIC_CRYPTO_PROJECT_ID=YOUR_WEB3_MODAL_PROJECT_ID
- Run the following commands in the terminal.
pnpm install
This will add all the necessary dependencies and dev-dependencies.
pnpm dev
This will start the server at http://localhost:3000. Open http://localhost:3000 to view it in the browser.