Coder Social home page Coder Social logo

ardakalayci / ethaddrgen Goto Github PK

View Code? Open in Web Editor NEW

This project forked from limeth/ethaddrgen

0.0 0.0 0.0 197 KB

Custom Ethereum vanity address generator made in Rust

License: GNU General Public License v3.0

Shell 8.19% Rust 89.29% PowerShell 2.51%

ethaddrgen's Introduction

ethaddrgen

Build Status Build status

Custom Ethereum address generator

Get a shiny ethereum address and stand out from the crowd!

asciicast Disclaimer: Do not use the private key shown in this demo; it's public, strangers could steal your Eth. Never share your private key with anyone. It's your and only your responsibility to keep your private key in secret.

Features

  • Regex support (--regex/-e): Use regex pattern matching
  • Quiet mode (--quiet/-q): Output only the results
  • Stream mode (--stream/-s): Keep outputting results
  • Color settings (--color/-c): Enable/Disable colors
  • Dictionary support: If no patterns are provided as arguments, patterns are read from the standard input

Usage

Download the latest release here. To display usage, run ethaddrgen -h or ethaddrgen --help for a longer version. ethaddrgen expects the last arguments to be patterns. If no patterns are provided as arguments, ethaddrgen reads patterns from the standard input where each pattern is on a separate line.

Examples

Simple example

The following command will look for an address starting with either c0ffee, deadbeef or c0c0a. If you are on Windows, use ethaddrgen.exe instead of ethaddrgen.

ethaddrgen c0ffee deadbeef c0c0a

Regex example

The following command will look for an address starting with 10 letters. If you are on Windows, use ethaddrgen.exe instead of ethaddrgen.

ethaddrgen -e '^[abcdef]{10}'

Note that while supplying multiple regex patterns is supported, it is not recommended to use a large list of regex patterns.

Using pattern lists (dictionaries)

If no patterns are provided as arguments, patterns are read from the standard input. You can provide data to the standard input in various ways, depending on your platform:

  • Windows:
Get-Content patterns.txt | ethaddrgen.exe
  • Unix (macOS/Linux):
cat patterns.txt | ethaddrgen
# or
ethaddrgen < patterns.txt

where the patterns.txt file is a newline-separated list of patterns, for example:

c0ffee
deadbeef
c0c0a

It is not recommended to use large pattern lists with regex, as combining these features significantly decreases performance.

Compilation

The easiest way to get ethaddrgen is to download a pre-built binary here. You can also compile it yourself, if you wish so.

  1. Install Rust via Rustup.rs
  2. Clone this repository: git clone https://github.com/Limeth/ethaddrgen.git; cd ethaddrgen
  3. Compile the project: cargo build --release. The binary can then be found at target/release/ethaddrgen or ./target/release/ethaddrgen.exe on Windows machines.

target/release/ethaddrgen -e '^(?:[^0]*0){14,}'

ethaddrgen's People

Contributors

limeth avatar ardakalayci avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.