-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
@todo
- prepare an EIP/ERC standard proposal
- make wallet feature handling concept
-
wallet#2- what is the message format used to communicate directly over.postMessage()? -
wallet#3- whats the minimum functionality a wallet needs to support to "allow features" & which "atomic" features exist today that wallets should or can support and how do they work? -
wallet#4- how do people implement and specify new features a wallet and dapp could support? -
wallet#5- how to grant/revoke permissions?
- implement developer wallet
Most dapps only support one or a few wallets, but users want to use their favorite wallet (e.g. portis, burner, ...) with all dapps out there
solution / proposal
"iframe wallet" could work as follows:
0. [optional] - the user: opens his e.g. walletURL=wallet.html in the browser
the user: opens a dapp in a different browser tabthe dapp: offers a "connect wallet" input field to the userthe user: pastes theirwalletURLand clicks "connect wallet" buttonthe dapp: creates an iframe with userssrc=walletURL(and maybeheight:0; width:0;)the dapp: sends requests to the iframe via.postMessage(msg)the wallet: the tab or browser window with the users wallet (=wallet.html) prompts the user to confirm interaction with the dappthe user: confirms on their wallet page (=wallet.html)the wallet: sends a response to the dapp via .postMessage()the dapp: receives (=window.onmessage) messages from the wallet in this controlled way
=> communication between dapp and user's wallet goes back and forth as the user navigates
Metadata
Metadata
Assignees
Labels
No labels