Improve Transaction Handling: WaitForTransactionReceipt
, Signing, & Keystore
#590
Milestone
WaitForTransactionReceipt
, Signing, & Keystore
#590
Following improvements were raised by @thiagodeev
The
WaitForTransactionReceipt
wasn't working as intended in the examples. Is there any potential issue in the method?The
SignInvokeTransaction
,SignDeployAccountTransaction
, andSignDeclareTransaction
should receive aBroadcast<type>Transaction
instead of a<type>transaction
since is the Broadcast tx that will be sent with the AddTransaction methods. We can also think about having anaccount.SignTransaction
method that under the root calls dynamically one of these methods...We can think about having an
account.AddTransaction
method that under the root calls dynamically one ofAdd<type>Transaction
methods.The
MemKeystore
needs both public and private keys as parameters to be initialized, but sometimes it is a bit difficult to find the public key. Why not just require the private key from the user and use some methods available by the curve package to dynamically derive the public key?The text was updated successfully, but these errors were encountered: