I received the XDR envelope of a transaction. I need to sign it and submit using Java SDK.
I am able to decode the XDR, but need help on how to sign and submit.
Have a look at my kotlin wrapper. It uses the official sdk and I have lots of tests that do things like creating assets, trustlines, doing payments, and placing offers.
Intended for kotlin users but should be usable from Java as well.