flashbots / flashbots/ethers-provider-flashbots-bundle

Getting cors error on any method of Flashbots provider

Open
#98 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
566
Forks
211
PR merge metrics
No merged PRs in 30d

Description

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)
```javascript
const fbProvider = await FlashbotsBundleProvider.create(
ethersProvider,
wallet,
'https://relay-goerli.flashbots.net/',
5
);

const userStatsV2 = await fbProvider.getUserStatsV2();
console.log("🚀 ~ file: provider.ts:61 ~ userStatsV2:", userStatsV2);
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.