# Environment Variables

## Environment Variables

All environment variables for AfriWage are public testnet values. No secrets required to run locally.

### Setup

cp .env.example apps/web/.env.local

### Variables

| Variable                          | Description          | Value                                 |
| --------------------------------- | -------------------- | ------------------------------------- |
| NEXT\_PUBLIC\_STELLAR\_NETWORK    | Stellar network      | testnet                               |
| NEXT\_PUBLIC\_HORIZON\_URL        | Horizon API endpoint | <https://horizon-testnet.stellar.org> |
| NEXT\_PUBLIC\_NETWORK\_PASSPHRASE | Network passphrase   | Test SDF Network ; September 2015     |
| NEXT\_PUBLIC\_APP\_URL            | Public app URL       | <https://afriwage.vercel.app>         |

### Important

All variables are prefixed with NEXT\_PUBLIC\_ — they are client-side only. Never store private keys or secret keys in environment variables.

For testnet development, no API keys are required. Stellar Horizon is a public API.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://k1ngd4vid.gitbook.io/afriwage-doc/environment-variables.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
