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

[Feature Request] Sign the Transaction Method #1

Open
ghost opened this issue Feb 8, 2023 · 1 comment
Open

[Feature Request] Sign the Transaction Method #1

ghost opened this issue Feb 8, 2023 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 8, 2023

Currently, it is not possible to sign a transaction to send it.

Although the line https://github.com/distribworks/xk6-ethereum/blob/main/ethereum.go#L144 shows that it is possible to sign the transaction when xk6 is send the transaction via `sendRawTransaction``

Is it possible to add it?

Best Regards

@vcastellm
Copy link
Member

Hey @baufaker-cw I missed this message sorry, yes, signing transactions happens when you setup a new client with a priv key, xk6 will use that account to sign transactions.

Let me know if that cover your needs.

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

No branches or pull requests

1 participant