{"id":17604894,"url":"https://github.com/metachris/flashbots-ethers-example","last_synced_at":"2025-04-30T10:14:41.822Z","repository":{"id":66114751,"uuid":"484711876","full_name":"metachris/flashbots-ethers-example","owner":"metachris","description":"Flashbots Ethers TypeScript example for Node.js and browser","archived":false,"fork":false,"pushed_at":"2022-04-25T12:33:14.000Z","size":374,"stargazers_count":40,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-30T10:14:36.563Z","etag":null,"topics":["ethereum","ethers","ethersjs","flashbots","javascript","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/metachris.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-23T10:10:14.000Z","updated_at":"2024-12-27T19:57:43.000Z","dependencies_parsed_at":"2023-02-20T18:00:57.713Z","dependency_job_id":null,"html_url":"https://github.com/metachris/flashbots-ethers-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"metachris/typescript-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metachris%2Fflashbots-ethers-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metachris%2Fflashbots-ethers-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metachris%2Fflashbots-ethers-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metachris%2Fflashbots-ethers-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metachris","download_url":"https://codeload.github.com/metachris/flashbots-ethers-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251683357,"owners_count":21626953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ethereum","ethers","ethersjs","flashbots","javascript","typescript"],"created_at":"2024-10-22T14:24:57.130Z","updated_at":"2025-04-30T10:14:41.801Z","avatar_url":"https://github.com/metachris.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flashbots Ethers Example\n\nThis project shows how to use Ethers to interact with Flashbots from JavaScript/TypeScript. The examples can be run in Node.js and the browser.\n\nReferences:\n\n* https://github.com/ethers-io/ethers.js\n* https://github.com/flashbots/ethers-provider-flashbots-bundle\n\n## Project structure\n\n* There's four iterative examples in [`src/main1.ts`](https://github.com/metachris/flashbots-ethers-example/blob/master/src/main1.ts) (Ethers setup) to [`src/main4.ts`](https://github.com/metachris/flashbots-ethers-example/blob/master/src/main4.ts) (sending bundles and more).\n* They are imported from [`src/cli.ts`](https://github.com/metachris/flashbots-ethers-example/blob/master/src/cli.ts) and [`src/browser.ts`](https://github.com/metachris/flashbots-ethers-example/blob/master/src/browser.ts), for running in the terminal/browser respectively.\n\n## Getting started\n\nClone the repository and install the dependencies:\n\n```bash\ngit clone git@github.com:metachris/flashbots-ethers-example.git\ncd flashbots-ethers-example\nyarn\n```\n\nRun the code in Node.js:\n\n```yarn cli```\n\nRun the code in the browser:\n\n* `yarn esbuild-browser:watch`\n* open `browser-test.html` in your browser\n\nTo change between examples, update the imports in `src/cli.ts` and `src/browser.ts`.\n\n## License\n\nThe code is free to use however you want, no attribution necessary.\n\n## Feedback\n\nFeel free to reach out via Github issues on this repository, or via Twitter [@metachris](https://twitter.com/metachris).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetachris%2Fflashbots-ethers-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetachris%2Fflashbots-ethers-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetachris%2Fflashbots-ethers-example/lists"}