Sending a Transaction
Once a web application is connected to StarKey, it can prompt the user for permission to send transactions on their behalf.
To send a transaction, you will need to have a valid transaction object. It should look a little like this:
However, this transaction object needs to be signed using the sender's private key. This ensures that only the person holding the private key can send transactions from the public address.
To prompt StarKey to send a transaction to the network, use the following code snippet:
Last updated