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

Come up with a better way to access the network passphrase in the wallet backend #115

Open
gouthamp-stellar opened this issue Jan 26, 2025 · 1 comment

Comments

@gouthamp-stellar
Copy link
Contributor

gouthamp-stellar commented Jan 26, 2025

Right now the network passphrase is being passed around to all the services that need them. Instead a cleaner way to implement this may be to have a helper function that simply returns the network passphrase so these services can use it

@JakeUrban
Copy link
Contributor

The wallet backend doesn't index multiple networks (per instance) right? If so the network passphrase should be a config file, and I figured there would be a config object with all the config variables that different services can access.

@stellar stellar deleted a comment Jan 26, 2025
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

No branches or pull requests

2 participants