{"id":16869225,"url":"https://github.com/cavemanloverboy/vanity","last_synced_at":"2025-12-30T05:59:42.440Z","repository":{"id":244602333,"uuid":"815714033","full_name":"cavemanloverboy/vanity","owner":"cavemanloverboy","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-14T17:45:46.000Z","size":151,"stargazers_count":64,"open_issues_count":8,"forks_count":20,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-14T18:33:00.273Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Cuda","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cavemanloverboy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-06-15T23:27:21.000Z","updated_at":"2025-02-14T17:45:49.000Z","dependencies_parsed_at":"2024-06-16T01:57:11.099Z","dependency_job_id":"55b73fab-1295-4121-a9ea-fa6fbc221b65","html_url":"https://github.com/cavemanloverboy/vanity","commit_stats":null,"previous_names":["cavemanloverboy/vanity"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cavemanloverboy%2Fvanity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cavemanloverboy%2Fvanity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cavemanloverboy%2Fvanity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cavemanloverboy%2Fvanity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cavemanloverboy","download_url":"https://codeload.github.com/cavemanloverboy/vanity/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239599061,"owners_count":19665911,"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-10-13T15:00:40.435Z","updated_at":"2025-12-30T05:59:42.427Z","avatar_url":"https://github.com/cavemanloverboy.png","language":"Cuda","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# `vanity`\n\nA *bLaZinGlY fAsT* tool for grinding vanity addresses on Solana.\n\n## 1) What\n\nTypically, solana developers wishing to obtain a vanity address for their program or token grind out ed25519 keypairs and sign off on a `SystemInstruction::CreateAccount` instruction. However, by using `SystemInstruction::CreateAccountWithSeed`, developers can bypass ed25519 and get extreme speedups on address searches. Although not as generic, this method covers many use cases.\n\n## 2) H\n\nBy default, vanity compiles for cpu. Install via\n\n```bash\ncargo install vanity\n```\n\nTo compile for gpu, install via\n\n```bash\ncargo install vanity --features=gpu\n```\nIf you don't have a GPU, consider using [vast.ai](https://cloud.vast.ai/?ref_id=126830). Pls use this referral link so that I can keep using GPUs.\n\n\nRefer to the help via `vanity --help` for information on usage.\n\n```bash\n\nUsage: vanity [OPTIONS] --base \u003cBASE\u003e --owner \u003cOWNER\u003e --target \u003cTARGET\u003e\n\nOptions:\n      --base \u003cBASE\u003e          The pubkey that will be the signer for the CreateAccountWithSeed instruction\n      --owner \u003cOWNER\u003e        The account owner, e.g. BPFLoaderUpgradeab1e11111111111111111111111 or TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA\n      --target \u003cTARGET\u003e      The target prefix for the pubkey\n      --case-insensitive     Whether user cares about the case of the pubkey\n      --logfile \u003cLOGFILE\u003e    Optional log file\n      --num-cpus \u003cNUM_CPUS\u003e  Number of cpu threads to use for mining [default: 0]\n  -h, --help                 Print help\n```\n\nTo actually make use of the resulting seed, refer to the `solana_program` docs:\n\n```rust\npub fn create_account_with_seed(\n    from_pubkey: \u0026Pubkey,\n    // this is the resulting address, obtained via Pubkey::create_with_seed\n    to_pubkey: \u0026Pubkey, \n    base: \u0026Pubkey,\n    seed: \u0026str,\n    lamports: u64,\n    space: u64,\n    owner: \u0026Pubkey,\n) -\u003e Instruction\n```\n\n## Contributions\n\nyes\n\n## Performance\n\n**Update@06/27/25:** Ran a 14x RTX 4090 setup and it did 1.2-1.3 billion searches per second per GPU\n\n## Acknowledgements, External Libraries\n\n- The sha2 implementation used in this library is taken from [here](https://github.com/mochimodev/cuda-hashing-algos), which is in the public domain.\n- The base58 encoding implementation is taken from firedancer with heavy modifications for use in cuda \u0026 case insensitive encodings, licensed under APACHE-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcavemanloverboy%2Fvanity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcavemanloverboy%2Fvanity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcavemanloverboy%2Fvanity/lists"}