Content
@
0 reply
0 recast
2 reactions
andrew
@boop
Been getting questions on how this works. Under the hood, it was important for us to use tried-and-true systems and not reinvent the wheel as we help users access their embedded wallets through RainbowKit, ConnectKit, and many other connector libraries 1/
1 reply
4 recasts
7 reactions
andrew
@boop
We use @coinbase's Mobile Wallet Protocol, which is typically used for connecting to external wallets. We implement the connect handshake, which does a Diffie Hellman cryptographic key exchange to generate a shared secret between an app and the wallet and establish the connection. 2/
1 reply
0 recast
2 reactions
andrew
@boop
Then, at transaction time, the transaction contents are encrypted by the secret before sending to the wallet UI for the user to approve. The wallet will only allow the user to act on these requests if they were encrypted with the shared secret established in the connection handshake. 3/
1 reply
0 recast
1 reaction