openzeppelin-sdk icon indicating copy to clipboard operation
openzeppelin-sdk copied to clipboard

Preview transaction info before sending it in zos send-tx

Open spalladino opened this issue 6 years ago • 2 comments

When using zos send-tx, we can show the user an estimate of how much gas it's going to take, how much it's going to cost in fees (price times estimated gas), and whether it's going to fail or not. We can ask for the user to confirm the tx before sending it then.

spalladino avatar Jun 19 '19 19:06 spalladino

Would it be possible, perhaps with a verbose flag, or "-showTransaction" to show them the actual transaction? I could imagine a use case where someone needs to build a transaction that they would like to copy-paste for something else.

crazyrabbitLTC avatar Jun 20 '19 14:06 crazyrabbitLTC

It would also help to preview gas estimate of calls, not just txs.

spalladino avatar Aug 12 '20 15:08 spalladino