Post
Topic
Board Development & Technical Discussion
Merits 2 from 2 users
Re: I made my own code to Create your own Bitcoin address (Python)
by
pooya87
on 19/03/2024, 04:44:33 UTC
⭐ Merited by vapourminer (1) ,ABCbits (1)
One of the reason as to why i wanted full control on my Bitcoin keys creation is because is hard to verify that non-custodial wallets really don't know your private keys. You would need to use a packet sniffer like Wireshark at the moment that you use your seed phrase to access your wallet to see what packets are sent to the wallet provider, and even then, it's hard to know what information is shared to them.
As long as the wallet software you are using is 100% open source, you don't need complicated ways, you can just take a look at its source code to see what it is doing in the background like what data is being sent out to other nodes/servers.
For example you could have just gone though Electrum's source code which happens to be in python to see what it does.

Quote
Another problem i wanted to address is "Entropy". One of the reasons they warn you to not create your own address is because your entropy method might be weak and could be hacked.
Same as above.

Quote
i'm no expert at Bitcoin nor Python
And, can you show me a modification to my code to create a Taproot address?
Well you need to have a good understanding of both Bitcoin and python to be able to write something like that. In any case read my comment here to see how its being done
https://bitcointalk.org/index.php?topic=5461279.msg62621270#msg62621270