Bitcoin Forum
May 06, 2024, 01:54:08 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Safet - A wallet made in JAVA (WIP - Testing purposes only, so far)  (Read 299 times)
Vampobit (OP)
Jr. Member
*
Offline Offline

Activity: 56
Merit: 31


View Profile
January 11, 2023, 08:23:13 AM
 #21

Alright, so if you go to my OP where I have a printed execution example, I could say that my public key starts with 02 and therefore it is compressed, correct ? it must be so, because I used the default method (from bitcoinj) uses a compressed key!

Yes. If you generate many keys, sometimes you will see 02, sometimes 03.
There is great page https://learnmeabitcoin.com/technical/ which could be very helpful for you. All the algorithms are explained there and you may test calculations/examples yourself.

That page is about 2 kinds of public key: https://learnmeabitcoin.com/technical/public-key
Uncompressed public key from your OP would be:
Code:
Private Key: b49bd68e4f1bd220e90871031860009b0b44654268cb1e4dcdca93743fc7961e
04a16995de6cd203c0459a841752fad6941a65ca43a0cbf629f3413d64db7fb24cdcf2530931fba3705b3054de3e16cfacbdfabd32caa9bd2bff42e66e3a45d6ac


Actually, learnmebitcoin helped toooo much in understanding and developing the simple app that I have developed. What would you say about entropy generation ? Would you only use java's SecureRandom ?
1715003648
Hero Member
*
Offline Offline

Posts: 1715003648

View Profile Personal Message (Offline)

Ignore
1715003648
Reply with quote  #2

1715003648
Report to moderator
1715003648
Hero Member
*
Offline Offline

Posts: 1715003648

View Profile Personal Message (Offline)

Ignore
1715003648
Reply with quote  #2

1715003648
Report to moderator
In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
PawGo
Legendary
*
Offline Offline

Activity: 952
Merit: 1367


View Profile
January 11, 2023, 08:27:57 AM
 #22

Actually, learnmebitcoin helped toooo much in understanding and developing the simple app that I have developed. What would you say about entropy generation ? Would you only use java's SecureRandom ?

I do not know.
If it is for learning purposes, you may use whatever you want if it only gives you fun. You may experiment with different inputs etc.
For serious usage I would stay with secure solutions understanding what they really do. You call java method, but what does it mean? Depending on system it may use Windows or Linux entropy source etc - that subject is really wide and you may read a lot about it.

If you base your program purely on user input, you will receive nothing else than brainwallet generator.
Vampobit (OP)
Jr. Member
*
Offline Offline

Activity: 56
Merit: 31


View Profile
January 11, 2023, 08:30:09 AM
 #23

Actually, learnmebitcoin helped toooo much in understanding and developing the simple app that I have developed. What would you say about entropy generation ? Would you only use java's SecureRandom ?

I do not know.
If it is for learning purposes, you may use whatever you want if it only gives you fun. You may experiment with different inputs etc.
For serious usage I would stay with secure solutions understanding what they really do. You call java method, but what does it mean? Depending on system it may use Windows or Linux entropy source etc - that subject is really wide and you may read a lot about it.

If you base your program purely on user input, you will receive nothing else than brainwallet generator.

yes! indeed! thanks! no it's for educational purposes only.
Vampobit (OP)
Jr. Member
*
Offline Offline

Activity: 56
Merit: 31


View Profile
January 11, 2023, 10:32:04 AM
 #24



I added the bech32 address generation, as well as its QR code
I_Anime
Full Member
***
Offline Offline

Activity: 378
Merit: 157



View Profile
January 21, 2023, 02:56:34 PM
 #25

I am currently learning Java. Please can you tell me how long its gonna take base on effort before I can generate wallet address with it and how can I learn  everything about wallet

Vampobit (OP)
Jr. Member
*
Offline Offline

Activity: 56
Merit: 31


View Profile
January 21, 2023, 04:16:53 PM
 #26

I am currently learning Java. Please can you tell me how long its gonna take base on effort before I can generate wallet address with it and how can I learn  everything about wallet

Hi, congrats! It took me approx. 12-15 hours. I work professionally as a java dev since 2018. I don't think that the java part is difficult. However, understanding the theory was a bit tricky. This website helped me a lot https://learnmeabitcoin.com/
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!