immutable / imx-core-sdk-kotlin-jvm

Apache License 2.0
4 stars 2 forks source link

refactor: change signer sign transaction method to send transaction #141

Closed nattb8 closed 1 year ago

nattb8 commented 1 year ago

Summary

Change Signer signTransaction to sendTransaction.

Why the changes

When integrating the Core SDK with the Wallet SDK, I found that most wallets don’t allow eth_signTransaction to sign raw transactions. This limitation means we cannot implement the signTransaction in the Wallet SDK. The fix is to use eth_sendTransaction in the WalletSDK instead, and therefore the Signer signTransaction method needs to change to sendTransaction.

Things worth calling out

Before merging