chain-jslib
chain-jslib copied to clipboard
Support for Basic authentication for networks
Is your feature request related to a problem? Please describe.
For nodes behind http auth it's a problem. We can't provide user and password to defaultNodeUrl
or rpcUrl
. Unless we do it within the url
Describe the solution you'd like Web3js provides the possibility to add headers to the provider. Maybe headers support is more useful for other cases. That'd be my way to go
Describe alternatives you've considered
Include the user and password in the URL itself http://user:password@url
.
Additional context null