TZIP-10: Wallet Interaction Standard
Evergreen- External reference: https://tzip.tezosagora.org/proposal/tzip-10/#postmessage-transport-browser-extension
TZIP-10: Wallet Interaction Standard
In short, the idea of the standard is to describe how two applications can communicate so that
- one knows what it want to do on a blockchain but it does not possess the private key of the user, hence it cannot sign transactions,
- the other has the client private key and is able to sign and send transactions on the blockchain (it is a hot wallet).
Both can be either a mobile application, or a web page or a browser extension.
The protocol describes the classical forge & sign & inject | send steps, as well as the permission request.
To make them communicate with each other, the protocol suggest to use some third party communication protocol, such as matrix. They call it a P2P mechanism and assume it is decentralized because the architecture of matrix is be design decentralized, while there is no reasonable argument in favor of describing this classical messaging system as peer-to-peer.
— https://tzip.tezosagora.org/proposal/tzip-10/#postmessage-transport-browser-extension
communication between an app (decentralised application on Tezos) and wallet (eg. browser extension).
— https://tzip.tezosagora.org/proposal/tzip-10/#postmessage-transport-browser-extension