Open lakub-muravlov opened 1 year ago
I don't think there's much that can be done within ethers-provider-flashbots-bundle
to fix this but you might consider opening up an issue in the mev-relay-js
repository (https://github.com/flashbots/mev-relay-js) to request CORS support for accessing the endpoint from the browser.
As a workaround, you could run a CORS proxy locally (for example cors-anywhere
).
Getting cors error from relay when trying to simulate/sendBundle/getUserStats![IMG_20230320_144831_102](https://user-images.githubusercontent.com/85365426/226343603-feec64f3-edc0-4a40-b227-36360ed92251.jpg)