Replies: 4 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
-
@b00f |
Beta Was this translation helpful? Give feedback.
-
What do you mean by interactive? |
Beta Was this translation helpful? Give feedback.
-
Using GUI users can send transactions easier. Also wallet helps user to create and sign transactions by just providing the required information. We can close this discussion now |
Beta Was this translation helpful? Give feedback.
-
zarb tx
command is a good solution for sending a raw transaction to the network offline.User can make a raw transaction first, then using
zarb key
command sign it and later broadcast it to the network manually.However to make it easier, we can have an interactive mode for sending transaction. For example for transfer amount we can have something like this:
zarb tx interactive send --sender=<sender_address> --receiver=<receiver_address> --amount=<amount> --memo=<memo> --endpoint=<grpc_endpoint> --key=<path_to_key> --auth=<key_password>
Using gRPC endpoint we can retrieve latest block hash for the transaction stamp and sender sequence number. Fee also can be calculated from amount. Transaction information can be shown to user like this:
If user agreed with the given information, transaction can be signed:
Then we can broadcast the signed transaction and show the transaction id:
Beta Was this translation helpful? Give feedback.
All reactions