ENV File

Env configuration for athena-web frontend repository

To run this project, you will need all the variable specified in the .env file.

To configure various aspects of Athena, you need to set up environment variables. These variables are used to define URLs, addresses, and other settings needed for the proper functioning of the application.

Create a .env file in your project's root directory and add the required variables along with their values. Here's a sample .env file:

  • VITE_APP_BACKEND_URL="The URL of the backend server"

  • VITE_APP_RPC_URL: "The URL for the RPC connection."

  • VITE_APP_FACTORY_ADDRESS: "The address of the factory contract."

  • VITE_APP_ADDRESS_IDO_POOL: "The address for the IDO pool."

-VITE_APP_ADDRESS_ATH_TOKEN: "The address for the ATH token."

  • VITE_APP_ADDRESS_QUEUE_INFO: "The address for queue information."

  • VITE_APP_ADDRESS_ATH_STAKING: "The address for ATH staking."

  • VITE_APP_ADDRESS_ATHENA_LAUNCHPAD_INFO: "The address for Athena launchpad information."

  • VITE_APP_ADDRESS_ATH_REFERRAL: "The address for ATH referral."

  • VITE_APP_ADDRESS_QUEUE_FACTORY: "The address for the queue factory."

  • VITE_APP_ADDRESS_SHORT_FACTORY: "The address for the short factory."

  • VITE_APP_ADDRESS_ATHENA_LAUNCHPAD_POOL_FACTORY: "The address for Athena launchpad pool factory."

  • VITE_APP_ADDRESS_ATH_QUEUE: "The address for ATH queue."

  • VITE_APP_ADDRESS_ATH_TRADER: "The address for ATH trader."

  • VITE_APP_ADDRESS_ATH_SHORT: "The address for ATH short."

  • VITE_APP_ADDRESS_ATH_TRADER_CEX: "The address for ATH trader CEX."

  • VITE_APP_ADDRESS_PRESALE_TOKEN: "The address for the presale token."

  • VITE_APP_ADDRESS_TEST_CURRENCY: "The address for the test currency."

  • VITE_APP_ADDRESS_TEST_TOKEN: "The address for the test token."

  1. Create a .env file in your project's root directory.

  2. Add the variables and their values in the format VARIABLE_NAME=value.

Save the .env file. Do not share this file, as it contains sensitive information. These variables are crucial for your project's functionality. They'll be automatically loaded by the application when it starts.

Last updated