Открытые и закрытые ключи и кошельки
Изучите связь между открытыми и закрытыми ключами, способы защиты активов с их помощью и различные виды криптовалютных кошельков.
«Открытые и закрытые ключи и кошельки» — бесплатный урок Web3 & DApp Development Fundamentals на CoddyKit. Это урок 2 из 3. Ты можешь прочитать весь урок бесплатно ниже — а потом практиковать его прямо в браузере с встроенным редактором кода и ИИ-репетитором 24/7. Это часть пути обучения Web3 & DApp Development Fundamentals, и твой прогресс синхронизируется между веб-версией и приложением CoddyKit. Курс Web3 & DApp Development Fundamentals содержит 3 уроков всего.
Части этого урока еще не переведены и отображаются на английском.
Welcome to Keys & Wallets
In this lesson, we'll unlock the secrets behind securing your digital assets!
You'll learn about private keys and public keys, and how they work together to give you control over your cryptocurrency.
We'll also explore the different types of cryptocurrency wallets and how they help manage your keys.
Understanding Your Private Key
Imagine a private key as a super-secret, unique number. It's often a long string of letters and numbers.
This key is your ultimate proof of ownership and control over your digital assets on the blockchain.
- It's like the master key to your personal vault.
- Only you should know it.
Private Key Security is Paramount
Never, ever share your private key with anyone. If someone gets your private key, they gain full control over your funds.
Losing your private key means losing access to your cryptocurrency forever. There's no 'forgot password' button on the blockchain.
Wallets don't 'store' your crypto; they securely manage your private keys.
Introducing Your Public Key
A public key is mathematically derived from your private key. Think of it as the 'lock' that corresponds to your 'master key'.
Unlike your private key, your public key is designed to be shared. It's public information.
It's like your bank account number: people need it to send you money, but they can't take money out with it.
From Public Key to Address
Often, your public key is put through a one-way mathematical function (a hash function) to generate a shorter, more user-friendly blockchain address.
This address is what you typically share with others when you want to receive cryptocurrency.
- It's a unique identifier for your 'account' on the blockchain.
- Anyone can send funds to this address.
The Key Pair in Action
Private and public keys work as a pair for digital signatures. When you want to send crypto:
- Your private key digitally 'signs' the transaction, proving you own the funds.
- The network uses your public key to verify this signature without ever seeing your private key.
This ensures transactions are legitimate and immutable.
What Exactly is a Wallet?
A cryptocurrency wallet is a software application or a physical device that manages your private and public keys.
It's your interface to the blockchain, allowing you to:
- Send and receive cryptocurrency.
- Check your balance.
- Interact with decentralized applications (DApps).
Remember, your crypto isn't 'in' the wallet; it's on the blockchain, and your wallet holds the keys to access it.
Hot Wallets: Connected & Convenient
Hot wallets are connected to the internet. They are typically software-based, such as:
- Mobile apps (e.g., Trust Wallet)
- Desktop applications
- Browser extensions (e.g., MetaMask)
They offer great convenience for frequent transactions and DApp interaction, but come with a higher risk of being hacked due to their online nature.
Cold Wallets: Offline & Secure
Cold wallets are stored offline, meaning they are not connected to the internet. This makes them highly secure against online threats.
Examples include:
- Hardware wallets: Physical devices (like a USB drive) that store your private keys offline.
- Paper wallets: Your private and public keys printed on a piece of paper.
Cold wallets are ideal for storing large amounts of cryptocurrency long-term ('hodling').
Choosing the Right Wallet
The best wallet for you depends on your needs:
- For small amounts & daily use: A hot wallet offers convenience.
- For large amounts & long-term storage: A cold wallet provides maximum security.
- For DApp interaction: A browser extension hot wallet (like MetaMask) is often essential.
Many users use a combination of both for different purposes.
Key Concept Check
Let's test your understanding of private/public keys and wallets.
Recap: Keys & Wallets
Great job! You've learned the fundamentals of securing your digital assets.
- Private keys are secret and grant ownership.
- Public keys are derived from private keys and are shareable for receiving funds.
- Blockchain addresses are shortened forms of public keys.
- Wallets manage your keys, acting as your interface to the blockchain.
- Hot wallets are convenient but less secure; cold wallets are secure but less convenient.
Understanding these concepts is crucial for safe interaction with Web3!
Часто задаваемые вопросы
Урок «Открытые и закрытые ключи и кошельки» бесплатный?
Да — полный текст урока «Открытые и закрытые ключи и кошельки» бесплатно доступен здесь в веб-версии. Чтобы практиковать его интерактивно (встроенный редактор кода и ИИ-репетитор 24/7) и разблокировать остальной курс Web3 & DApp Development Fundamentals, подпишись на CoddyKit PRO. Курс Web3 & DApp Development Fundamentals содержит 3 уроков всего.
Чему я научусь в уроке «Открытые и закрытые ключи и кошельки»?
Изучите связь между открытыми и закрытыми ключами, способы защиты активов с их помощью и различные виды криптовалютных кошельков. Ты практикуешь Web3 & DApp Development Fundamentals с помощью реального кода, который запускаешь прямо в браузере, и ИИ-репетитор 24/7 отвечает на твои вопросы во время урока.
Нужен ли мне опыт, чтобы начать Web3 & DApp Development Fundamentals?
Предыдущий опыт не требуется. Web3 & DApp Development Fundamentals на CoddyKit структурирован для всех уровней — от новичков до продвинутых, поэтому ты можешь начать отсюда или с самого начала и учиться в своем темпе. Это урок 2 из 3.
Сколько времени занимает урок «Открытые и закрытые ключи и кошельки»?
Большинство уроков CoddyKit занимают около 5–10 минут. Каждый из них компактный и интерактивный, поэтому ты постоянно делаешь прогресс и продолжаешь с того же места в веб-версии и приложении.
Можно ли писать и запускать код в этом уроке Web3 & DApp Development Fundamentals?
Да. Каждый урок Web3 & DApp Development Fundamentals включает встроенный редактор кода, поэтому ты пишешь и запускаешь реальный код прямо в браузере и получаешь моментальную обратную связь от AI — локальная установка не требуется.
Все уроки этого курса
- Криптография для блокчейнов
- Открытые и закрытые ключи и кошельки
- Введение в MetaMask