Skip to content

What is the purpose of signTransaction? How do you verify the signed tx on-chain? #2744

Answered by ricmoo
adriandelgg asked this question in Q&A
Discussion options

You must be logged in to vote

I don't quite understand what you are trying to do, but that isn't what .signTransaction is for. :)

There isn't really a way to verify a contract in a Contract, unless you write lots of complex Solidity code to parse RLP data, and understand the various transaction envelopes. This would be quite a bit of work. And it would be expensive.

You also cannot batch transactions together using an EOA (externally owned account), and this is something you would require a Smart Contract (SC) to achieve. The most popular SC wallet for executing multiple operations at once is Gnosis Safe if you are looking for a place to start.

If you are looking to verify the hash, as an opaque octet stream, your abo…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@adriandelgg
Comment options

Answer selected by adriandelgg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2743 on March 01, 2022 04:33.