distribworks / xk6-ethereum

K6 extension for ethereum protocols

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] Sign the Transaction Method

opened this issue · comments

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

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.