.env.example and docs omit env vars the app reads

Aperta
#3 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@alexander22-dev ci sta già lavorando.

Dal 21/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

difficulty: beginner documentation dx good first issue help wanted Stellar Wave

Difficulty: Beginner

Description

web/lib/config.ts reads NEXT_PUBLIC_HORIZON_URL and NEXT_PUBLIC_TOKEN_ISSUER. Neither is in web/.env.example, and the README does not mention them. The trustline flow breaks if you point the app at a different deployment without setting them.

Why it matters

Contributors and deployers running against their own contract or token will hit confusing failures.

Implementation suggestions

Add both vars to .env.example with comments. Add a short env-var table to web/README.md covering which vars are public, which are server-only, and the defaults.

Acceptance criteria

  • Every process.env.* used in web/ appears in .env.example and in the table.

Dependencies / related

Related to #31.

Lingua principale
TypeScript
Stelle
0
Fork
4
Merge medio
54m
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Yormee-103/PayLoop

Tutte le issue di Yormee-103/PayLoop

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.