connect
deeplink, dapps should include a dapp_encryption_public_key
query parameter. It's recommended to create a new x25519 keypair for every session started with connect
. In all methods, the public key for this keypair is referred to as dapp_encryption_public_key
.connect
deeplink, Phantom will also generate a new x25519 keypair.phantom_encryption_public_key
in the connect
response.dapp_encryption_public_key
and the private key associated with phantom_encryption_public_key
.dapp_encryption_public_key
to shared secrets for use with decryption in subsequent deeplinks.connect
response, the dapp should create a shared secret by using Diffie-Hellman with phantom_encryption_public_key
and the private key associated with dapp_encryption_public_key
. This shared secret should then be used to decrypt the data
field in the response. If done correctly, the user's public key will be available to share with the dapp inside the data
JSON object.dapp_encryption_public_key
(the public key side of the shared secret) used with Phantom along with an encrypted payload
object. data=
query param.data=
query param to view the signature.