Skip to content

Extract Solana private keys from .txt files in bulk, with duplicate filter. Beginner-friendly TypeScript/Node.js script that scans a folder, filters for valid Solana private keys , and exports them to a single file. Easy setup and usage.

Notifications You must be signed in to change notification settings

ReactOnAuth/solana-private-key-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solana Private Key Extractor

This project scans all .txt files in the Wallets folder and extracts unique Solana private keys (87 or 88 character base58 strings). The results are saved to Output/solana_private_keys.txt.

Setup

  1. Install Node.js (if you don't have it):
  2. Install dependencies:
    npm install

Usage

Run the script with:

npm start

How it works

  • Scans all .txt files in the Wallets folder.
  • Extracts lines that are valid Solana private keys (87 or 88 base58 characters).
  • Removes duplicates.
  • Saves the result to Output/solana_private_keys.txt.

Notes

  • Only private keys are extracted (not public keys or addresses).
  • Make sure your .txt files are inside the Wallets folder.

About

Extract Solana private keys from .txt files in bulk, with duplicate filter. Beginner-friendly TypeScript/Node.js script that scans a folder, filters for valid Solana private keys , and exports them to a single file. Easy setup and usage.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published