You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been poking around with using the NanSwap Banano Node as an RPC due to it's ability to generate work. However, it requires a custom Auth header of {"nodes-api-key": NODES_API_KEY}.
Which allows common auth headers like Bearer and JWT Tokens.
To get the NanSwap node to work, it looks like I need to submit a request with a custom header key, not Authorization.
The nano.js code has a parameter called customHeaders which allows custom key/val pairs to be set for auth headers. It would be great to have similar functionality here. Let me know your thoughts!
The text was updated successfully, but these errors were encountered:
Hi @stjet!
I've been poking around with using the NanSwap Banano Node as an RPC due to it's ability to generate work. However, it requires a custom Auth header of {"nodes-api-key": NODES_API_KEY}.
It looks like in RPC.py, this code block exists:
Which allows common auth headers like Bearer and JWT Tokens.
To get the NanSwap node to work, it looks like I need to submit a request with a custom header key, not Authorization.
The nano.js code has a parameter called customHeaders which allows custom key/val pairs to be set for auth headers. It would be great to have similar functionality here. Let me know your thoughts!
The text was updated successfully, but these errors were encountered: