Blockchain Smart Contracts with Solidity · Lekcja

Portfele, klucze i transakcje

Poznaj, jak pary kluczy kryptograficznych, adresy i podpisane transakcje pozwalają użytkownikom posiadać aktywa i korzystać z blockchaina Ethereum.

Lekcja 4 z 413 kroki

Portfele, klucze i transakcje to bezpłatna lekcja Blockchain Smart Contracts with Solidity na CoddyKit. To lekcja 4 z 4. 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 Blockchain Smart Contracts with Solidity, a Twój postęp synchronizuje się między webem a aplikacją CoddyKit. Kurs Blockchain Smart Contracts with Solidity zawiera 4 lekcji w sumie.

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

What Is a Crypto Wallet?

A wallet doesn't hold coins - it stores your private key and uses it to sign transactions. Your funds live on the blockchain, controlled by that key.

Public and Private Keys

A wallet is built on an asymmetric key pair. The private key is secret and signs transactions; the public key is derived from it and safe to share.

From Public Key to Address

An Ethereum address is the last 20 bytes of the hashed public key, shown as a hex string starting with 0x. It's your public on-chain identity.

Seed Phrases

Your seed phrase (12 or 24 words) deterministically generates all your keys. Anyone with it controls your funds - keep it offline and never share it.

What Is a Transaction?

A transaction is a signed instruction to change chain state - sending ETH or calling a contract. It carries sender, recipient, value, data, and a nonce.

The Nonce

The nonce is a per-account counter that climbs with every transaction. It blocks replay attacks and forces your transactions to execute in order.

Signing a Transaction

The wallet signs the transaction hash with your private key. The network checks the signature against your address - proving authorization without exposing the key.

Gas and Fees

Every transaction costs gas, paid in ETH, to reward validators for the computation. You set a gas limit and fee; contract calls cost more than a plain transfer.

Transaction Lifecycle

A transaction's lifecycle: pending in the mempool, included in a block, then confirmed as more blocks stack on top. More confirmations mean stronger finality.

Reading a Transaction Receipt

After execution you get a receipt showing status (success or revert), gas used, and any emitted events. Always check the status before assuming success.

Custodial vs Non-Custodial

With a non-custodial wallet you hold the keys and full control. A custodial one (like an exchange) holds them for you - "not your keys, not your coins."

Quick Check

Check your wallet and transaction knowledge.

Recap

Recap: wallets hold keys, not coins; addresses come from public keys; transactions are signed, ordered by nonce, and cost gas; receipts confirm success and custody sets control.

Bezpłatny start

Ucz się Blockchain Smart Contracts with Solidity 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
12
Lekcje
48

Często zadawane pytania

Czy lekcja „Portfele, klucze i transakcje” jest bezpłatna?

Tak — pełny tekst „Portfele, klucze i transakcje” 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 Blockchain Smart Contracts with Solidity, przejdź na CoddyKit PRO. Kurs Blockchain Smart Contracts with Solidity zawiera 4 lekcji w sumie.

Co nauczysz się w „Portfele, klucze i transakcje”?

Poznaj, jak pary kluczy kryptograficznych, adresy i podpisane transakcje pozwalają użytkownikom posiadać aktywa i korzystać z blockchaina Ethereum. Ćwiczysz Blockchain Smart Contracts with Solidity 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ąć Blockchain Smart Contracts with Solidity?

Nie wymagamy żadnego doświadczenia. Blockchain Smart Contracts with Solidity 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 4 z 4.

Ile czasu zajmuje lekcja „Portfele, klucze i transakcje”?

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 Blockchain Smart Contracts with Solidity?

Tak. Każda lekcja Blockchain Smart Contracts with Solidity 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. Czym jest technologia blockchain?
  2. Podstawy Ethereum i EVM
  3. Pański pierwszy kontrakt w Solidity
  4. Portfele, klucze i transakcje
← Powrót do Blockchain Smart Contracts with Solidity