{"id":36456140,"url":"https://github.com/adzil/bundlerpc","last_synced_at":"2026-01-11T23:03:46.021Z","repository":{"id":59046485,"uuid":"532733030","full_name":"adzil/bundlerpc","owner":"adzil","description":"Flashbots RPC client that is compatible with the Go-Ethereum library","archived":false,"fork":false,"pushed_at":"2022-10-23T10:56:21.000Z","size":37,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-01T22:36:39.719Z","etag":null,"topics":["flashbots","go","go-ethereum","json-rpc2","rpc-client"],"latest_commit_sha":null,"homepage":"","language":"Go","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/adzil.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}},"created_at":"2022-09-05T03:43:29.000Z","updated_at":"2023-08-07T09:09:41.000Z","dependencies_parsed_at":"2023-01-20T08:51:59.409Z","dependency_job_id":null,"html_url":"https://github.com/adzil/bundlerpc","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/adzil/bundlerpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adzil%2Fbundlerpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adzil%2Fbundlerpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adzil%2Fbundlerpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adzil%2Fbundlerpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adzil","download_url":"https://codeload.github.com/adzil/bundlerpc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adzil%2Fbundlerpc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28326173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T22:11:01.104Z","status":"ssl_error","status_checked_at":"2026-01-11T22:10:58.990Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["flashbots","go","go-ethereum","json-rpc2","rpc-client"],"created_at":"2026-01-11T23:03:45.249Z","updated_at":"2026-01-11T23:03:46.011Z","avatar_url":"https://github.com/adzil.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flashbots Bundle RPC\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/adzil/bundlerpc.svg)](https://pkg.go.dev/github.com/adzil/bundlerpc)\n[![Go Report Card](https://goreportcard.com/badge/github.com/adzil/bundlerpc)](https://goreportcard.com/report/github.com/adzil/bundlerpc)\n\nBundleRPC implements Flashbots JSON-RPC client that is compatible with the standard Go-Ethereum data types.\n\nFor more information about Flashbots RPC, please visit [their documentation website](https://docs.flashbots.net/flashbots-auction/searchers/advanced/rpc-endpoint/).\n\n## Quick Start by Example\n\nThe following code snippet is incomplete and cannot be run as-is. However, it can be used as the starting point for interacting with the Flashbots RPC.\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n\n    \"github.com/adzil/bundlerpc\"\n    \"github.com/ethereum/go-ethereum/core/types\"\n    \"github.com/ethereum/go-ethereum/crypto\"\n    \"github.com/ethereum/go-ethereum/ethclient\"\n    \"github.com/ethereum/go-ethereum/rpc\"\n)\n\nfunc main() {\n    // Create random private key for signing the Flashbots JSON-RPC payload.\n    // Consider using stored private key for long-term usage to build\n    // reputation with the Flashbots relay.\n    flashbotsKey, err := crypto.GenerateKey()\n    if err != nil {\n        panic(err)\n    }\n\n    // Create new JSON-RPC client using the previously generated private key.\n    flashbots, err := bundlerpc.Dial(\"https://relay.flashbots.net\", flashbotsKey)\n    if err != nil {\n        panic(err)\n    }\n\n    // Instantiate the Eth client to obtain the latest block number.\n    ethrpc, err := rpc.Dial(\"http://localhost:8545\")\n    if err != nil {\n        panic(err)\n    }\n    defer ethrpc.Close()\n    eth := ethclient.NewClient(ethrpc)\n\n    // ...Build the actual transactions here...\n    var txOne, txTwo *types.Transaction\n\n    // Get the latest block number.\n    blockNumber, err := eth.BlockNumber(context.Background())\n    if err != nil {\n        panic(err)\n    }\n\n    // Send transaction bundle of txOne and txTwo using Flashbots relay. Note\n    // that you must explicitly set NoSend field in the bind.TransactionOpts to\n    // prevent sending them into the public mempool.\n    bundle, err := flashbots.SendBundle(context.Background(), bundlerpc.SendBundleParam{\n        Txs: []*types.Transaction{\n            txOne,\n            txTwo,\n        },\n        BlockNumber: blockNumber,\n    })\n    if err != nil {\n        panic(err)\n    }\n\n    // Print the resulting bundle hash.\n    fmt.Printf(\"%#v\\n\", bundle)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadzil%2Fbundlerpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadzil%2Fbundlerpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadzil%2Fbundlerpc/lists"}