Skip to content

TRADFI_API missing causes local dev to show some errors without .env #2428

@zhangolve

Description

@zhangolve

Currently TRADFI_API is read only from process.env.

On a fresh local setup without a .env file, yarn dev shows some errors, which can be confusing for external contributors. I assume the .env is intentionally excluded due to internal/sensitive config.

Would you be open to adding a safe fallback to the public endpoint
(https://tradfi.llama.fi) for local dev, while still allowing env override? This is my pull request: #2427

If not, I'm also happy to just document this requirement instead.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions