Post
Topic
Board Development & Technical Discussion
Re: Bitcoin address
by
jennamarble
on 04/07/2021, 13:51:45 UTC
If you quote a post, write beneath it, not inside the quote tags.
Code:
[quote author=BlackHatCoiner link=topic=5347515.msg57383096#msg57383096 date=1625401428]...[/quote]
Write here...

To generate a private key take SHA256(string + n), where n is an ASCII-coded number that starts from 1 and increments as additional keys are needed.
I know how a simple deterministic wallet implemetation would be like and I understood your example. I'm just recommending you to be clearer in the future, especially when you want to buy services from an unknown person in the internet.

Why would i want to use hexadecimal number as string since any number plus alphabet can be represented as string for example i will use my name
Again, it depends on what you want to achieve. If these addresses will be used in the future for funding, then knowing your name can increase my odds to find their private keys. On the other hand, if you used a very large random number, I couldn't stand a chance.

Yes i want to generate vanity address using this Type 1 deterministic wallet
A type 1 deterministic wallet is a simple method of generating addresses from a known starting string, as such it does not allow advanced features such as a Master Public Key. To generate a private key take SHA256(string + n), where n is an ASCII-coded number that starts from 1 and increments as additional keys are needed.
Great. Don't use the brain wallet way. Instead I'd suggest you to do the following; generate a random number between 1 and 2256 - 232 - 977 (secp256k1 range). Instead of having an n variable, just increase that number by 1 each time. Simple as that.

this is understandable I will use 132 bits of entropy as a string plus the increments for extra security and uniqueness plus it would be deterministic for me if whenever I forget I can recover it however the big number is just hard to recover if lost so the point stands that I will use string not my name as I gave that just as an example I will use a string with 132 bits of entropy as that is strong and used by electrum as well but I have to use number with as string+n since using 132 of entropy for single address is not very economical I would say.