{"id":17720246,"url":"https://github.com/theden/btc-heist","last_synced_at":"2026-04-17T09:01:40.333Z","repository":{"id":45303291,"uuid":"440168242","full_name":"TheDen/btc-heist","owner":"TheDen","description":"Generate bitcoin public and private keys and check if they match a filelist of existing addresses that have a nonzero balance ","archived":false,"fork":false,"pushed_at":"2026-04-17T07:07:20.000Z","size":964,"stargazers_count":143,"open_issues_count":11,"forks_count":37,"subscribers_count":11,"default_branch":"main","last_synced_at":"2026-04-17T08:33:03.279Z","etag":null,"topics":["bitcoin","bitcoin-addresses","bitcoin-hacks","bitcoin-wallet","cryptocurrency"],"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/TheDen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-12-20T12:48:19.000Z","updated_at":"2026-04-17T07:11:48.000Z","dependencies_parsed_at":"2024-10-25T19:16:39.735Z","dependency_job_id":"c8471deb-b179-4a0b-97c8-66fd4db33fd8","html_url":"https://github.com/TheDen/btc-heist","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TheDen/btc-heist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheDen%2Fbtc-heist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheDen%2Fbtc-heist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheDen%2Fbtc-heist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheDen%2Fbtc-heist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheDen","download_url":"https://codeload.github.com/TheDen/btc-heist/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheDen%2Fbtc-heist/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31922399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bitcoin","bitcoin-addresses","bitcoin-hacks","bitcoin-wallet","cryptocurrency"],"created_at":"2024-10-25T15:26:34.653Z","updated_at":"2026-04-17T09:01:40.328Z","avatar_url":"https://github.com/TheDen.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# btc-heist\n\n![Go Version](https://img.shields.io/github/go-mod/go-version/TheDen/btc-heist?style=flat-square\u0026logo=go)\n[![License](https://img.shields.io/github/license/TheDen/btc-heist?style=flat-square)](/LICENSE)\n\n\u003c/div\u003e\n\u003cdiv align=\"center\"\u003e\nBrute-forces Bitcoin wallets by generating both random BIP39 mnemonics (BIP44 HD wallets) and raw private keys (including pre-HD uncompressed keys), checking all derived addresses against a known set of funded addresses.\n\u003c/div\u003e\n\n## Setup\n\n### Prerequisites\n\n- Go 1.21+\n- `curl` and `gunzip` (standard on macOS/Linux)\n\n### Download the address list\n\nThe address list is sourced from [loyce.club](http://addresses.loyce.club/) — a regularly updated dataset of all known funded Bitcoin addresses (~50 million entries).\n\n```bash\nmake fetch\n```\n\nThis downloads `Bitcoin_addresses_LATEST.txt.gz` from `http://addresses.loyce.club/Bitcoin_addresses_LATEST.txt.gz`, decompresses it, and saves it as `Bitcoin_addresses_LATEST.txt` in the project root. The file is large (~1 GB uncompressed); loading it into the Bloom filter and map at startup takes a few seconds.\n\n### Download a prebuilt binary\n\nGrab the latest release for your platform from\n[GitHub Releases](https://github.com/TheDen/btc-heist/releases/latest).\n\n### Or Build\n\n```bash\nmake build\n```\n\nThe binary is written to `bin/btc-heist`.\n\n## Running\n\n```bash\n./bin/btc-heist\n```\n\nBy default it uses all available CPU cores and checks 50 derived addresses per mnemonic. Progress is printed every 5 seconds:\n\n```\n[5s] 42301 keys/s  total: 211505  matched: 0\n```\n\n## Options\n\n```\n  -c int    number of CPU cores to use (default: all cores)\n  -f string file containing BTC addresses (default: Bitcoin_addresses_LATEST.txt)\n  -n uint   addresses to check per mnemonic (default: 50)\n  -o string output file for found keys (default: found_keys.txt)\n```\n\n## Output\n\nMatches are appended to `found_keys.txt`. BIP39 wallet matches are written as:\n\n```\nmnemonic=\u003cwords\u003e address=\u003caddress\u003e\n```\n\nRaw private key matches are written as:\n\n```\nwif=\u003cWIF-encoded-key\u003e address=\u003caddress\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheden%2Fbtc-heist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheden%2Fbtc-heist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheden%2Fbtc-heist/lists"}