Web3 & DApp Development Fundamentals · Lekcja

Wprowadzenie do MetaMask

Skonfiguruj MetaMask, popularny portfel będący rozszerzeniem przeglądarki, i poznaj jego rolę w interakcji z DApps.

Lekcja 3 z 311 kroki

Wprowadzenie do MetaMask to bezpłatna lekcja Web3 & DApp Development Fundamentals na CoddyKit. To lekcja 3 z 3. Możesz przeczytać całą lekcję poniżej za darmo — a potem ćwiczyć ją interaktywnie w przeglądarce z wbudowanym edytorem kodu i tutorem AI dostępnym 24/7. To część ścieżki edukacyjnej Web3 & DApp Development Fundamentals, a Twój postęp synchronizuje się między webem a aplikacją CoddyKit. Kurs Web3 & DApp Development Fundamentals zawiera 3 lekcji w sumie.

Części tej lekcji nie zostały jeszcze przetłumaczone i są wyświetlane po angielsku.

MetaMask: Your Web3 Gateway!

MetaMask is a popular cryptocurrency wallet that functions as a browser extension. It allows you to store and manage your digital assets, like Ether (ETH) and other tokens.

Think of it as a secure bridge between your web browser and the Ethereum blockchain. It's essential for interacting with most decentralized applications (DApps).

Get MetaMask: Browser Installation

MetaMask is available for popular browsers like Chrome, Firefox, Brave, and Edge. Installation is straightforward, just like any other browser extension.

  • Step 1: Visit the official MetaMask website.
  • Step 2: Click 'Download' and select your browser.
  • Step 3: Add the extension to your browser.

Always download from the official site to avoid fake versions!

Create or Import Your Wallet

After installation, you'll be prompted to set up your wallet. You have two options:

  • Create a new wallet: This is for new users. MetaMask will generate a new set of keys for you.
  • Import wallet: If you already have a wallet, you can import it using your Secret Recovery Phrase.

For this lesson, we'll focus on creating a new one.

Guard Your Secret Recovery Phrase!

When creating a new wallet, MetaMask will show you a 12-word Secret Recovery Phrase (also called a seed phrase or mnemonic).

  • This phrase is the master key to ALL your crypto assets.
  • Write it down physically and store it in a very safe, private place.
  • NEVER share it with anyone, type it online, or store it digitally.

Losing it means losing access to your funds; sharing it means someone else gains access.

Set a Strong Password

After securing your Secret Recovery Phrase, you'll create a password for your MetaMask wallet. This password:

  • Encrypts your wallet on your local device.
  • Is required each time you open the extension or confirm transactions (if set to auto-lock).

Remember, this password protects local access; the Secret Recovery Phrase is the ultimate backup.

Navigating Your MetaMask Wallet

Once set up, the MetaMask interface shows key information:

  • Account Address: Your public address for receiving funds.
  • Network Selector: Shows which blockchain network you're connected to (e.g., Ethereum Mainnet).
  • Asset List: Displays your cryptocurrencies and tokens.
  • Activity Tab: Shows your transaction history.

This is your control panel for Web3!

Connecting MetaMask to DApps

MetaMask's primary role is to connect you to DApps. When you visit a DApp, it will often prompt you to 'Connect Wallet'.

  • Clicking this usually triggers a MetaMask pop-up.
  • You approve the connection, allowing the DApp to view your public address.
  • The DApp can then propose transactions for you to sign and approve.

Always review the DApp's requested permissions carefully!

Switching Between Blockchain Networks

MetaMask supports various EVM-compatible networks. The network selector at the top allows you to switch between them:

  • Ethereum Mainnet: The primary, live Ethereum blockchain.
  • Testnets (e.g., Sepolia, Goerli): Replica networks for developers to test DApps without using real funds.
  • Custom RPC: For connecting to other EVM chains (e.g., Polygon, BNB Smart Chain) or local development environments.

Ensure you're on the correct network for the DApp you're using!

Displaying Your Custom Tokens

MetaMask automatically displays common tokens. However, for less common ERC-20 tokens, you might need to add them manually:

  • Go to the 'Assets' tab and click 'Import tokens'.
  • Enter the token's contract address.
  • MetaMask will usually auto-fill the token symbol and decimals.

This doesn't move the token, it just makes it visible in your wallet!

MetaMask Knowledge Check

Which of the following best describes the primary purpose of MetaMask's Secret Recovery Phrase?

MetaMask: Your Web3 Passport

You've now learned how to set up and navigate MetaMask!

  • It's your secure browser extension wallet.
  • The Secret Recovery Phrase is crucial for recovery, keep it safe!
  • MetaMask connects you seamlessly to DApps.
  • You can manage assets and switch between different blockchain networks.

Practice interacting with some DApps to get comfortable using your new Web3 passport!

Bezpłatny start

Ucz się Web3 & DApp Development Fundamentals dzięki korepetycjom AI — za darmo

Pisz i uruchamiaj kod w przeglądarce, otrzymuj natychmiastową pomoc od korepetytora AI dostępnego 24/7 i kontynuuj naukę w sieci lub w aplikacji.

Kursy
29
Lekcje
105

Często zadawane pytania

Czy lekcja „Wprowadzenie do MetaMask” jest bezpłatna?

Tak — pełny tekst „Wprowadzenie do MetaMask” jest dostępny za darmo tutaj w sieci. Aby ćwiczyć ją interaktywnie (wbudowany edytor kodu i tutor AI dostępny 24/7) i odblokować resztę kursu Web3 & DApp Development Fundamentals, przejdź na CoddyKit PRO. Kurs Web3 & DApp Development Fundamentals zawiera 3 lekcji w sumie.

Co nauczysz się w „Wprowadzenie do MetaMask”?

Skonfiguruj MetaMask, popularny portfel będący rozszerzeniem przeglądarki, i poznaj jego rolę w interakcji z DApps. Ćwiczysz Web3 & DApp Development Fundamentals z praktycznym kodem, który uruchamiasz bezpośrednio w przeglądarce, a tutor AI dostępny 24/7 odpowiada na Twoje pytania podczas pracy nad lekcją.

Czy potrzebuję doświadczenia, aby zacząć Web3 & DApp Development Fundamentals?

Nie wymagamy żadnego doświadczenia. Web3 & DApp Development Fundamentals w CoddyKit jest strukturyzowany dla początkujących i zaawansowanych użytkowników, więc możesz zacząć tutaj lub od początku i uczyć się w swoim tempie. To lekcja 3 z 3.

Ile czasu zajmuje lekcja „Wprowadzenie do MetaMask”?

Większość lekcji CoddyKit trwa około 5–10 minut. Każda lekcja to mały, interaktywny krok, dzięki czemu robisz systematyczne postępy i zawsze wracasz dokładnie do tego samego miejsca — na webie i w aplikacji.

Czy mogę pisać i uruchamiać kod w tej lekcji Web3 & DApp Development Fundamentals?

Tak. Każda lekcja Web3 & DApp Development Fundamentals zawiera wbudowany edytor kodu, więc piszesz i uruchamiasz prawdziwy kod bezpośrednio w przeglądarce i od razu otrzymujesz sprzężenie zwrotne od AI — bez konfiguracji na komputerze.

Wszystkie lekcje w tym kursie

  1. Kryptografia dla blockchainów
  2. Klucze publiczne i prywatne oraz portfele
  3. Wprowadzenie do MetaMask
← Powrót do Web3 & DApp Development Fundamentals