Skip to content

feat: support raw transaction#43

Closed
cbrzn wants to merge 1 commit into
provider/add-nonce-and-is-wallet-methodsfrom
feat/support-raw-transaction
Closed

feat: support raw transaction#43
cbrzn wants to merge 1 commit into
provider/add-nonce-and-is-wallet-methodsfrom
feat/support-raw-transaction

Conversation

@cbrzn
Copy link
Copy Markdown
Contributor

@cbrzn cbrzn commented Mar 10, 2023

add support of eth_sendRawTransaction method for signers that are not wallet. now we are able to support transactions from wallets (like metamask) and also jsonrpc provider + signer (with new Wallet(..)) - used mostly in scripts

also, two minor changes:

  • uses the latest version published of ethers-rs (instead of fetching it from github, this fixed the problem of unreachable..)
  • removes unused utils which have been implementation in to ethers-utils wrapper (chore: move ethers utils to its own package #35)

blocked by #42

Copy link
Copy Markdown
Contributor

@krisbitney krisbitney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think signing and sending raw transactions should be automated as part of sendTransaction. I think it should be a conscious choice available to advanced users. Could you add a separate method for sendRawTransaction?

@cbrzn
Copy link
Copy Markdown
Contributor Author

cbrzn commented Mar 13, 2023

I don't think signing and sending raw transactions should be automated as part of sendTransaction. I think it should be a conscious choice available to advanced users. Could you add a separate method for sendRawTransaction?

nice point - will do ser

@cbrzn
Copy link
Copy Markdown
Contributor Author

cbrzn commented Mar 20, 2023

this has been implemented in the provider plugin :)

@cbrzn cbrzn closed this Mar 20, 2023
@cbrzn cbrzn deleted the feat/support-raw-transaction branch August 24, 2023 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants