Skip to main content

Installation

Requirements

Before you begin, ensure that your computer has the following software installed.

Installation

For getting started with the template you have to follow the below procedure:

  1. 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
  1. 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.