AlgoWorld Docs
  • Overview
  • Swapper
    • Quick Start
      • Prerequisites
      • Setting up local development
      • Scripts
    • Architecture
      • Public Swaps
    • Directory structure
    • Env variables
    • Path Mapping
    • Testing
      • End to end tests
  • Explorer
    • Quick Start
    • Architecture
      • Gallery
      • City Packs
      • City Influence
Powered by GitBook
On this page

Was this helpful?

  1. Swapper

Env variables

PreviousDirectory structureNextPath Mapping

Last updated 2 years ago

Was this helpful?

For running locally create a file called .env.local and fill it with the following default parameters (or replace with your own values):

Variable Name
Required?
Description

AW_WEB_STORAGE_API_KEY

yes

obtain your own api key on .

NEXT_PUBLIC_CHAIN_TYPE

yes

set to mainnet or testnet to indicate which chain to use by default.

NEXT_PUBLIC_GA_MEASUREMENT_ID

no

a tag value for Google Analytics tracking. For local dev purposes you can skip it completely.

NEXT_PUBLIC_SENTRY_DSN

no

a tag value for Sentry error tracking. For local dev purposes you can skip it completely.

web3.storage