dominant-strategies / quais.js

JavaScript library for interacting with Quai Network.
MIT License
2 stars 5 forks source link

[Quais] - Improve provider url validation & formatting #245

Closed rileystephens28 closed 2 months ago

rileystephens28 commented 3 months ago

For URLs that are used to initialize providers, we need to ensure they do not have

  1. a trailing slash and if they do, remove it from the URL string
  2. an endpoint in general and if they do throw an error (this may change once a proxy is created for go-quai to allow serving shard data from a prefixed URI endpoint rather than a specified port.