CryptoDappy

The modern way to learn blockchain

Mission #1

You're still in the midst of figuring everything out and meeting everybody on the team, when suddenly Peter Dappy, the genius product manager pings you on Slack. Looks like he forgot a vital part in this application, and you will have to work on that: Authentication.


Peter Dappy

Product Manager

Hey! Great job with the onboarding ๐Ÿ‘

We totally forgot that we need user authentication for the CryptoDappy game ๐Ÿ™ˆ

It's needed so users can make their Dappy collections and payments in the future...

Can we find a blockchain solution? Thanks ๐Ÿ™


The mission brief

This mission is all about authentication with the blockchain: Signing users in and out of their application by using a wallet.

The starting branch for this mission is starter

Flow Client Library (FCL)

Most blockchain applications consist of three parts: An application frontend, on-chain smart contracts and a wallet. In order to build CryptoDappy, you have to manage these processes in your application. This is where the Flow Client Library comes in.

https://d1mtab9ltfdpua.cloudfront.net/images/FCLGraphic.png

CryptoDappy: FCL primer

To ease into the topic of authentication, this video provides a high-level overview of FCL and how we'll be using it in order to bring authentication to CryptoDappy.

CryptoDappy authentication in one line

After we cleared all the high-level questions, it's now all about writing the actual code. This is easily done with FCL, allowing for authentication in CryptoDappy in just a few lines.

Congratulations! ๐ŸŽ‰ You have successfully provided the authentication feature to the CryptoDappy application! You colleagues congratulate you on your first contribution to the project.