eosjs
eosjs copied to clipboard
Enhancement: support for multiple URLs in JsonRpc
If an API service is unavailable, the application has to deal with the errors, or in most cases it just bails out.
The JsonRpc
constructor should accept an array of URLs, and connect to them in specified order. If one is not responding, try the next one. return a comprehensive error if all of them fail.