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

Default network config #19

Open
Dancia opened this issue Apr 19, 2024 · 0 comments
Open

Default network config #19

Dancia opened this issue Apr 19, 2024 · 0 comments

Comments

@Dancia
Copy link
Collaborator

Dancia commented Apr 19, 2024

To connect to data layer you have to supply NATS_URL. What if instead of each time supplying NATS_URL there was a config with default network settings. See https://pkg.go.dev/github.com/oasisprotocol/oasis-sdk/client-sdk/[email protected]/config#pkg-variables as an inspirational example. We could default to testnet with default brokers nats urls so users (99% of cases). As a result instead of knowing to find URLs here you would just get them defaulted.

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

1 participant