Difference between revisions of "VanityGen"
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
it has three parameters, string to search for, start_with, end_with | it has three parameters, string to search for, start_with, end_with | ||
if both start_with and end_width are false, then it will look for the string anywhere in the address. | if both start_with and end_width are false, then it will look for the string anywhere in the address. | ||
+ | |||
+ | When it finds a matching solution, it prints it and a json blob. | ||
+ | You can take the json blob and import it into a wallet with | ||
+ | SnowBlossomClient import command. | ||
+ | |||
''' | ''' | ||
Line 51: | Line 56: | ||
} | } | ||
} | } | ||
+ | ''' | ||
+ | |||
+ | ''' | ||
+ | $ bazel-bin/VanityGen yes false false | ||
+ | snow:38a2scz7yesq8jvlhspm74cgqzz56dg5xws7386x | ||
+ | Checked 683 at rate 136.6 | ||
+ | { | ||
+ | "keys": [{ | ||
+ | "signatureType": 1, | ||
+ | "publicKey": "A85BqjMgQviLzr6gfPSditZA+iailP8VtghD8d2Zk0aG", | ||
+ | "privateKey": | ||
+ | "MIGNAgEAMBAGByqGSM49AgEGBSuBBAAKBHYwdAIBAQQghONa9Mr9Ojxc60IEbblcPxVzz4O8+DMlhpZNrg89GrqgBwYFK4EEAAqhRANCAATOQaozIEL4i86+oHz0nYrWQPomopT/FbYIQ/HdmZNGhobMBGqPYQS4CsRc2pl1WDcbQcB7UjBycx8ZonvVld4R" | ||
+ | }], | ||
+ | "addresses": [{ | ||
+ | "requiredSigners": 1, | ||
+ | "sigSpecs": [{ | ||
+ | "signatureType": 1, | ||
+ | "publicKey": "A85BqjMgQviLzr6gfPSditZA+iailP8VtghD8d2Zk0aG" | ||
+ | }] | ||
+ | }], | ||
+ | "usedAddresses": { | ||
+ | "snow:38a2scz7yesq8jvlhspm74cgqzz56dg5xws7386x": true | ||
+ | } | ||
+ | } | ||
+ | ''' | ||
+ | |||
+ | |||
+ | In this example: sbc is SnowBlossomClient | ||
+ | |||
+ | ''' | ||
+ | $ sbc vanity-show.conf import yes1.txt | ||
+ | Nov 29, 2018 4:00:35 PM snowblossom.client.SnowBlossomClient <init> | ||
+ | INFO: Starting SnowBlossomClient version 1.4.2-dev | ||
+ | Nov 29, 2018 4:00:36 PM snowblossom.client.SnowBlossomClient main | ||
+ | INFO: Imported data: | ||
+ | Wallet Keys: 1, Addresses: 1, Fresh pool: 0 | ||
+ | 1of1 ECDSA: 1 | ||
+ | $ sbc vanity-show.conf import yes2.txt | ||
+ | Nov 29, 2018 4:00:39 PM snowblossom.client.SnowBlossomClient <init> | ||
+ | INFO: Starting SnowBlossomClient version 1.4.2-dev | ||
+ | Nov 29, 2018 4:00:40 PM snowblossom.client.SnowBlossomClient main | ||
+ | INFO: Imported data: | ||
+ | Wallet Keys: 1, Addresses: 1, Fresh pool: 0 | ||
+ | 1of1 ECDSA: 1 | ||
+ | $ sbc vanity-show.conf import yes3.txt | ||
+ | Nov 29, 2018 4:00:43 PM snowblossom.client.SnowBlossomClient <init> | ||
+ | INFO: Starting SnowBlossomClient version 1.4.2-dev | ||
+ | Nov 29, 2018 4:00:44 PM snowblossom.client.SnowBlossomClient main | ||
+ | INFO: Imported data: | ||
+ | Wallet Keys: 1, Addresses: 1, Fresh pool: 0 | ||
+ | 1of1 ECDSA: 1 | ||
+ | $ sbc vanity-show.conf balance | ||
+ | Nov 29, 2018 4:00:51 PM snowblossom.client.SnowBlossomClient <init> | ||
+ | INFO: Starting SnowBlossomClient version 1.4.2-dev | ||
+ | Address: snow:38a2scz7yesq8jvlhspm74cgqzz56dg5xws7386x - 0.000000 (0.000000 pending) in 0 outputs | ||
+ | Address: snow:4f9wka2px6guu9u4hthqchua2ztvllkm6h6usyes - 0.000000 (0.000000 pending) in 0 outputs | ||
+ | Address: snow:yes82yugtnk0wly4ak5fts0gf6q69aps46menck0 - 0.000000 (0.000000 pending) in 0 outputs | ||
+ | Total: 0.000000 (0.000000 pending) (0.000000 spendable) | ||
''' | ''' |
Latest revision as of 00:02, 30 November 2018
VanityGen is terrible.
it has three parameters, string to search for, start_with, end_with if both start_with and end_width are false, then it will look for the string anywhere in the address.
When it finds a matching solution, it prints it and a json blob. You can take the json blob and import it into a wallet with SnowBlossomClient import command.
$ bazel-bin/VanityGen yes true false snow:yes82yugtnk0wly4ak5fts0gf6q69aps46menck0 Checked 6393 at rate 1278.6 { "keys": [{ "signatureType": 1, "publicKey": "A/Ox1t7BEnMCBnT5km/v7M4IZNpOPRe6CLq86tWJMOJ6", "privateKey": "MIGNAgEAMBAGByqGSM49AgEGBSuBBAAKBHYwdAIBAQQgbyzxIobU3p8jTjOxERQn8U/AjFWtGRCRP4Qwe/YFAvGgBwYFK4EEAAqhRANCAATzsdbewRJzAgZ0+ZJv7+zOCGTaTj0Xugi6vOrViTDierc8KWliyrQpu7YrzTPBuxvRmvoegCyn2AMVjOca6e4d" }], "addresses": [{ "requiredSigners": 1, "sigSpecs": [{ "signatureType": 1, "publicKey": "A/Ox1t7BEnMCBnT5km/v7M4IZNpOPRe6CLq86tWJMOJ6" }] }], "usedAddresses": { "snow:yes82yugtnk0wly4ak5fts0gf6q69aps46menck0": true } }
$ bazel-bin/VanityGen yes false true Checked 16450 at rate 3290.0 snow:4f9wka2px6guu9u4hthqchua2ztvllkm6h6usyes Checked 30240 at rate 2758.0 { "keys": [{ "signatureType": 1, "publicKey": "A2VKYXFMv7OXJQOCKHuSLMAstfXxAfLopUlruyP0Uo2e", "privateKey": "MIGNAgEAMBAGByqGSM49AgEGBSuBBAAKBHYwdAIBAQQgTUAAhYlc2OaCejQMr10EtAHKcNfLbJiFpjMupf/3J36gBwYFK4EEAAqhRANCAARlSmFxTL+zlyUDgih7kizALLX18QHy6KVJa7sj9FKNnvkVrSNBNEweCe1HVsu8hdvCC1WXCVPR1TvsWH+oV5Nb" }], "addresses": [{ "requiredSigners": 1, "sigSpecs": [{ "signatureType": 1, "publicKey": "A2VKYXFMv7OXJQOCKHuSLMAstfXxAfLopUlruyP0Uo2e" }] }], "usedAddresses": { "snow:4f9wka2px6guu9u4hthqchua2ztvllkm6h6usyes": true } }
$ bazel-bin/VanityGen yes false false snow:38a2scz7yesq8jvlhspm74cgqzz56dg5xws7386x Checked 683 at rate 136.6 { "keys": [{ "signatureType": 1, "publicKey": "A85BqjMgQviLzr6gfPSditZA+iailP8VtghD8d2Zk0aG", "privateKey": "MIGNAgEAMBAGByqGSM49AgEGBSuBBAAKBHYwdAIBAQQghONa9Mr9Ojxc60IEbblcPxVzz4O8+DMlhpZNrg89GrqgBwYFK4EEAAqhRANCAATOQaozIEL4i86+oHz0nYrWQPomopT/FbYIQ/HdmZNGhobMBGqPYQS4CsRc2pl1WDcbQcB7UjBycx8ZonvVld4R" }], "addresses": [{ "requiredSigners": 1, "sigSpecs": [{ "signatureType": 1, "publicKey": "A85BqjMgQviLzr6gfPSditZA+iailP8VtghD8d2Zk0aG" }] }], "usedAddresses": { "snow:38a2scz7yesq8jvlhspm74cgqzz56dg5xws7386x": true } }
In this example: sbc is SnowBlossomClient
$ sbc vanity-show.conf import yes1.txt Nov 29, 2018 4:00:35 PM snowblossom.client.SnowBlossomClient <init> INFO: Starting SnowBlossomClient version 1.4.2-dev Nov 29, 2018 4:00:36 PM snowblossom.client.SnowBlossomClient main INFO: Imported data: Wallet Keys: 1, Addresses: 1, Fresh pool: 0 1of1 ECDSA: 1 $ sbc vanity-show.conf import yes2.txt Nov 29, 2018 4:00:39 PM snowblossom.client.SnowBlossomClient <init> INFO: Starting SnowBlossomClient version 1.4.2-dev Nov 29, 2018 4:00:40 PM snowblossom.client.SnowBlossomClient main INFO: Imported data: Wallet Keys: 1, Addresses: 1, Fresh pool: 0 1of1 ECDSA: 1 $ sbc vanity-show.conf import yes3.txt Nov 29, 2018 4:00:43 PM snowblossom.client.SnowBlossomClient <init> INFO: Starting SnowBlossomClient version 1.4.2-dev Nov 29, 2018 4:00:44 PM snowblossom.client.SnowBlossomClient main INFO: Imported data: Wallet Keys: 1, Addresses: 1, Fresh pool: 0 1of1 ECDSA: 1 $ sbc vanity-show.conf balance Nov 29, 2018 4:00:51 PM snowblossom.client.SnowBlossomClient <init> INFO: Starting SnowBlossomClient version 1.4.2-dev Address: snow:38a2scz7yesq8jvlhspm74cgqzz56dg5xws7386x - 0.000000 (0.000000 pending) in 0 outputs Address: snow:4f9wka2px6guu9u4hthqchua2ztvllkm6h6usyes - 0.000000 (0.000000 pending) in 0 outputs Address: snow:yes82yugtnk0wly4ak5fts0gf6q69aps46menck0 - 0.000000 (0.000000 pending) in 0 outputs Total: 0.000000 (0.000000 pending) (0.000000 spendable)