{"id":21531990,"url":"https://github.com/chainbound/mev-boost-relay-bids-py","last_synced_at":"2025-03-17T19:28:10.726Z","repository":{"id":217714079,"uuid":"744598780","full_name":"chainbound/mev-boost-relay-bids-py","owner":"chainbound","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-17T17:55:11.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T06:29:47.298Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/chainbound.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":"2024-01-17T16:19:22.000Z","updated_at":"2024-05-31T14:43:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"1069ce32-853a-498f-9f4c-30b2001695d7","html_url":"https://github.com/chainbound/mev-boost-relay-bids-py","commit_stats":null,"previous_names":["chainbound/mev-boost-relay-bids-py"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainbound%2Fmev-boost-relay-bids-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainbound%2Fmev-boost-relay-bids-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainbound%2Fmev-boost-relay-bids-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainbound%2Fmev-boost-relay-bids-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chainbound","download_url":"https://codeload.github.com/chainbound/mev-boost-relay-bids-py/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244096053,"owners_count":20397328,"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":[],"created_at":"2024-11-24T02:18:27.773Z","updated_at":"2025-03-17T19:28:10.718Z","avatar_url":"https://github.com/chainbound.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Relay Bids Retrieval\n====================================\n\nThis Python script allows you to retrieve relay bids metadata from various relays using the `httpx` library. The script fetches data for a range of block numbers and saves it in a Parquet file. It is designed to work with a virtual environment to manage dependencies.\n\nInstallation\n------------\n\nTo set up and run this script, follow these steps:\n\n### 1\\. Clone the Repository\n\nClone this repository to your local machine:\n\n```\ngit clone https://github.com/your-username/relay-bids-retrieval.git\n```\n\n### 2\\. Create a Virtual Environment\n\nNavigate to the project directory and create a virtual environment:\n\n```\ncd relay-bids-retrieval python -m venv venv\n```\n\nActivate the virtual environment:\n\nOn macOS and Linux:\n```\nsource venv/bin/activate\n```\n\nOn Windows:\n```\nvenv\\Scripts\\activate\n```\n\n### 3\\. Install Required Packages\nInstall the required packages listed in `requirements.txt`:\n\n```\npip install -r requirements.txt\n```\n\n### 4\\. Configure the Script\n\nEdit the `RELAYS` dictionary and other parameters within the `main.py` script to configure it according to your requirements. \nYou can also specify the number of concurrent requests by setting the `CONCURRENT_REQ` variable.\n\n### 5\\. Run the Script\n\nExecute the `main.py` script with the following command, replacing `from_block`, `to_block` with your desired values:\n\n```\npython src/main.py from_block to_block\n```\n\nFor example:\n```\npython main.py 100 200\n```\n\nThis command will retrieve relay bids metadata for block numbers from 100 to 200 and save it to unique Parquet file per block_number in `outputs` folder.\n\nOutput\n------\nThe script will log information about the progress and errors. It will save the retrieved data in Parquet format, splitting it into multiple files if the number of records exceeds a specified limit.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchainbound%2Fmev-boost-relay-bids-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchainbound%2Fmev-boost-relay-bids-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchainbound%2Fmev-boost-relay-bids-py/lists"}