Lux.Config (Lux v0.5.0)
View SourceCentral configuration for Lux application
Summary
Functions
Gets the Alchemy API key from configuration. Raises if the key is not configured.
Gets the Hyperliquid account's address from configuration. Returns empty string if not configured.
Gets the Hyperliquid account's private key from configuration. Raises if the key is not configured.
Gets the configured Hyperliquid API URL.
Gets the OpenAI API key from configuration. Raises if the key is not configured.
Retrieves the wallet address
Types
Functions
@spec alchemy_api_key() :: api_key()
Gets the Alchemy API key from configuration. Raises if the key is not configured.
@spec hyperliquid_account_address() :: eth_address()
Gets the Hyperliquid account's address from configuration. Returns empty string if not configured.
@spec hyperliquid_account_key() :: eth_key()
Gets the Hyperliquid account's private key from configuration. Raises if the key is not configured.
@spec hyperliquid_api_url() :: String.t()
Gets the configured Hyperliquid API URL.
@spec openai_api_key() :: api_key()
Gets the OpenAI API key from configuration. Raises if the key is not configured.
@spec openweather_api_key() :: api_key()
@spec transpose_api_key() :: api_key()
@spec wallet_address() :: String.t()
Retrieves the wallet address