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

broadcast strips the path from the nodeUrl #122

Open
jakobilobi opened this issue Nov 28, 2024 · 0 comments
Open

broadcast strips the path from the nodeUrl #122

jakobilobi opened this issue Nov 28, 2024 · 0 comments

Comments

@jakobilobi
Copy link

Hey team Waves,

We've deployed a Waves mainnet node for which users of ours were planning to use the @waves/waves-transactions lib as a means to interact with the Waves blockchain. Since we control access to our node endpoints via an API key in the URL path, like waves-mainnet.provider.com/<API-key>/some/method, we're having issues using the library. What happens when an URL like waves-mainnet.provider.com/<API-key> is input as the nodeUrl parameter in the broadcast function, is that /transactions/broadcast overwrites the API key, and I've confirmed this through manual testing of my own.

So I'm now making this post to ask

  1. if the issue with path overwrite can be fixed
  2. or otherwise, if someone knows how work around this issue

Cheers,
J

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