I now have a requirement, and the scenario looks like this
I generated a TX through the Golang SDK
Sign the TX through jS-SDK
Send the signature to the Golang SDK
The Golang SDK does node broadcasting
The whole process should be successful in theory, because I am not very familiar with JS-SDK and not very familiar with the syntax. Could you please tell me how JS-SDK can sign TX with the private key? Which method should be called?