ethereum-boilerplate / ethereum-react-native-boilerplate

The ultimate full-stack Ethereum React Native Dapp Boilerplate which gives you maximum flexibility and speed. Feel free to fork and contribute. Although this repo is called "Ethereum Boilerplate" it works with any EVM system! Happy BUIDL!👷‍♂️
MIT License
544 stars 286 forks source link

What does 'sign this message' mean? #47

Open socheat-leang opened 2 years ago

socheat-leang commented 2 years ago

Hi all;

I run the project and notice that when I was trying to connect to metamask, I have noticed that I need to press the connect button for the first popup, then the screen move back to metmask for the second time which require me to press on button sign .

photo_2022-05-02_19-16-47

Why do we need to have 2nd popup on MetaMask?

I am really new here. I notice that opensea doesn't have 2nd popup like this.

Is there anyways to not use the 2nd popup?

Thanks;

alexnguyennz commented 2 years ago

That is for authenticating to Moralis. https://docs.moralis.io/misc/faq#why-do-you-use-the-signing-messages-and-other-dapps-dont

OpenSea does do that popup (requiring a signature) e.g. when transferring NFTs.

To do it without signing you will need to connect the wallet manually in code e.g. with MetaMask.