Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
129 changes: 113 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
[package]
name = "tinyvanityeth"
version = "1.1.2"
version = "1.2.0"
description = "Tiny and fast command line tool to find vanity Ethereum addresses."
authors = ["Csongor Bokay <8850110+bcsongor@users.noreply.github.com>"]
license = "GPL-3.0-or-later"
keywords = ["blockchain", "ethereum", "ethereum-address", "vanity-address", "vanitygen"]
categories = ["command-line-utilities"]
edition = "2021"
edition = "2024"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
getopts = "0.2"
num_cpus = "1"
regex = "1"
secp256k1 = { version = "0.28", features = ["std", "rand-std", "global-context"] }
secp256k1 = { version = "0.31.1", features = ["rand", "global-context"] }
tiny-keccak = { version = "2", features = ["keccak"] }
rust_decimal = { version = "1", features = ["maths"] }

Expand All @@ -30,4 +30,4 @@ name = "hex"
harness = false

[profile.release]
lto = "fat"
lto = "fat"
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,19 @@ like [secp256k1](https://github.com/rust-bitcoin/rust-secp256k1/) and

Case-insensitive search for an address with the prefix `5eaf00d`. 🍣

**Apple M1 Max** (`stable-aarch64-apple-darwin - rustc 1.61.0`)
**Apple M1 Max** (`stable-aarch64-apple-darwin - rustc 1.89.0`)

| Platform | Speed |
|:----------------------------------------|------------------:|
| tinyvanityeth | ~488,247 addr/sec |
| tinyvanityeth | ~580,748 addr/sec |
| [vanity-eth.tk](https://vanity-eth.tk/) | ~19,047 addr/sec |

**Intel Xeon E5-1620v2** (`stable-x86_64-pc-windows-msvc - rustc 1.61.0`)
**Intel Core i9-13900KS** (`stable-x86_64-pc-windows-msvc - rustc 1.89.0`)

| Platform | Speed |
|:----------------------------------------|-----------------:|
| tinyvanityeth | ~77,084 addr/sec |
| [vanity-eth.tk](https://vanity-eth.tk/) | ~4,889 addr/sec |
| tinyvanityeth | ~934,903 addr/sec |
| [vanity-eth.tk](https://vanity-eth.tk/) | ~51,762 addr/sec |

## 🧑‍💻 Development

Expand Down
2 changes: 1 addition & 1 deletion benches/checksum.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use criterion::{black_box, criterion_group, criterion_main, Criterion};
use criterion::{Criterion, black_box, criterion_group, criterion_main};
use tiny_keccak::{Hasher, Keccak};

const ADDRESS_HEX_LENGTH: usize = 40;
Expand Down
2 changes: 1 addition & 1 deletion benches/hex.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use criterion::{black_box, criterion_group, criterion_main, Criterion};
use criterion::{Criterion, black_box, criterion_group, criterion_main};
use std::fmt::Write;

const KECCAK256_HASH_BYTES_LENGTH: usize = 32;
Expand Down
Loading