1
0
This commit is contained in:
Jon Michael Aanes 2024-03-10 20:23:25 +01:00
parent a99bd4d91d
commit 85a959899a
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA
3 changed files with 16 additions and 12 deletions

16
README.md Normal file
View File

@ -0,0 +1,16 @@
# PBC Vanity Address
Tiny vanity address generator for [Partisia Blockchain](https://www.partisiablockchain.com/).
Usage:
```bash
./run.sh "00PREFIX" "SUFFIX"
```
Prefix must include the `00` part.
Based on Jesper Balman Gravgaard's original version, which he kindly shared
with me.
License: Beerware

View File

@ -8,14 +8,6 @@
<packaging>jar</packaging> <packaging>jar</packaging>
<version>4.0.0</version> <version>4.0.0</version>
<licenses>
<license>
<name>AGPL-3.0-or-later</name>
<url>https://www.gnu.org/licenses/agpl.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<repositories> <repositories>
<repository> <repository>
<id>gitlab-partisiablockchain</id> <id>gitlab-partisiablockchain</id>

View File

@ -7,8 +7,6 @@ import com.partisiablockchain.crypto.BlockchainPublicKey;
import com.partisiablockchain.crypto.KeyPair; import com.partisiablockchain.crypto.KeyPair;
/** Search for PBC vanity addresses. /** Search for PBC vanity addresses.
*
* <p>Based on Jesper Balman Gravgaard's original version.
*/ */
public final class PbcVanityAddressSearcher { public final class PbcVanityAddressSearcher {
@ -17,7 +15,6 @@ public final class PbcVanityAddressSearcher {
private static final long INITIAL_PING_INTERVAL = 10_000; private static final long INITIAL_PING_INTERVAL = 10_000;
public static void main(String[] args) throws InterruptedException { public static void main(String[] args) throws InterruptedException {
System.out.println("Args: " + List.of(args));
searchForPrivateKeyWithVanityAddress(args[0], args[1]); searchForPrivateKeyWithVanityAddress(args[0], args[1]);
} }
@ -73,5 +70,4 @@ public final class PbcVanityAddressSearcher {
} }
} }
} }
} }