Skip to content

Comments

fix(cashu): remove hardcoded paths from config.sh#47

Open
hexdaemon wants to merge 1 commit intoarchetech:mainfrom
hexdaemon:fix/cashu-config-hardcoded-paths
Open

fix(cashu): remove hardcoded paths from config.sh#47
hexdaemon wants to merge 1 commit intoarchetech:mainfrom
hexdaemon:fix/cashu-config-hardcoded-paths

Conversation

@hexdaemon
Copy link
Contributor

Fixes hardcoded system-specific paths in cashu config.sh:

  • Auto-discovers cashu CLI via PATH instead of hardcoded path
  • Removes hardcoded credentials from defaults
  • Uses neutral default mint (mint.minibits.cash)
  • Adds validation with clear error when cashu CLI not found
  • Adds inline comments for each config option

Reported by @Morningstar — cashu CLI path was pointing to a system-specific poetry virtualenv that doesn't exist on other machines.

- Auto-discover cashu CLI via PATH instead of hardcoded path
- Remove hardcoded credentials from defaults
- Use neutral default mint (mint.minibits.cash)
- Add validation with clear error when cashu CLI not found
- Add inline comments for each config option
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant