📜 ⬆️ ⬇️

Idea: anonymous registration / authorization using the Ethereum + Metamask network, without emails, etc.

Surely many have heard about social networks based on the blockchain. And someone may even have tried it in action. But often we hear the following reviews on this:


From myself I will add: it is wildly startling that crypto-social networks that drown for anonymity and decentralization require email and phone numbers for registration. I am generally a king.

Is it possible to make registration through a crypt convenient and free? And so that nothing more was needed (neither usernames, nor mail, nor telephone, etc.). I answered this question positively for myself. And although the implementation of registration without email, etc. - this is already on the conscience of the final developer and the chosen platform, but directly free registration via the blockchain - ethereum provides.
')
To help us for this, the Metamask plugin and this demo repository (look at it as a demo ), the link to which can be found in the official documentation.

The idea is that crypto-signed messages are used from which you can extract the sender's address and be sure that the message was sent to them. Accordingly, this address is used for authorization. That is, when a user registers on the site, he sends only his ethereum address and a signed message, proving that he is the one. The signature verification mechanism itself is provided by ethereum. You on your side just have to create an account for it and authorize it. It does not need to pay anything, replenish the wallet, etc. And most importantly - it does not require the creation of any contracts (as many try to do it).

This is how it works for me.

Source: https://habr.com/ru/post/459404/


All Articles