In today's offline lecture Harkirat deep dive into a DAPP and why is DAPP and why Solana wallet adapter come to the picture clear every concept of that and we hands on make our own token DAPP in React
DAPP
A DApp (decentralized application) is like an app you use on your phone or computer, but it runs on a blockchain instead of a central server. This means it’s not controlled by one company or person.
Real-Life Examples
- Uniswap: Imagine a farmer's market where people trade fruits directly with each other. Uniswap is like that market for cryptocurrencies. You can swap one coin for another without needing a bank or middleman. You just connect your digital wallet, and you’re good to go!
- OpenSea: Think of this as an art gallery but for digital art (NFTs). Anyone can buy or sell art pieces directly without needing a gallery owner. You connect your wallet to make a purchase, and the art is transferred to you.
How DApps Work
- Smart Contracts: These are like vending machines. You put in money and select a product, and the machine gives it to you. In DApps, smart contracts handle transactions automatically based on rules coded into them.
- Wallets: You need a digital wallet to use DApps, just like you need a physical wallet to carry cash. Your wallet keeps your private keys safe, which are like secret passwords that let you access your money.
Why Use DApps
- Transparency: Just like everyone can see prices at a farmer's market, everyone can see transactions on a blockchain. This builds trust.
- Control: You own your digital assets. No one can take them away from you like a bank might freeze your account.
- Censorship Resistance: It’s hard to shut down a farmer's market, just like it’s hard to shut down a DApp. They can keep running even if some people don’t like them.
Summary
So, a DApp is like a marketplace or gallery that runs on the internet but is powered by blockchain technology. You use your wallet to trade or buy things directly, without needing a middleman. It's safe, transparent, and gives you control!
Solana Wallet Adapter
The Solana Wallet Adapter is a tool that connects your digital wallet to decentralized applications (DApps) on the Solana blockchain, allowing you to easily interact with them.
Real-Life Example: Renting a Bicycle
Imagine you want to rent a bicycle from a rental shop.