0

When a user unlocks their private key can two things be signed at once?

such as a message as well as a transaction, where the transaction is basically just another message that is meant to be broadcast to the network

even when using a wallet like Metamask I would like only 1 popup to appear.

  • You don't "unlock your private key", you unlock your account using your private key. – goodvibration May 4 '19 at 15:44
  • @goodvibration k, I'll mull over the semantical difference and practicality... any thoughts on whether the account can then be used to sign multiple things at once without further user input? – CQM May 4 '19 at 16:15
  • Your question is too broad and requires some more context in order to be addressed. Please share some code and be more specific as to what it is exactly that you are trying to achieve. – goodvibration May 4 '19 at 17:00
1

You can submit two transactions or messages for signing by just submitting both asynchronously but Metamask will still require the user to approve each. They will appear in the same popup, though.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.