DEV Community

Cover image for How to Learn Web3
Francesco Ciulla
Francesco Ciulla

Posted on • Edited on

How to Learn Web3

Hi, I am Francesco, and I share daily content about Web3 (mainly on Twitter and YouTube)

In this article, I will summarize the steps you can take in order to learn Web3.


Where to Start?

 
When we want to start something new, we need some direction just to don't get stuck at the very beginning.

But we all are different and we have different ways of learning.

This article is based on my very personal experience in learning Web3.


Roadmap

 
I don't like Roadmaps! But reading at least one can help us to have an idea of what we are expecting and to check if we are missing something.

Don't get a Roadmap as a bible to trust and to follow blindly 100%, but as a reminder if you are on the right track.

There are many roadmaps, and I am working on one.

For now I feel recommending the following one:

Complete Web3.0 and Solidity Development Roadmap 2022)
Complete Web3.0 and Solidity Development Roadmap 2022


Intro Article

 
What about the very first piece of content?
I don't suggest jumping straight into code but hold our hands for a while and start by getting a general idea of what is Web3.

This article by Nader Dabit on freecodecamp is a good one to start.

What is Web3? The Decentralized Internet of the Future Explained


Blockchain Fundamentals

 
Starting with the basics concepts you can't really be wrong.

I will link specific resources for each of them, but don't take this as the only one you have to watch to understand the concepts. Take your time because all the time spent here ios time saved later!

Just remember that the Fundamentals are fundamental, so don't skip this part.

  • Web1, Web2, Web3: A good article about the differences between web1, Web2, and Web3
  • What is a Blockchain: an enlightening video to understand the basic of the Blockchain.
  • Distributed Ledger: It's the consensus of replicated, shared, and synchronized digital data that is geographically spread across many sites, countries, or institutions.
  • Cryptocurrencies basics: An intro for an introduction to cryptocurrencies.
  • Smart Contracts: Smart Contracts explained simply, in a 4-minutes video.
  • Crypto-Wallets: An introduction to crypto wallets, connected to the concept of authentication in Web3.
  • Block Explorers: A block explorer is an online tool that enables you to search for real-time and historical information about a blockchain, including data related to blocks, transactions, addresses, and more.
  • Blockchain Oracles: A blockchain oracle is a service that connects smart contracts with the outside world, to feed information from (but also to) the world.
  • NFT Intro: NFTs explained in 4 minutes.
  • DAO Intro: A DAO, or a Decentralized Autonomous Organization, is a company set up to run by code on the blockchain.
  • Dapp Intro: dApps, or Decentralized Applications are apps that run using blockchain technology.

Choose a Blockchain

 
Each Blockchain is an ecosystem, with pros/cons.

Choose a Blockchain to understand concepts and apply them, like deciding to use Node.js to build some API.

I suggest to choose Ethereum for many reasons, the main one is that there is more material about it online.

24 Blockchains


Ethereum Concepts

 

Once you choose the Blockchain you can start learning the fundamental of the specific Blockchain. Some concepts overlaps among the blockchains, but they can be slightly different for each of them.

For Ethereum:

  • Accounts: An account is an entity with an ether (ETH) balance that can send transactions on Ethereum. Accounts can be user-controlled or deployed as smart contracts.
  • Transactions: Transactions are cryptographically signed instructions from accounts.
  • Blocks: Blocks are batches of transactions with a hash of the previous block in the chain.
  • Ethereum Virtual Machine (EVM): The EVM allows developers to create Ethereum smart contracts.
  • Gas: Gas is essential to the Ethereum network. It is the fuel that allows it to operate, in the same way that a car needs gasoline to run.
  • Nodes & Clients: Ethereum is a distributed network of computers (known as nodes) running software that can verify blocks and transaction data. The software application, known as a client, must be run on your computer to turn it into an Ethereum node.
  • Networks: Networks are different Ethereum environments you can access for development, testing, or production use cases.
  • Consensus algorithms: Consensus mechanisms allow distributed systems to work together and stay secure.

Ethereum Concepts (Advanced)

 
If you want to dive a bit deeper, here are some articles and concepts you can look for:

  • Ethereum Whitepaper: An introductory paper to Ethereum, published in 2013 before its launch.
  • Ethereum Trilemma:
  • EndGame (Vitalik Buterin): Vitalik Buterin's vision for a plausible roadmap for Ethereum.
  • Ethereum Yellowpaper: A formal definition of the Ethereum protocol.
  • Beacon Chain: The Beacon Chain is a ledger of accounts that conducts and coordinates the network of stakers.
  • Sidechains: A sidechain is a separate blockchain that runs independent of Ethereum and is connected to Ethereum Mainnet by a two-way bridge.
  • The Merge: The Merge is the most significant upgrade in the history of Ethereum. Extensive testing and bug bounties were undertaken to ensure a safe transition to proof-of-stake.

These are optional!


Choose a Language

 

  • Solidity: good for JavaScript/C++/Python Developers.
  • Vyper: good for Python Developers.
  • Rust: good choice if you chose Solana as blockchain.

I suggest Solidity because it's the most popular one.


Solidity (a blazing fast intro)

 

  • It's an object-oriented, high-level language for implementing Smart Contracts.
  • It's statically typed.
  • It's a curly-bracket language designed to target the Ethereum Virtual Machine.
  • It supports: inheritance, libraries, and complex user-defined types.

This is how a Solidity file (extension: .sol) looks like

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

contract HelloWorld {
    string public greet = "Hello World!";
}
Enter fullscreen mode Exit fullscreen mode

In the next sections, some free resources you can use to learn and start using the solidity programming language.


Solidity Videos

 
Some good YouTube channels to know more about Solidity:


Solidity tools

 


Use a framework

 
Once you get the basics, you can dive deep using these tools and working in a local environment.

  • Metamask: MetaMask is a software cryptocurrency wallet used to interact with the Ethereum blockchain.
  • Vs Code Solidity Extension: VS Code extensions that integrates with the Nethereum code generator to create Contract integration definitions.
  • Truffle: Truffle is a development environment, asset pipeline, and testing framework for developing smart contracts.
  • Hardhat: Hardhat is an Ethereum development environment. Compile your contracts and run them on a development network.
  • Brownie: Brownie is a Python-based development and testing framework for smart contracts.
  • Foundry: Foundry is a fast, portable and modular toolkit for Ethereum application development written in Rust.

Connect the Dapp to Frontend

 
Are you a front-end developer? GOOD!

For once, you don't have to learn a new framework, just use a library to interact with the blockchain!

You can use any frontend Framework (React, Vue, Angular, Svelte...)

Use:

  • Web3.js: web3.js is a collection of libraries that allow you to interact with a local or remote ethereum node using HTTP, IPC or WebSocket.
  • Ether.js: The ethers.js library aims to be a complete and compact library for interacting with the Ethereum Blockchain and its ecosystem.

Decentralized storage

 
Here are some examples of storage you can use to store your data on the blockchain (something similar to databases).

  • IPFS: The InterPlanetary File System is a protocol, hypermedia and file sharing peer-to-peer network for storing and sharing data in a distributed file system.
  • Arweave: Arweave is a data storage protocol. It's built on a technology called "blockweave".
  • FileCoin: Filecoin is an open-source, public cryptocurrency and digital payment system intended to be a blockchain-based cooperative digital storage and data retrieval method. It builds on top of IPFS, and it allows to rent unused hard drive space.

They are a p2p network of user-operators who hold a portion of the overall data.


Mid-level tools

 
Most of them are not complicated. To be honest, they simplify the process, but it's better to discover them after understanding the basics.

  • Testing Tools: Waffle, Ganache
  • OpenZeppelin
  • WalletConnect: WalletConnect is an open source protocol for connecting decentralised applications to mobile wallets with QR code scanning or deep linking.
  • Chainlink: Chainlink is a decentralized oracle networks provide tamper-proof inputs, outputs, and computations to support advanced smart contracts on any blockchain.
  • TheGraph: The Graph is an indexing protocol for organizing blockchain data and making it easily accessible with GraphQL.

SDKs

 
After getting an Idea of what a Dapp is and making some examples, you can decide you want some support and don't write everything on your own.

Here are 3 good ones you can check:

import { Alchemy } from 'alchemy-sdk';

// Using default settings - pass in a settings object to specify your API key and network
const alchemy = new Alchemy();

// Access standard Ethers.js JSON-RPC node request
alchemy.core.getBlockNumber().then(console.log);

// Access Alchemy Enhanced API requests
alchemy.core
  .getTokenBalances('0x3f5CE5FBFe3E9af3971dD833D26bA9b5C936f0bE')
  .then(console.log);

// Access the Alchemy NFT API
alchemy.nft.getNftsForOwner('vitalik.eth').then(console.log);

// Access WebSockets and Alchemy-specific WS methods
alchemy.ws.on(
  {
    method: 'alchemy_pendingTransactions'
  },
  res => console.log(res)
);
Enter fullscreen mode Exit fullscreen mode
// my_script.js
import { ThirdwebSDK } from "@thirdweb-dev/sdk";

// instantiate the SDK in read-only mode (our example is running on `polygon` here)
// all major chains and testnets are supported (e.g. `mainnet`, `rinkeby`, `goerli`, 'polygon', 'mumbai', etc.)
const sdk = new ThirdwebSDK("polygon");

// access your deployed contracts
const nftDrop = sdk.getNFTDrop("0x...");
const marketplace = sdk.getMarketplace("0x...");

// Read from your contracts
const claimedNFTs = await nftDrop.getAllClaimed();
const listings = await marketplace.getActiveListings();
Enter fullscreen mode Exit fullscreen mode
  • Moralis SDK: How to connect to a Moralis Server using the Moralis SDK guide.

This is how to initialize the Moralis SDK

import React from "react";
import ReactDOM from "react-dom";
import "./index.css";
import App from "./App";
import reportWebVitals from "./reportWebVitals";

ReactDOM.render(
  <React.StrictMode>
    <App />
  </React.StrictMode>,
  document.getElementById("root")
);
Enter fullscreen mode Exit fullscreen mode

Build projects

 
Build projects! I leave a couple of places where you can get inspiration for building projects, but there are way more on YouTube


Build in Public

 
Build in Public!

Not a Web3-specific thing, but if you build in public, there are some benefits for you:

  • You get a better understanding of the concepts.
  • You get an audience.
  • You connect with people with the same interests.

All I do is public:
https://github.com/FrancescoXX/free-Web3-resources

Here a video of me followign a tutorial on LearnWeb3 DAO
Image description


Join a Community!

 
Last but not least, joining a community can be super useful.

Good examples:

If you are a Content Creator, You can also join 4C, the Cool Community of Content Creators, the community I founded.

We have a specific section for Web3.

If you are still reading, just leave a feedback.


Thank you!

 
Thanks for reading!
You can find Francesco here

Latest comments (48)

Collapse
 
icolomina profile image
Nacho Colomina Torregrosa

Hey Francesco, great article and resources list !!
I would like to add The soroban stellar platorm as a place to learning more about blockchain and smart contracts.

Collapse
 
francescoxx profile image
Francesco Ciulla

it's plenty of resources. thanks for sharing

Collapse
 
hrtsislian profile image
Hristos Tsislianis • Edited

Thank you Francesco, really helpfull!

Cannot say the same about all you FUD-spreading guys/gals -what are you even doing here?!?...
DYOR with an open mind and you will see the vallue...till then a couple of hints:

Owning your data means something to any of you?
Getting paid -for a change- for using a dApp perhaps?
Freedom of speech maybe? (e.g. not getting your content banned by corporates to their liking?, see YouTube)...

The Future will be Decentralized bb (yes of course its wishfull thinking, but its also definetelly true to an extent, and above all its a "call to arms" to that exact end...).

But ok, lets try something more "objective" perhaps: The future will be written on the Blockchain, for better and for worse! This -alongside others like AI, 5G+, and IoT- is the technology that has the potential -and ultimately will (as its already happening)- enable and host the greatest Dystopia and Eutopia -at the same time!- of all times...

...Stay tuned and enjoy your brand new Holy War. peace

Collapse
 
hrodveltz profile image
Adrian Rodriguez

When 5G and 6G becomes the daily basis people will understand the importance of blockchain and decentralised methodologies, if someone wants to enter the field this is the right moment. Now its time to learn and practice, future will be interesting and even more with the rise of China as the first economy of the world.

Learn and deploy blockchain and decentralised technologies doesn't mean that every single part of the infrastructure are going to be part of it, it only means that we are going to have organizational structures that does not require the devs and users trust.

The difference between Blockchain and other technologies like SOLID is that responsibility lies with the system and not with individuals or organizations.

Collapse
 
andrewbaisden profile image
Andrew Baisden

Thanks this is a really good resource.

Collapse
 
francescoxx profile image
Francesco Ciulla

Thank you Andrew!

Collapse
 
fairolesia profile image
Olesia_Fair • Edited

Great list, Francesco!
I'd like to add few pretty solid resources.
If you don't know too much about blockchain and crypto, start with Binance Academy.

Finematics is a good YT channel for learning about DeFi and Web3 protocols and how they work.

Podcasts like Bankless and Unchained are good for conceptualizing Web3 and where it's headed. Podcasts like Blockchain Software Engineering Daily, Hashing it Out, and Zero Knowledge Podcast help understand more of the engineering side of things.

Collapse
 
mr_destructive profile image
Meet Rajesh Gor

This is really a great read! Thanks for sharing Francesco

Collapse
 
francescoxx profile image
Francesco Ciulla

Thank you Meet!

Collapse
 
perseon profile image
perseon

I'll think I'll pass this version.

Collapse
 
francescoxx profile image
Francesco Ciulla

👌

Collapse
 
marcellathorn profile image
MarcellaThorn

What is the purpose of Web3 and why it matters ?
جلب الحبيب عن طريق اسم امه

Collapse
 
hrodveltz profile image
Adrian Rodriguez

What is the value of putting all the responsibility on a system instead of people? What is the value of transparency on the processes that occurs behind?
What means to you get out of society of the spectacle and start building organizational structures that requires people involvement?
Putting the focus on systems instead of people, that's what blockchain brings to the table.
(I don't like web3 cause is an incorrect nomenclature.)

Collapse
 
nicolasbiondini profile image
NicolasBiondini

I love this article! Thank you so much, it helps me a lot!

Collapse
 
francescoxx profile image
Francesco Ciulla

thank you so much!

Some comments may only be visible to logged-in visitors. Sign in to view all comments.