I need to build transaction on machine with internet via go sdk and then sign it on offline machine

There is no need for the internet to build the transaction. Only you need to network to submit the transaction to horizon. To build the transaction you can use go SDK and need to export as base64. at the moment as i know we can get the base64 XDR after signed only. So if you want to use multisign then you can sign and build the transaction in go SDK and send the XDR to others and get their signs as well. They can sign through laboratory or even you can provide any client interface where you use one of the stellar SDK and sign and return the XDR. To make the transaction succeed you need to have the internet connection and you need to submit that to stellar horizon.

  • I suspect the use-case is that the transaction is formed from a request coming over the network, saved to disk and signed from cold storage. It's not necessarily multi-sig. – Synesso Aug 2 at 10:16
  • in that case the request can build but to retrieve as base64 we need to sign in go SDK. other wise i dont think there is any way in GO. But its possible in laboratory – Sharmilan Aug 2 at 10:22
  • @Sharmilan Thank you – frankegoesdown Aug 2 at 10:33

While not quite the intention of this question, this functionality is currently fully featured and available in the JavaScript SDK.

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.