# CAC3 Explorer — example config # Copy to config.yaml and edit, or override via flags / env vars. listen: "0.0.0.0:8080" rpc: # Bitcoin Core 0.18 / cac3d JSON-RPC endpoint url: "http://127.0.0.1:8332" # Path to cac3d's .cookie file (preferred — auto-rotated on daemon restart). cookie_path: "/var/lib/cac3/.cookie" # OR static creds (less secure, but useful for tests): # user: "cac3rpc" # pass: "changeme" timeout: "10s" # How often to refresh the cookie file from disk. cac3d only writes it on # startup, so this is mostly a safety net. cookie_refresh: "30s" chain: name: "CAC3 Mainnet" ticker: "CAC3" site_url: "https://explorer.example.com" # Decimal places for coin amounts. CAC3 follows Bitcoin's 8. coin_decimals: 8 # Block time target in seconds (used for ETA / hashrate estimates). block_time_seconds: 10 # Public-facing links shown in the header. Leave empty strings to hide. links: website: "https://cac3.example.com" github: "https://github.com/SamiAhmed7777/cac3" # Optional: deep-link tx / address / block pages to another explorer # (e.g. if you want a sister explorer for a sister chain) # alt_explorer: "https://alt-explorer.example.com" # Cache layer (in-memory by default). Set redis_url to share cache across replicas. cache: backend: "memory" # "memory" | "redis" ttl: "30s" # redis_url: "redis://127.0.0.1:6379/0" # UI ui: # Set false to disable the "Search" box (e.g. if fronted by an external search) show_search: true # Page footer copyright footer: "© 2026 CAC3 Project"