Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I received 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.
You can find an example in the official Stellar guide.
Make sure that to choose "Java" in code preview.
See also basic examples for account creation here.
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.
6 months ago
15 days ago