From 982183cc430219ecab993da7e0cc23333a2f2db1 Mon Sep 17 00:00:00 2001 From: Emirhan TALA Date: Sat, 25 Jan 2025 02:39:52 +0300 Subject: [PATCH] I'm questioning my life choices --- Cargo.lock | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ Cargo.toml | 1 + README.md | 3 +++ 3 files changed, 80 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index d94cc02..e22ed4b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -184,6 +184,7 @@ dependencies = [ "memx", "num-bigint", "num-traits", + "openssl", "rand 0.9.0-beta.3", "regex", "secp256k1 0.30.0", @@ -330,6 +331,21 @@ version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" +[[package]] +name = "foreign-types" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" +dependencies = [ + "foreign-types-shared", +] + +[[package]] +name = "foreign-types-shared" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" + [[package]] name = "generic-array" version = "0.14.7" @@ -564,6 +580,60 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" +[[package]] +name = "openssl" +version = "0.10.68" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6174bc48f102d208783c2c84bf931bb75927a617866870de8a4ea85597f871f5" +dependencies = [ + "bitflags", + "cfg-if", + "foreign-types", + "libc", + "once_cell", + "openssl-macros", + "openssl-sys", +] + +[[package]] +name = "openssl-macros" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "openssl-src" +version = "300.4.1+3.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "faa4eac4138c62414b5622d1b31c5c304f34b406b013c079c2bbc652fdd6678c" +dependencies = [ + "cc", +] + +[[package]] +name = "openssl-sys" +version = "0.9.104" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45abf306cbf99debc8195b66b7346498d7b10c210de50418b5ccd7ceba08c741" +dependencies = [ + "cc", + "libc", + "openssl-src", + "pkg-config", + "vcpkg", +] + +[[package]] +name = "pkg-config" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2" + [[package]] name = "ppv-lite86" version = "0.2.20" @@ -849,6 +919,12 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" +[[package]] +name = "vcpkg" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" + [[package]] name = "version_check" version = "0.9.5" diff --git a/Cargo.toml b/Cargo.toml index 4198dde..bb96c3f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,6 +24,7 @@ secp256k1 = { version = "0.30.0", features = ["rand"] } sha3 = "0.11.0-pre.4" log = "0.4.25" memx = "0.1.32" +openssl = { version = "0.10", features = ["vendored"] } [dev-dependencies] tempfile = "3.6" diff --git a/README.md b/README.md index 45cada1..c64605a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # btc-vanity +> [!IMPORTANT] +> For Solana support, see [solana branch](https://github.com/Emivvvvv/btc-vanity/tree/solana) or Crate on [crates.io](https://crates.io/crates/btc-vanity). + A blazingly fast vanity address generator written with the Rust programming language. Supporting Bitcoin and Ethereum. With btc-vanity, you can generate wallets that has custom addresses with prefixes, suffixes, substrings, or even regex patterns.