Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Transactions]: Show encoding and decoding of various tx types. #44

Open
yash-atreya opened this issue Apr 2, 2024 · 1 comment
Open
Labels
question Further information is requested

Comments

@yash-atreya
Copy link
Member

Example that shows the encoding and decoding of the following tx types:

  • legacy
  • eip1559
  • eip2930
  • eip4844

Eventually, also add an example for encoding and decoding of ReceiptEnvelope

@zerosnacks
Copy link
Member

From James:

We don't want users to encode/decode TxEip___ or TxLegacy we always want them to wrap it into a TxEnvelope and use the 2718 encoding methods

We should be showing users how to convert a TransactionResponse into a TxEnvelope and then calling .recover_signer() and .tx_hash() and .encode_2718() etc?

@zerosnacks zerosnacks added the question Further information is requested label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants