Skip to content

tarik0/cuda-pumpfun-vanity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ed25519-gpu-vanity

A CUDA-based miner for finding ED25519 vanity public keys (encoded as Solana Base58 addresses) ending with a specific suffix (default: "pump").

Warning: Keys generated by this tool are NOT SECURE and should not be used for any sensitive applications. Use at your own risk. Note: Base58 encoding on the GPU is less efficient than hex encoding. Expect lower keys/second compared to typical hex vanity address generators.

Building

Ensure CUDA binaries are in your PATH:

export PATH=/usr/local/cuda/bin:$PATH # Adjust path if necessary
make -j$(nproc)

Running

LD_LIBRARY_PATH=./src/release ./src/release/cuda_ed25519_vanity

Configuration

You can adjust the search parameters by editing the src/config.h file and recompiling the project using make.

Key configuration options include:

  • suffix: Change the target suffix string (default: "pump"). Remember to keep it reasonably short for faster searching.
  • STOP_AFTER_KEYS_FOUND: Set how many matching keys should be found before the program stops (default: 100).
  • MAX_ITERATIONS: Limits the total number of iterations the program runs (default: 100000). This acts as a failsafe or time limit.

After modifying src/config.h, rebuild the project:

make clean && make -j$(nproc)

Output

Found keys are collected from the GPU(s) and printed by the host process. Host-side Base58 encoding is used to display the final keys.

When a matching key is found, the output will look like this:

--- MATCH FOUND (GPU <gpu_id>) ---
Public (Base58): [<Base58_public_key_ending_in_suffix>]
Secret (Base58): [<Base58_encoded_64_byte_private_key>]
--------------------------
  • The Public (Base58) key (e.g., ...pump) is the Solana vanity address.
  • The Secret (Base58) key is the 64-byte expanded private key compatible with Solana wallets (e.g., Phantom allows importing via this format).

Note: The Base58 encoding of the public key (which determines the suffix match) is performed on the GPU during the search. The host then re-encodes the raw keys found using Base58 for display.


Based on original work for general HEX suffix finding. Modified to search for Solana Base58 suffixes. NO WARRANTY OR LIABILITY WHATSOEVER.

About

This is a CUDA miner for ED25519 public keys (Pumpfun Random Mint)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 57.2%
  • Cuda 40.1%
  • Makefile 1.4%
  • Shell 1.1%
  • Dockerfile 0.1%
  • Rust 0.1%