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

Đang mở
#3 3 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@alexander22-dev đang làm issue này rồi.

Từ ngày 21/11/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
0
Fork
4
Merge trung bình
54 phút
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Yormee-103/PayLoop

Tất cả issue của Yormee-103/PayLoop

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.