An open API service indexing awesome lists of open source software.

https://github.com/bosonware-technologies/solanavanity

SolanaVanity is a cross-platform .NET CLI tool for generating Solana keypairs with vanity addresses. It allows you to create Solana wallet addresses that match a specific prefix or pattern, making your wallet more recognizable or personal.
https://github.com/bosonware-technologies/solanavanity

solana solana-keygenerator solana-keypair vanity

Last synced: about 1 month ago
JSON representation

SolanaVanity is a cross-platform .NET CLI tool for generating Solana keypairs with vanity addresses. It allows you to create Solana wallet addresses that match a specific prefix or pattern, making your wallet more recognizable or personal.

Awesome Lists containing this project

README

          

# SolanaVanity

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

SolanaVanity is a cross-platform .NET CLI tool for generating Solana keypairs with vanity addresses. It allows you to create Solana wallet addresses that match a specific prefix or pattern, making your wallet more recognizable or personal.

## Features

- **Fast vanity address generation** for Solana
- **Customizable patterns** (prefix, suffix, or substring)
- **Cross-platform**: Runs on Windows, Linux, and macOS
- **Easy to use** command-line interface
- **Secure keypair generation** using .NET cryptography
- **MIT Licensed** and open source

## Installation

### .NET Tool (Recommended)

```sh
dotnet tool install --global SolanaVanity
```

Or, if you have the `.nupkg` file:

```sh
dotnet tool install --global --add-source ./bin/nupkg SolanaVanity
```

### Requirements

- [.NET 9.0 SDK](https://dotnet.microsoft.com/download/dotnet/9.0) or later

## Usage

After installation, use the `solana-vanity` command:

```sh
solana-vanity --help
# Or
solana-vanity new --help
```

### Example: Generate a keypair with a prefix

```sh
solana-vanity new --prefix boson
```

### Options

| Option | Description |
|--------------------|----------------------------------------------|
| `--prefix` | Match address prefix (e.g., `cs`) |
| `--suffix` | Match address suffix |
| `--contains` | Match address substring |
| `--threads` | Number of threads to use (default: auto) |
| `--case-sensitive` | Use a case sensitive search (default: False) |
| `--help` | Show help and usage |

## Output

For each match, the tool prints:

- The matching Solana address
- The corresponding private key (in base58 or JSON array)

**Example output:**
```
Address: boson1xyz...abc
Private Key: [12, 34, 56, ...]
```

## Security Notice

- **Keep your private keys safe!** Do not share them.
- Generated keys are not stored or transmitted.

## Building from Source

Clone the repository:

```sh
git clone https://github.com/BosonWare-Technologies/SolanaVanity.git
cd SolanaVanity
dotnet build -c Release
```

## License

This project is licensed under the [MIT License](https://opensource.org/licenses/MIT).

## Links

- [GitHub Repository](https://github.com/BosonWare-Technologies/SolanaVanity)
- [NuGet Package](https://www.nuget.org/packages/SolanaVanity)

---

© BosonWare, Technologies. Authored by Realtin (CodingBoson).

## Donations

If you find this project useful and would like to support its development, you can donate SOL to the following address: `3mdMuNXNmTNJvDc3tbYnAGhdVepS5Frt1g5bApLXfChp`