Metamask-extension: Feature: eth_signTransaction

Created on 30 Oct 2017  路  6Comments  路  Source: MetaMask/metamask-extension

Any plans to support eth_signTransaction method?

The methods allows to sign a transaction request (same as eth_sendTransaction), but without submitting it to the network. That's useful e.g for scheduling transaction to run in a specific time. Example of such dapp can be found here: https://txsched.parity.io

Unfortunatelly details are only in this PR, the method is not documented on the wiki:
https://github.com/ethereum/go-ethereum/pull/1666

L00-provider L12-nonceSelection P4-someday T01-enhancement

Most helpful comment

All 6 comments

any updates on this?
I'm getting this error: Method eth_signTransaction not supported
This is the line of code:
let signed = await this.adapter.web3.eth.signTransaction(data, coinbase);

Supporting this allows dapps to "brick" a metamask account by consuming a nonce and never submitting the transaction.

This could be mitigated by dapp-specific accounts or retry (re-publish ourselves) and cancel (empty tx at same nonce) buttons. Currently our transaction controller regularly republishes transactions to ensure they stay in the mempool, so we'd also have to disable that.

is there any timeline or date for the possible support of signTransaction?

While the concerns about bricking an account are real, supporting this call would also make it easier for users to interact with dapps on other networks without having to update their Metamask provider list. Metamask's use is a lot broader if it can be treated as a client's generalized signing tool.

Hey guys! We need this feature! Check this out: https://twitter.com/1inchExchange/status/1334992381242961930?s=20

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aakilfernandes picture aakilfernandes  路  3Comments

1blockologist picture 1blockologist  路  3Comments

BMillman19 picture BMillman19  路  3Comments

DISC30 picture DISC30  路  3Comments

kumavis picture kumavis  路  3Comments