core3.constants
Documentation for eth_defi.core3.constants Python module.
Shared constants for Core3 integration.
Centralises API URLs, default paths, and configuration values used
by eth_defi.core3.session, eth_defi.core3.database,
and eth_defi.core3.scanner.
Functions
Resolve the Core3 DuckDB database path. |
- resolve_core3_database_path()
Resolve the Core3 DuckDB database path.
Core3 scripts share the same
CORE3_DATABASE_PATHenvironment variable override. Keeping the resolver next toCORE3_DATABASE_PATHavoids each caller repeating the same environment lookup and path expansion logic.- Returns
Path from
CORE3_DATABASE_PATHor the default Core3 DuckDB path.- Return type