Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: #1255 Add Web3 Authentication for Crypto-Newbies #1302

Merged

Conversation

nya-elimu
Copy link
Member

@nya-elimu nya-elimu commented May 31, 2021

PR for 🏆 0xHack Adoption Bounty on Gitcoin

Best crypto-newbie friendly app

Work plan 📆

We will introduce a crypto-newbie to the concept of Web3 by adding the option to sign-in via an Ethereum account to our existing Web2 webapp.

Chosen Persona 👩🏽

Sung, 23, South Korea
A philosophy student. She can't imagine a life without modern technology but has never tried anything related to crypto. She finally got convinced to try out your application by a fellow university student.

Video 🎥

Submission video: https://youtu.be/cpjhEMrjkas

MVP 📱

The MVP has been made available for testing at http://hin.elimu.ai/sign-on

Before the hackathon, we only had two authentication options; Google & GitHub.
Screen Shot 2021-05-31 at 10 29 07 AM

During the hackathon, we added a third authentication option: "Web3".
Screen Shot 2021-05-31 at 10 30 22 AM

Code 👩‍💻

This Git branch has already been merged a few times during the hackathon in order to deploy the changes to a TEST/PROD server so that anyone can change test a live version of the MVP. The code changes can be seen here:

The most interesting code can be seen in these files:

Summarized

  1. Innovation
    The innovative part of this solution, is that it's a very smooth transition into the world of cryptocurrencies for people who are new to Web3/Ethereum. It's an example of not using Ethereum for financial reasons, but rather as a way of identifying oneself for signing onto an existing Web2 website. It's a way to draw more people into the Web3 ecosystem, and it might trigger people's interest to learn more about Web3.

  2. Added value
    One type of value added to the user with this method, is increased privacy. By using only an Ethereum address as the identifier of a person, we do not need to collect their e-mail address or name, which protects the user's privacy.
    The only thing other people on the website will see, is the user's Ethereum address:
    Screen Shot 2021-05-31 at 10 49 52 AM

  3. Technical
    The code works (see live MVP at http://hin.elimu.ai/sign-on). During the hackathon, we focused mainly on MetaMask, and in the future we will add support for other Web3 browsers as well. For code developed during the hackathon, see the "Code" section above.

We think presenting Web3 as a user authentication option side-by-side with existing centralized identity providers (like Google), is a user-friendly way to introduce crypto-newbies to Web3 technologies. Signing onto website via 3rd-party identity providers has been a common practice on Web2 websites for over a decade now, so this user-flow is already well known by most people on the Internet.

@nya-elimu nya-elimu requested a review from a team as a code owner May 31, 2021 08:15
@nya-elimu nya-elimu requested review from jo-elimu, UmenR, Keerthi4308 and So-Somila and removed request for a team May 31, 2021 08:15
UmenR added 2 commits May 31, 2021 13:45
…of github.com:elimu-ai/webapp into feat-#1255-Add-Web3-Authentication-for-Crypto-Newbies
@@ -138,6 +138,10 @@
You no longer need to remember a username/password for every website or app you interact
with, because you can use your Web3 account instead.
</p>
<p>
But not just that, You can use Web3 to do so much more! payments, anonymity and decentralization are
some of the core features of Web3! Take a look at this short video to learn more.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
some of the core features of Web3! Take a look at this short video to learn more.
some of the core features of Web3! Take a look at this short video to learn more:

@nya-elimu nya-elimu merged commit fa44216 into master Jun 2, 2021
@nya-elimu nya-elimu deleted the feat-#1255-Add-Web3-Authentication-for-Crypto-Newbies branch June 2, 2021 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants