You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dash-tx is a great command to write raw transactions, but it is missing some important functionality that makes it not suitable on many contexts:
Proposed solution
Add a outmemo option, similar to outdata but using ascii instead of hexa... that will simplify usage a lot.
Add a outchange output type, that calculate a fee for the transaction (see example for more info).
Add support for interactive or secure signing, as currently it requires private keys on the command line, that is really insecure. This functionality could be implemented in several ways, allowing usage of an encrypted file with private keys, adding interoperability with pass or just reading from stdin.
Fee calculation
Fee calculation is important, as it is rather complex (requires knowing the size of the signed transaction) and a bad calculation risks loosing funds, so implementing this in a easy to use way will help a lot. But it requires an extra data that is currently missing, that is the input values.
That will create a transaction to send 0.2 to Xfa and the rest (~0.29990) to Xfb and will sign it using the privatekey that is encrypted on the file.
Context
All those functionality together would make it pretty straightforward to use MAYA without any UI, but I think that it could also help other developers play with dash transactions.
Hope that it makes sense...
The text was updated successfully, but these errors were encountered:
dash-tx
is a great command to write raw transactions, but it is missing some important functionality that makes it not suitable on many contexts:Proposed solution
Add a
outmemo
option, similar tooutdata
but using ascii instead of hexa... that will simplify usage a lot.Add a
outchange
output type, that calculate a fee for the transaction (see example for more info).Add support for interactive or secure signing, as currently it requires private keys on the command line, that is really insecure. This functionality could be implemented in several ways, allowing usage of an encrypted file with private keys, adding interoperability with
pass
or just reading fromstdin
.Fee calculation
Fee calculation is important, as it is rather complex (requires knowing the size of the signed transaction) and a bad calculation risks loosing funds, so implementing this in a easy to use way will help a lot. But it requires an extra data that is currently missing, that is the input values.
Sample usage
That will create a transaction to send 0.2 to Xfa and the rest (~0.29990) to Xfb and will sign it using the privatekey that is encrypted on the file.
Context
All those functionality together would make it pretty straightforward to use MAYA without any UI, but I think that it could also help other developers play with dash transactions.
Hope that it makes sense...
The text was updated successfully, but these errors were encountered: