Vanity address generation for Segwit?

3

1

Vanity address generation is currently strightforward for "old" Bitcoin addresses (starting with 1) with multiple software options available (oclvanitygen e.t.c).

Is there any options to generate SegWit Vanity address (starting with 3)? Or it is already possible to configure existing software for Segwit addresses?

BarsMonster

Posted 2017-08-08T21:12:26.263

Reputation: 217

I think you're confusing segwit with P2SH, addresses starting with 3 are P2SH addressesMeshCollider 2017-08-08T21:17:03.847

2SegWit addresses uses P2SH until BIP173 gets deployed.Pieter Wuille 2017-08-08T21:44:31.877

also look at the discussion thread here: https://bitcointalk.org/index.php?topic=2934774.0

pebwindkraft 2018-02-25T08:38:40.677

Answers

3

There it is (for a while already):

even with an (inefficient) approach for vanity addresses.

And this lad is probably going to implement it later on: http://bitcoin-gen.org/ . you could of course support him doing so.

have fun

vv01f

Posted 2017-08-08T21:12:26.263

Reputation: 159

1How is this an accepted answer? The proposed link just generates random addresses, not vanity addresses (addresses starting with a predefined character sequence)oisyn 2018-01-22T11:55:09.307

that is because the dev removed it - but you are free to checkout an revert that change for the purpose or reimplement it. today also adding a c implementation to the list.

vv01f 2018-04-15T09:47:56.780

3

Segwit, until BIP 173 is widely used, uses P2SH addresses. These addresses currently begin with a 3 and you can find them on the blockchain right now.

AFAIK, there is no software which will produce vanity P2SH addresses since there isn't just one thing that it can try over and over; the address is based on a script which could have anything, unlike the 1... Bitcoin addresses which are only based on one public key.

Since there are no P2SH vanity address generators, there is not one for Segwit. However it would not be hard to make such a software.

Andrew Chow

Posted 2017-08-08T21:12:26.263

Reputation: 40 910

1It's important to clarify that not all addresses that start with 3 are segwit.Nathan Parker 2018-01-27T07:27:07.020

2

I just made one recently as a fun free time project - https://github.com/kristapsk/segvan

Kristaps Kaupe

Posted 2017-08-08T21:12:26.263

Reputation: 121

neat, just added your link above besides another c implementation, maybe you are interested if you didnt see it yetvv01f 2018-04-15T10:03:25.600

1

VanitySearch supports standard P2PKH addresses and P2SH and BECH32 segwit addresses.

Performance on a GeForce 1050 Ti (compressed addresses):

  • P2PKH: 226 MKey/s (Add starting with 1)
  • P2SH: 122 MKey/s (Add starting with 3)
  • BECH32: 226 MKey/s (Add starting with bc1q)

Jean-Luc Pons

Posted 2017-08-08T21:12:26.263

Reputation: 11