Close Menu
Altcoin ObserverAltcoin Observer
  • Regulation
  • Bitcoin
  • Altcoins
  • Market
  • Analysis
  • DeFi
  • Security
  • Ethereum
Categories
  • Altcoins (1,398)
  • Analysis (1,584)
  • Bitcoin (2,169)
  • Blockchain (1,272)
  • DeFi (1,494)
  • Ethereum (1,486)
  • Event (56)
  • Exclusive Deep Dive (1)
  • Landscape Ads (2)
  • Market (1,538)
  • Press Releases (1)
  • Reddit (820)
  • Regulation (1,436)
  • Security (2,055)
  • Thought Leadership (2)
  • Videos (41)
Hand picked
  • Company linked to the participation of Trump Family Slashes in the World Liberty Financial Crypto Project project
  • BNB Prix Breakout could trigger Ath Rally Repeat – $ 730 following?
  • Ideal-finance.com achieves a technical force breakthrough, establishing a global reference with a self-developed financial system with a complete complete complex
  • Coinbase secures the EU crypto license, Swaps Ireland for Luxembourg
  • The cryptography market plunges as tensions increases and the stablecoin bill is gaining ground
We are social
  • Facebook
  • Twitter
  • Instagram
  • YouTube
Facebook X (Twitter) Instagram
  • About us
  • Disclaimer
  • Terms of service
  • Privacy policy
  • Contact us
Facebook X (Twitter) Instagram YouTube LinkedIn
Altcoin ObserverAltcoin Observer
  • Regulation
  • Bitcoin
  • Altcoins
  • Market
  • Analysis
  • DeFi
  • Security
  • Ethereum
Events
Altcoin ObserverAltcoin Observer
Home»Ethereum»Validated, staking on eth2: #4 – Keys 🔑
Ethereum

Validated, staking on eth2: #4 – Keys 🔑

December 22, 2024No Comments6 Mins Read
Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
Merkle 4k.png
Share
Facebook Twitter LinkedIn Pinterest Email



Special thanks to Sacha Yves Saint-Léger and Danny Ryan for their review.

At the heart of every proof-of-stake system is a signature system. The signatures are used to verify the identity of each validator allowing them to attribute their actions, good and bad.

We can verify honesty by examining a validator’s signed messages, and we can prove maliciousness by showing messages that violate consensus rules.

In fact, in eth2, the identity of a validator East their public key. Concretely, each validator has two sets of keys: a signing key and a withdrawal key.

Signing keys

A signing key is the key a validator needs to sign attestations and offer blocks. Since a validator must sign a message at least once per epoch, the client software must have custody of the key.

Withdrawal keys

Since the client software is always connected to the Internet, it is of course possible that the signing key could be compromised. To reduce the impact of such a violation, the actions a validator can perform are split between two keys.

The signing key, as explained above, is used by the validator to accomplish its tasks. On the other hand, the removal key has the power to control a validator’s funds (transfer* and withdrawal* of ETH).

A validator should only need to use their withdrawal keys a few times during their validator life. This means they can be stored cold and stored with a high degree of security (offline).

* Transfers and withdrawals are not activated until at least phase 1

That’s a lot of keys!

If for every 32ETH staked, you had to save and use 2 independent keys to make a deposit, this would get out of hand very quickly.

Fortunately, we have a solution. The solution is to make the keys use a common secret, so that storing a single secret provides access to multiple keys.

In eth2 this is achieved via EIPs 2333 And 2334: a set of standards that describe how withdrawal and signing keys are related, and how they can be derived from a single mnemonic.

Mnemonic

Mnemonics are another way to encode secrets and are a much simpler way for users to store and back up their private keys.

The idea being that it is easier to memorize or write sausage solution strong isolate focus glide frame door clown million shuffle impulse that 0x1e9f2afcc0737f4502e8d4238e4fe82d45077b2a549902b61d65367acecbccba without making any mistakes.

Derive keys from other keys

When interacting with wallets, you may have encountered “paths” like m/44’/60’/0’/0/0. These paths describe a relationship between keys.

According to PEI 2333this relationship takes the form of a tree structure in which a key is determined by an entropy source (the tree seed) and a tree path.

We use the seed to calculate the root of the tree, then build the tree in layers on top of that root. This key tree is defined only by the relationship between the branch followed in the tree and the root of the tree.

Concretely, this allows us to find any key in the tree starting at the root, and calculating the intermediate key at each branch that we follow, until we reach the leaf that interests us.

A wonderful consequence of this is that we can start from a single source of entropy (a mnemonic, for example), and from there construct a virtually unlimited number of keys.

Additionally, by securely storing just the mnemonic, you have a backup of every key used by your validator.

This idea is used in eth2 to allow a single mnemonic to generate as many keys as a validator needs. For example, if you want to run 3 validators, you could use a single mnemonic to generate the withdrawal keys located at
m/0,
m/1,
m/2.

      (m / 0)
     /
    /
(m) - (m / 1)
    \
     \
      (m / 2)

Each branch is separated by a / SO m/2 means start with the master key and follow branch 2.

PEI 2334 indicates that the signing key of the validator is 0th child branch of the removal key. In practice, this means that when the standard is met, if you know the withdrawal private key, you can calculate the corresponding signing private key.

Using the example above, the signing keys would be located at:
m/0/0,
m/1/0,
m/2/0.

      (m / 0) - (m / 0 / 0)
     /
    /
(m) - (m / 1) - (m / 1 / 0)
    \
     \
      (m / 2) - (m / 2 / 0)

Although we have tried to keep this example as simple as possible, in practice the paths involved are a bit longer (PEI 2334 requires using m/12381/3600/i/0And m/12381/3600/i/0/0 for key collection and signing respectively). However, the logic remains the same.

The important thing to remember is that if you know the mnemonic, you can calculate your withdrawal keys, and from there derive your signing keys.

Key storage

Validator clients use keystores as a method of key exchange.

Key stores are files containing private keys encrypted with a user’s password. They can be stored and transferred securely between computers provided the password is not stored on the same computer.

When you’re ready to begin validation, you can give your client the keystores and the password that encrypts them (they need both pieces of information to import your keys).

Become a validator

The first step to becoming a validator is to generate the appropriate keys. These will be generated once you write down your mnemonic.

Since there are no withdrawals or transfers in phase 0, you don’t need keystores for your withdrawal keys; storing your mnemonic securely is enough.

Since your validator clients need your signing keys, you will receive a keystore for each of your validators to store these keys.

Now it’s filing time! To become a validator, you will need to send 32 ETH per validator in addition to your deposit data containing all your validator public keys.

The deposit data is then saved in the deposit contract on eth1. This contract is monitored by eth2 nodes which are responsible for copying the deposit data. Once your deposit data is copied, you are now officially a validator!

Become a validator easily

We’re happy to announce that we’ve been working hard on a user-friendly interface to guide validators through this process. Stay tuned soon for an update on what the Eth2 Launchpad is and how to use it!



Source link

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Previous ArticleEl Salvador Increases Bitcoin Purchases After IMF Agreement
Next Article FBS Analysts Reveal Top Crypto Trends in 2024 and Market

Related Posts

Ethereum

Ethereum Historic Rally Bresse: new top of all time at hand in 2025

June 21, 2025
Ethereum

Bloomberg analysts revise the “90% or more” ETF approval ratings as dry requests have changed the deposits

June 20, 2025
Ethereum

The co-founder of Ethereum predicts that ETH will eclipse world GDP

June 20, 2025
Add A Comment
Leave A Reply Cancel Reply

Single Page Post
Share
  • Facebook
  • Twitter
  • Instagram
  • YouTube
Featured Content
Event

Philippine Blockchain Week 2025 Welcomes Global Web3 Trailblazers to Manila

June 9, 2025

Manila, Philippines – June 9, 2025 — As Philippine Blockchain Week (PBW) 2025 returns for…

Event

ETHMilan 2025 Returns With a Stellar Line-Up at One of Milan’s Most Iconic Venues

June 5, 2025

Milan, Italy – Mark your calendars! ETHMilan, Italy’s largest international Ethereum and Web3 conference, is…

1 2 3 … 49 Next
  • Facebook
  • Twitter
  • Instagram
  • YouTube

Company linked to the participation of Trump Family Slashes in the World Liberty Financial Crypto Project project

June 21, 2025

Soil fixed for $ 200 like the ETF ratings reach 91% and “Solana Summer” begins

June 21, 2025

TRX FLIPS DOGE while tron ​​races # 8 powered by the USDT volume, iPo MOMETUM

June 21, 2025
Facebook X (Twitter) Instagram LinkedIn
  • About us
  • Disclaimer
  • Terms of service
  • Privacy policy
  • Contact us
© 2025 Altcoin Observer. all rights reserved by Tech Team.

Type above and press Enter to search. Press Esc to cancel.

bitcoin
Bitcoin (BTC) $ 103,513.73
ethereum
Ethereum (ETH) $ 2,428.46
tether
Tether (USDT) $ 1.00
xrp
XRP (XRP) $ 2.13
bnb
BNB (BNB) $ 641.62
solana
Solana (SOL) $ 140.73
usd-coin
USDC (USDC) $ 1.00
tron
TRON (TRX) $ 0.274211
dogecoin
Dogecoin (DOGE) $ 0.163075
staked-ether
Lido Staked Ether (STETH) $ 2,427.45