{"id":51821341,"url":"https://github.com/wayzeek/b20crunch","last_synced_at":"2026-07-22T05:36:53.450Z","repository":{"id":370648119,"uuid":"1295638182","full_name":"wayzeek/b20crunch","owner":"wayzeek","description":"Vanity address miner for B20 tokens on Base: finds the salt that spells your word in the token address. Fast multithreaded Rust CLI with onchain verify and deploy.","archived":false,"fork":false,"pushed_at":"2026-07-10T03:33:25.000Z","size":138,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-22T05:36:52.640Z","etag":null,"topics":["address-generator","b20","base","base-chain","blockchain","cli","erc20","ethereum","evm","keccak256","rust","vanity-address","vanity-address-generator","web3"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/wayzeek.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-09T18:14:07.000Z","updated_at":"2026-07-10T03:37:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/wayzeek/b20crunch","commit_stats":null,"previous_names":["wayzeek/b20crunch"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/wayzeek/b20crunch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayzeek%2Fb20crunch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayzeek%2Fb20crunch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayzeek%2Fb20crunch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayzeek%2Fb20crunch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wayzeek","download_url":"https://codeload.github.com/wayzeek/b20crunch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wayzeek%2Fb20crunch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35750066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-22T02:00:06.236Z","response_time":124,"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":["address-generator","b20","base","base-chain","blockchain","cli","erc20","ethereum","evm","keccak256","rust","vanity-address","vanity-address-generator","web3"],"created_at":"2026-07-22T05:36:52.892Z","updated_at":"2026-07-22T05:36:53.442Z","avatar_url":"https://github.com/wayzeek.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# b20crunch\n\nA vanity address miner for B20 tokens on Base, written in Rust: finds salts that\nspell words in your token address.\n\n\u003cimg width=\"1280\" height=\"640\" alt=\"social-card\" src=\"https://github.com/user-attachments/assets/4e4d66b8-7610-4f89-b3e1-ce42edb6914e\" /\u003e\n\nEvery B20 token lives at an address shaped like this:\n\n```\n0xB2 000000000000000000 \u003cvariant\u003e \u003ceighteen hex characters\u003e\n```\n\nThe first part is fixed by the standard. The last 18 characters are derived from\n`keccak256(abi.encode(deployer, salt))`. You choose the salt. Which means\nthose 18 characters can spell something. Your ticker. Your product. `c0ffee`.\n`deadbeef`. Whatever fits in hex.\n\n```\ndeployer 0x1111111111111111111111111111111111111111, word c0ffee\nsalt:    2000763\naddress: 0xB200000000000000000000c0FFeeA7F58D19C4Ef\n```\n\n## How it works\n\n`createB20` derives the token address from the caller and a salt, nothing else.\nThat has three pleasant consequences:\n\n- **Salts are deployer-bound.** A salt mined for your account is worthless to\n  anyone else. Share it, post it, tweet it: only your deployer can use it.\n- **No front-running.** Copying your pending transaction from a different sender\n  derives a completely different address.\n- **One salt, everywhere.** The derivation has no chain id and covers both B20\n  variants (ASSET and STABLECOIN), so one salt gives the same address on every\n  network your deployer uses.\n\nOne caveat: the *deployer account itself* must call `createB20`. A multisig, a\nproxy, or a deployer contract in between changes the sender and voids the salt.\nMine against whatever account will actually send the transaction.\n\nThe full derivation and the grinding math live in\n[docs/how-it-works.md](docs/how-it-works.md).\n\n## Install\n\n```\ngit clone https://github.com/wayzeek/b20crunch\ncd b20crunch \u0026\u0026 cargo build --release\n```\n\nor `cargo install --git https://github.com/wayzeek/b20crunch`. Source is the only\ndistribution; there is nothing to trust but the code in front of you.\n\n## Mine\n\n```\nb20crunch mine --deployer 0xYourDeployer --words c0ffee,deadbeef\n```\n\nWords must be hex-expressible: `0-9 a-f`, with the time-honored substitutions\no=0, l/i=1, s=5, t=7, g=6, z=2. Placement defaults to either end of the window\n(`--positions prefix|suffix|ends|any`). Hits stream to `hits.jsonl` and to your\nterminal. The file is append only, so resuming a run with `--start` never\nclobbers hits an earlier run already wrote. Run bounded with `--count`, resume\nwith `--start`, cross-check the results against the live factory with\n`--verify`.\n\nExpected time to a hit at 100 MH/s, both-ends placement. These are averages;\nthe search is memoryless, so your run may be lucky or unlucky:\n\n| word length | expected salts | expected time |\n|---|---|---|\n| 6 | 8.4M | under a second |\n| 7 | 134M | ~1 s |\n| 8 | 2.1B | ~20 s |\n| 9 | 34B | ~6 min |\n| 10 | 550B | ~1.5 h |\n| 11 | 8.8T | ~1 day |\n\nLetter casing is not choosable: EIP-55 checksum casing falls out of the address\nitself, so `deadbeef` may render as `dEAdbEef`. Look at the exact rendering\nbefore you fall in love.\n\n## GPU (OpenCL)\n\nThe default build is CPU-only. The GPU backend ships behind a Cargo feature:\n\n```\ncargo build --release --features gpu\n./target/release/b20crunch mine --gpu --deployer 0xYourDeployer --words dead,beef\n```\n\n`--device N` picks a GPU when several are present (the error lists them), and\n`--gpu-batch N` sets salts per dispatch for tuning. Everything else -- words,\npositions, `--start` resume, JSONL output, `--verify` -- behaves exactly as on\nthe CPU, and a fixed salt range produces the identical hit set on either\nbackend. The kernel ships as OpenCL source inside the binary and is compiled\nby your GPU driver at runtime; there is nothing precompiled to trust.\n\nRequires a working OpenCL runtime: NVIDIA and AMD drivers include one, and\nmacOS has one built in. GPU rates will be added to the table above only as\nmeasured on named hardware.\n\n## Verify\n\n```\nb20crunch verify --deployer 0xYourDeployer --salt 123456 --expect 0xB20...\n```\n\nRead-only. Derives locally, cross-checks both variant addresses against the live\nfactory, and reports whether they are still unclaimed. Always verify before you\ndeploy; a (deployer, salt) pair can only be consumed once per network.\n\n## Deploy\n\n```\nb20crunch deploy --deployer 0xYourDeployer --salt 123456 --expect 0xB20... \\\n                 --name \"My Token\" --symbol MTK\n```\n\nDry-run by default: local derivation, factory derivation, availability, and a\ngasless simulation, then it prints the exact transaction (decoded arguments and\nraw calldata) and stops. Add `--send` to broadcast, with the deployer's key in\nthe `B20_DEPLOYER_KEY` environment variable. The key is read only for `--send`,\nonly from that variable, and the tool refuses to send if the key doesn't match\nthe deployer. Deploys the ASSET variant; nothing here touches STABLECOIN setup.\n\n## A note on taste\n\nDon't mine impersonation or trademark-lookalike addresses. Explorers flag them,\ncommunities notice, and an address that spells someone else's name is worth less\nthan the electricity it took to find. Spell your own thing.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwayzeek%2Fb20crunch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwayzeek%2Fb20crunch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwayzeek%2Fb20crunch/lists"}