0Pricing
Blockchain Smart Contracts with Solidity · บทเรียน

กระเป๋า คีย์ และธุรกรรม

ทำความเข้าใจว่าคู่คีย์เข้ารหัส ที่อยู่ และธุรกรรมที่ลงนามแล้ว ช่วยให้ผู้ใช้เป็นเจ้าของสินทรัพย์และโต้ตอบกับบล็อกเชน Ethereum ได้อย่างไร

กระเป๋า คีย์ และธุรกรรม เป็นบทเรียน Blockchain Smart Contracts with Solidity ฟรีบน CoddyKit นี่คือบทเรียนที่ 4 จากทั้งหมด 4 บทเรียน คุณสามารถอ่านบทเรียนทั้งหมดด้านล่างฟรี — จากนั้นลองปฏิบัติด้วยตัวคุณเองในเบราว์เซอร์พร้อมตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 24/7 บทเรียนนี้เป็นส่วนหนึ่งของเส้นทางการเรียน Blockchain Smart Contracts with Solidity และความก้าวหน้าของคุณจะซิงค์ข้ามเว็บและแอป CoddyKit คอร์ส Blockchain Smart Contracts with Solidity มีบทเรียนทั้งหมด 4 บทเรียน

บางส่วนของบทเรียนนี้ยังไม่ได้รับการแปล และแสดงเป็นภาษาอังกฤษ

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.

คำถามที่พบบ่อย

บทเรียน “กระเป๋า คีย์ และธุรกรรม” ฟรีหรือไม่

ใช่ — ข้อความเต็มของ “กระเป๋า คีย์ และธุรกรรม” ฟรีให้อ่านที่นี่บนเว็บ เพื่อปฏิบัติแบบโต้ตอบ (ตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 24/7) และปลดล็อคส่วนที่เหลือของคอร์ส Blockchain Smart Contracts with Solidity ให้อัปเกรดเป็น CoddyKit PRO คอร์ส Blockchain Smart Contracts with Solidity มีบทเรียนทั้งหมด 4 บทเรียน

คุณจะเรียนรู้อะไรในบทเรียน “กระเป๋า คีย์ และธุรกรรม”

ทำความเข้าใจว่าคู่คีย์เข้ารหัส ที่อยู่ และธุรกรรมที่ลงนามแล้ว ช่วยให้ผู้ใช้เป็นเจ้าของสินทรัพย์และโต้ตอบกับบล็อกเชน Ethereum ได้อย่างไร คุณปฏิบัติ Blockchain Smart Contracts with Solidity ด้วยโค้ดที่ใช้งานได้จริงที่คุณเรียกใช้โดยตรงในเบราว์เซอร์ และติวเตอร์ AI ตลอด 24/7 ตอบคำถามของคุณขณะที่คุณไปผ่านบทเรียน

คุณต้องมีประสบการณ์ก่อนที่จะเริ่มเรียน Blockchain Smart Contracts with Solidity หรือไม่

ไม่จำเป็นต้องมีประสบการณ์มาก่อน Blockchain Smart Contracts with Solidity บน CoddyKit ออกแบบมาสำหรับผู้เริ่มต้นไปจนถึงผู้เรียนขั้นสูง คุณสามารถเริ่มต้นที่นี่หรือเริ่มจากตัวแรกและเรียนด้วยความเร็วของคุณเอง นี่คือบทเรียนที่ 4 จากทั้งหมด 4 บทเรียน

บทเรียน “กระเป๋า คีย์ และธุรกรรม” ใช้เวลานานแค่ไหน

บทเรียน CoddyKit ส่วนใหญ่ใช้เวลาประมาณ 5–10 นาที แต่ละบทเรียนจึงสั้นและเป็นแบบโต้ตอบ คุณสามารถก้าวหน้าอย่างต่อเนื่องและกลับมาเรียนต่อจากตรงที่เพิ่งหยุดบนเว็บและแอปได้เลย

ฉันเขียนและรันโค้ดในบทเรียน Blockchain Smart Contracts with Solidity นี้ได้ไหม

ได้ บทเรียน Blockchain Smart Contracts with Solidity ทุกบทมีตัวแก้ไขโค้ดในตัว คุณจึงเขียนและรันโค้ดจริงได้เลยในเบราว์เซอร์ และได้รับข้อเสนอแนะจาก AI ในทันที — ไม่ต้องติดตั้งในเครื่องของคุณ

บทเรียนทั้งหมดในหลักสูตรนี้

  1. เทคโนโลยีบล็อกเชนคืออะไร
  2. พื้นฐาน Ethereum และ EVM
  3. สัญญา Solidity แรกของคุณ
  4. กระเป๋า คีย์ และธุรกรรม
← กลับไปที่ Blockchain Smart Contracts with Solidity