jwinterm / LightWallet2

A java based GUI for the Monero simplewallet
15 stars 3 forks source link

Extracting the Java wrapper for the wallet and making it a standalone project #5

Open ghost opened 7 years ago

ghost commented 7 years ago

Hey, @jwinterm!

Even though the official GUI client has rendered the main purpose of the project obsolete, I think it can still be of much use for people who want to build Java-based applications that incorporate Monero by using Monero's JSON-RPC interface, just like https://github.com/priiduneemre/btcd-cli4j is useful for countless Java projects that implement Bitcoin.

Since you're the author, you are the most informed about which files from this project need to be kept and compiled in order to create a Java Monero JSON-RPC wrapper library.

If you are too lazy or disinterested or busy to do this however, I can try to do it myself as well, but I'd be very grateful if you could let me know of some hidden hazards or quirks with regards to your code that I need to take into account to be successful at creating this library.

jwinterm commented 7 years ago

It mainly relies on the libgdx library using scene2d for button and label layout on tables. I don't think it uses many other external libraries. It did use gson, but in the end that somehow got messed up and I resorted to just manually parsing the json text response to keep it working until official gui came out. I don't think the code is in great shape to convert the project to a wrapper library directly, as it's mostly all kind of jumbled together. I would suggest probably using google gson if you are interested in making a wrapper library, and maybe the lightwallet2 project can offer some help. I am fairly lazy and disinterested, but please feel free to ask any questions you might have here or on freenode IRC.