Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Getting cors error on any method of Flashbots provider

Open
#98 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
typescript
Domain
api

Research direction

Start at FlashbotsBundleProvider.create and reproduce the reported calls to getUserStatsV2, simulate, and sendBundle against the Goerli relay URL. Trace the requests made by these provider entry points and determine what behavior is required for them to work from the reported client context; done means the calls no longer produce the reported CORS error.

Written by the indexing model from the issue text.

Description

Getting cors error from relay when trying to simulate/sendBundle/getUserStats
IMG_20230320_144831_102

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);
Dominant language
TypeScript
Stars
568
Forks
212
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from flashbots/ethers-provider-flashbots-bundle

All issues in flashbots/ethers-provider-flashbots-bundle

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.