Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: load wallet config from environment variables #1178

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

nain-F49FF806
Copy link
Member

This should give full control over mediator.

Note: We could later support a dedicated config file format such as yaml/toml. Or command line arguments to pass config parameters.

But simply with env variables, we still have sufficient control.
One can pass the environment variables on the command line or declare them in a .env file.
The .env file may be in the same directory as where mediator is executed, or a parent directory. [dotenvy]

@nain-F49FF806 nain-F49FF806 marked this pull request as ready for review April 15, 2024 15:57
@nain-F49FF806
Copy link
Member Author

@xprazak2 Thanks for the review!

@Patrik-Stas Patrik-Stas merged commit ac2d946 into main Apr 16, 2024
29 of 30 checks passed
@Patrik-Stas Patrik-Stas deleted the feat/mediator/wallet-config branch April 16, 2024 06:29
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.

3 participants