简体   繁体   中英

How can I sign a transaction with a private key using the REST API Waves?

How can I sign a transaction with a private key using the REST API for WavesPlatform blockchain? Please, give you provide some examples?

There are 2 ways to sign transactions:

  1. By using a node. But that node should know private key of your address. In other words, it should be your node, because you should never and ever send your private key to anybody else.
  2. By using Waves libraries for different languages (python, c#, js, java). Libraries can sign transaction with provided private key and send to the network already signed tx.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM