{"id":19461673,"url":"https://github.com/plasmapower/nano-vanity","last_synced_at":"2025-04-05T18:08:40.770Z","repository":{"id":45458165,"uuid":"121597537","full_name":"PlasmaPower/nano-vanity","owner":"PlasmaPower","description":"A NANO vanity address generator (supports OpenCL)","archived":false,"fork":false,"pushed_at":"2024-06-13T15:45:19.000Z","size":175,"stargazers_count":93,"open_issues_count":16,"forks_count":32,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T16:07:53.183Z","etag":null,"topics":["cryptocurrency","gpu","nano","nano-currency","opencl"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PlasmaPower.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":"2018-02-15T06:19:56.000Z","updated_at":"2025-02-27T13:30:07.000Z","dependencies_parsed_at":"2024-11-10T17:55:57.376Z","dependency_job_id":null,"html_url":"https://github.com/PlasmaPower/nano-vanity","commit_stats":{"total_commits":80,"total_committers":9,"mean_commits":8.88888888888889,"dds":"0.19999999999999996","last_synced_commit":"bbf234a868c8758ab52a06c345c793e2b64e2ae8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlasmaPower%2Fnano-vanity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlasmaPower%2Fnano-vanity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlasmaPower%2Fnano-vanity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlasmaPower%2Fnano-vanity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PlasmaPower","download_url":"https://codeload.github.com/PlasmaPower/nano-vanity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247378149,"owners_count":20929297,"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":["cryptocurrency","gpu","nano","nano-currency","opencl"],"created_at":"2024-11-10T17:43:19.533Z","updated_at":"2025-04-05T18:08:40.747Z","avatar_url":"https://github.com/PlasmaPower.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nano-vanity\n\nGenerate a NANO address with a prefix of your choice.\nThe longer the prefix, the longer it'll take to compute.\n\n## Installation\n\nFirst, setup Rust. The best way to do this is with [rustup](https://rustup.rs).\n\nTo install `nano-vanity` from crates.io:\n\n```\ncargo install nano-vanity\n```\n\nTo install `nano-vanity` from source:\n\n```\ncargo install --path .\n```\n\nIf you want to enable GPU support, install OpenCL and add `--features gpu` to the install command.\n\nFor a list of `nano-vanity` options, use `nano-vanity --help`.\n\n## Seed Generation\n\nBy default, `nano-vanity` generates private keys instead of seeds.\nYou can use these in the desktop wallet (they're refered to as adhoc keys),\nhowever, most other wallets do not yet support them.\n\nYou can generate seeds instead of private keys with `--generate-seed`.\nNote that doing so is a bit slower.\n\nTo explain the difference between seeds and private keys:\n\n- Seeds plus an index (1st key, 2nd key, etc) generate a private key.\n  Currently, this project will always use the first index (index 0).\n- A private key generates a public key.\n- Addresses are another way of writing public keys.\n\n## Wildcards\n\nYou can leave a character up to chance by using `.` or `*`.\n\nYou can specify that a character must be a number with `#`.\n\n## Using your GPU\n\nThis project supports using your GPU to compute the address.\nThis utilizes OpenCL, so you'll need OpenCL installed and working.\n\nTo build this project with GPU support, pass cargo `--features gpu`.\n\nTo enable GPU use, use the `--gpu` (or `-g`) option. To disable\nuse of your CPU, use `--threads 0` (or `-t 0`).\n\nIntel GPUs are not supported, as in most cases running the code on\nthe integrated GPU is no faster than running it on the CPU.\n\nTo change your GPU device, use `--gpu-device [index]`, where `[index]`\nis the index of your GPU starting at 0.\nTo change your GPU platform, use `--gpu-platform [index]`.\n\n## Testing randomness\n\nTo test the randomness of seeds from this program, you can use dieharder\n([here](https://web.archive.org/web/20161029064924/www.linux-mag.com/id/4125/)'s an article on it).\n\nDieharder should not be taken as proof that this program is secure, however, it should be used as evidence, in combination\nwith an examination of the program's source code.\n\nHere's an example of how to run this with dieharder:\n\n```\nnano-vanity --threads 1 --no-progress --limit 0 --simple-output nano_1 | cut -d' ' -f1 | xxd -r -p | dieharder -a -g stdin_input_raw\n```\n\nIf you get a weak or failed test, run that test again by passing dieharder `-d [test]`.\nWhile it's statistically unlikely that a test would fail despite nothing being wrong, it can happen,\nespecially given the number of tests dieharder runs.\n\nTo be even more careful, you can modify nano-vanity's parameters.\nThe important ones are `--simple-output`, which makes the output format easily parseable,\nand `-l 0`, which generates infinite keys instead of just one.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplasmapower%2Fnano-vanity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplasmapower%2Fnano-vanity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplasmapower%2Fnano-vanity/lists"}