Have you recently heard more about the term dApp?

Want to learn about one of the central components of Web 3 that can earn you millions of bucks?

Let's learn about dApps and how you can get started!

A thread. ↓
1. The internet today

Nearly all websites you visit every day are a perfect model of how the internet works today.

Someone creates a service (a website, e.g.), hosts it somewhere, and has it under complete control.
If you own an app, you decide what happens. You store the data. You can often decide what you do with it.

And most importantly: You can prevent certain users from participating if you don't feel like they deserve to be around.
A client is distributed by hardware under your control and talks to software you built on servers you control.

This is a centralized architecture, and it works well.

Everything is controlled by one entity that manages the service.
2. Enter dApps

dApp is short for decentralized application.

Those applications basically live on a blockchain.

They have no dedicated backend other than the blockchain.

Their APIs are composed of smart contracts executed by blockchain nodes.
Their frontends are often distributed through decentralized systems, although many dApps are still distributed through traditional channels like web hosters.

All data of a dApp is stored on a blockchain and is thus distributed.

No one has complete control over it.
A dApp exists of two components (like traditional apps):

1. A backend (smart contracts deployed to a blockchain)
2. A frontend (hosted somewhere, downloaded by you, executed in your browser)
To create more trust among its users, dApps are often fully open source.

If both source code and development are transparent, people can always see what exactly happens because there are no curtains.

This is, however, not a requirement for any dApp.
3. The goals of dApps

The goal of a dApp is to build a community-powered application that users can trust.

No central entity should control the app, its users, and the data behind it.
Everything is publicly available, and everyone can transparently check what exactly is going on in the dApp at any time.

This helps with detecting potential frauds or misbehavior.
A dApp can leverage the computing power of a whole blockchain network.

The more miners or validators there are, the more computing power to execute smart contract logic.

This helps scalability as long as the blockchain scales.
Thanks to being based on a blockchain, a dApp can leverage cryptocurrencies for payments.

Especially users coming from heavily sanctioned countries or with questionable state authorities can still participate.
4. Nuances of dApps

A full dApp is achievable but sometimes not possible.

This is why there are nuances of dApps.

Some dApps still employ a traditional backend and only partially use blockchain technology.

You could, however, argue that those are no real dApps.
Some dApps only consist of a frontend and leverage existing smart contracts to create something entirely new.

They don't rely on their own smart contract logic and orchestrate existing functionality into something completely new.
5. How to get started

You can start with very little and work your way up slowly.

Get to know a few of the more popular client libraries you will need to interface with blockchains at all.

1. Web3.js
2. ethers.js
Then integrate MetaMask into your frontend, for example.

It's a browser extension that gives you a fully-fledged web wallet.

It's used to:

- Authenticate users
- Sign transactions
- Keep track of crypto and more

metamask.io
Build a site where people can view their coins, for example, and perhaps add charts to see how much they are currently worth in fiat.

Then slowly work your way up until you implement your own smart contracts, with Solidity, e.g.

soliditylang.org
You can even stop right before smart contracts.

You don't need to implement smart contracts to get into Web3. It's perfectly fine to stay the frontend hero you already are.

You can always find a partner that is more interested in the backend part.
The choice is up to you.

The options, however, are limitless.

We have yet to fully discover what awesome things we can build on blockchains and as dApps.
6. Some examples of dApps

To give you an even better idea of what a dApp actually is, you can look at the following examples.
-> Pancake Swap

Pancake Swap is an excellent example of a DeFi dApp.

It's an automated market maker that allows users to exchange cryptocurrencies and participate in yield farms.

pancakeswap.finance
-> Upland

Upland is an exciting example of a decentralized game.

It's a game where you buy, sell, and trade virtual properties mapped to real-world addresses.

upland.me
-> Yup

Yup is something like a decentralized social network where you can rate anything on the internet and get paid for the accuracy of your ratings.

Basically, you are providing a service for everyone else.

yup.io
-> NBA Top Shots

If you haven't heard about it yet, it's about time.

NBA Top Shots is an NFT platform where you can buy valuable moments of the current NBA season.

Trading cards, digitalized and modernized.

nbatopshot.com
7. Thread end

That's it for this thread.

I hope you found something useful for you in it.

If you enjoyed reading this thread, consider dropping a like, retweet the first tweet, and follow me (@oliverjumpertz) for more content like this.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Oliver Jumpertz

Oliver Jumpertz Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @oliverjumpertz

20 Sep
What is a Blockchain?

You hear the term Bitcoin and Blockchain more often these days, but there must be more to the technology than just crypto, or not?

Well, we can take a look at the underlying technology to understand better what it is.

A thread. ↓
1. Foreword

This thread is a high-level overview to give you an intro to blockchain technology.

It doesn't go too much into detail, so you should be able to follow along nicely.
2. Client-Server Architecture

Before we dive into blockchain technology, we should take a look at how most of the internet works.

We need this to understand the fundamental differences between a traditional model and the change blockchain technology brings.
Read 33 tweets
16 Sep
Do you know what many dApp developers struggle with?

Which data to put on-chain. More data on the chain can drive the cost up. Too much data might render your app unusable. Storing fewer data might not be an option.

Here are some ideas for you to fix this.

A thread. ↓
1. Use A Dedicated Database

This approach will make your dApp into an app.

If you bring in central data storage, you can circumvent the limits of some blockchains, but it doesn't keep the promise of being decentralized.
You can store anything that you can't store on-chain in your database and associate it with a user.

Whenever you need that type of data, you fetch it from your database.
Read 13 tweets
16 Sep
I regularly post visual content about JavaScript. And at the moment, this content is a lot about algorithms.

Now it's time for a collection of many of those visuals for any developer interesting in algorithms with JavaScript!

A thread. ↓
1. Check For Palindrome .
2. Reverse A String .
Read 23 tweets
14 Sep
Do you want to get into Web 3.0 as a web developer and take the next step on your awesome journey?

Perfect! 🔥

Time for a small introduction to Web 3.0 development with JavaScript and ethers.js!

A thread. ↓
0. What Is ethers.js?

ethers.js is a JavaScript library that allows you to interact with the Ethereum blockchain, as well as its ecosystem.

Simply stated: You can access your wallet, send transactions, and interact with smart contracts through it.
1. Installation

Let's assume that you already have a JavaScript (frontend) project of any kind set up. If not, do that first.

Before you now install ethers, you should get one last prerequisite: MetaMask.
Read 14 tweets
13 Sep
Do you know what an NFT is?

Some are currently sold for millions, and unknown artists suddenly make a name for themselves and earn hundreds of thousands of dollars.

Let's take a closer look.

A thread. ↓
1. What An NFT Is

Non-fungible tokens (NFTs) are digital assets.

Just imagine a trading card where each card has unique information engraved into it.

No two NFTs are the same and they are thus not interchangeable.
Other than crypto, where one BTC is one, and two BTC are two BTC, two NFTs are one NFT and one NFT.

Just because you have two NFTs of the same type, you cannot sum them up together.
Read 23 tweets
7 Sep
From time to time you read the term Web 3.0. For many of us, however, this term is still mysterious.

Time to shed some light on it and explain what it actually is all about!

A thread. ↓
1. The Web Today

The web as we know it today is actually already Web 2.0.

It is an extension of the original Web (1.0).

In the beginning, the web was meant for websites to provide information and users to consume it.
Web 2.0 changed this and brought the user into the game.

Users started to create the content themselves, while websites became the platform to distribute this new content instead of only consuming information.
Read 26 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(