aptos-labs / aptos-wallet-adapter

A monorepo modular wallet adapter for Aptos applications
https://aptos-labs.github.io/aptos-wallet-adapter/
Apache License 2.0
86 stars 90 forks source link

How to verify Aptos Connect wallet off-chain #370

Open gsong opened 1 month ago

gsong commented 1 month ago

Currently with private key created wallets, you can use the following mechanism to verify wallet ownership off-chain:

  1. signMessage
  2. Send signature, wallet address, and public key to to off-chain server.
  3. Public key can be used to:
    1. Verify the signature
    2. Derive the wallet address or the auth key and verify on-chain

How would you accomplish something like this with a Aptos Connect account?

gsong commented 1 month ago

@hardsetting Any pointers? It seems like you've done a lot of work with Aptos Connect.