1

So I was playing around with opensea today and noticed a login feature that uses crypto wallets. I am curious to understand how they achieved it in a native app.

The flow is something like this

  1. User clicks "Log in with metamask" button
  2. App directs users to metamask wallet on their phone (I assume with some deep linking)
  3. Metamask app displays view asking user to sign a message
  4. User signs a message and is then informed that they can return back to the opensea app
  5. Returning back to opensea app now has user authenticated

Really curious to understand how this works especially the last step i.e. how is opensea informed about correct signing?

2
  • Any updates? Did you figure it out? I'm trying to do the same, but without success yet. Commented Nov 8, 2021 at 17:00
  • You have to implement the concept of the DAPP Browser. Just search for it. It will help you.@FedericoMadoery @llja Commented Jan 5, 2022 at 10:38

2 Answers 2

0

This is actually done with metamask Deep link to connect your DApp to metamask https://metamask.app.link/dapp/[Your DApp url]

0

There is a ready open source framework you can utilise, and what those login flows are based on:

Sign in with Ethereum (SIWE).

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.