MetaMask / metamask-mobile

Mobile web browser providing access to websites that use the Ethereum blockchain
https://metamask.io
Other
2.05k stars 1.07k forks source link

Deep-links interface should be equivalent to RPC interface #1872

Open danfinlay opened 3 years ago

danfinlay commented 3 years ago

Maintaining our deep link interface is currently a per-method interface.

To simplify maintenance and increase its stability and security, we could build a query-param schema that is equivalent to our JSON-RPC interface, and pass those messages directly to our normal dapp provider infrastructure.

This would allow us to avoid any bugs that could arise from introducing new types of interfaces, like https://github.com/MetaMask/metamask-mobile/issues/1871

Wyctus commented 2 years ago

What is the state of this feature? Is there any way at the moment to call arbitrary function through Metamask Mobile?

matteosistisette commented 2 years ago

Is there a generic URL format to initiate an arbitrary transaction to an arbitrary contact with arbitrary data?? (as opposed to known methods of contracts that implement known interfaces)

ghost commented 1 year ago

Any news on the release of that feature ?

hcaumo commented 1 year ago

I tried to call approve on polygon but not working.

Does someone knows a solution?

vitalif commented 1 year ago

+1, tried to generate EIP-681 links for approve and even for transfer, seems that it doesn't work

aerynquarmby commented 1 year ago

any update on doing approvals with QR Code? e.g. https://metamask.app.link/send/pay-contractAddress/approve?address=receiverAddress&uint256=1e2