How to Create Your Own BTC and ETH Wallet

7 replies 237 views
benseedFull Member
Posts: 60 · Reputation: 461
#1Sep 5, 2018, 08:53 PM
I noticed some posts asking for a sample BTC wallet with both private and public keys for testing purposes or just for the sake of privacy. I made a BTC program that generates 10 sets of BTC addresses from a single hexadecimal private key, which will also give you ETH addresses. You can grab it from here.
2 Reply Quote Share
Posts: 43 · Reputation: 203
#2Sep 5, 2018, 09:34 PM
not good. what's used for rng seed here? you'll never know. It should be system-dependent at least like in bitcoin core  they use last windows messages to do so src/qt/winshutdownmonitor.cpp it's '17 bitcoin but sure it stays the same. File was unvisited for 5 years or so that time.
1 Reply Quote Share
alt21Senior Member
Posts: 398 · Reputation: 1732
#3Sep 6, 2018, 12:44 AM
I like the idea and the implementation. I haven't checked the technical aspect of the code, but the structure and the outcome look good. I have a similar BASH script in my signature. You can check it out in case you find it interesting too.
2 Reply Quote Share
yield_forkFull Member
Posts: 162 · Reputation: 728
#4Sep 6, 2018, 05:02 AM
Interesting, but I'll give you some opinions and if you want, you can implement them in your code to get better and better: Do you know the BIP39 iancolaman website? It's a website that generates a mnemonic, seed, xprivs, derived keys, addresses, etc. It would be great to have a tool like this without needing to be on the website. It's possible to create this all in a script and run it on your machine. It'd also be interesting for the script to generate all types of existing bitcoin addresses: Another similar interesting site for you to base yourself on, each with one more or less functionality: https://bitcoiner.guide/seed/ https://gugger.guru/cryptography-toolkit/#!/hd-wallet I don't advise anyone to generate wallets based on scripts we find out there, especially from strangers (unless you know how to review the code), as a bug could happen that could make you lose your funds. But as long as you only use it for learning and testing, it's fine. There are several similar scripts that we can find here on the forum and on this board.
2 Reply Quote Share
benseedFull Member
Posts: 60 · Reputation: 461
#5Sep 7, 2018, 01:17 PM
thank you. ❤️
1 Reply Quote Share
benseedFull Member
Posts: 60 · Reputation: 461
#6Sep 7, 2018, 02:29 PM
you mean like a stand alone? ahh. nice... ok. i will get back to you on this. interesting.
3 Reply Quote Share
guru777Full Member
Posts: 118 · Reputation: 795
#7Sep 7, 2018, 05:57 PM
It's recommended to use  use only Bitcoin wallets. Wallets that support scam cryptocurrencies like Ethereum are very risky.
4 Reply Quote Share
Posts: 34 · Reputation: 220
#8Sep 7, 2018, 11:46 PM
Unfortunately, there are many scam Bitcoin wallets that will not allow you to withdraw your coins once you made a deposit. It has nothing to do with generating of keys though because you will never know which private key created that scam address. The generated address will work for the person who scam others.
4 Reply Quote Share

Related topics