用較為複雜的方式架設節點

在創建自己的ETH2.0 錢包之前,您需要安裝一些軟體。

1. Rust

步驟 1: 檢查硬件電腦否已經安裝了Rust。如果您已經安裝,請跳到步驟2,否則請繼續步驟1-2

$rustc --version

步驟 1-2:

$curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

安裝完成後,再次進行步驟1進行確認,並在步驟1完成後跳到步驟2。或前往Rust官方網站 @Rust

2. Lighthouse Client

步驟2分為3部分。 *Lighthouse建構 Linux, macOS, and Windows (利用WSL )。

步驟 2-1: 下載Lighthouse Client

$git clone https://github.com/sigp/lighthouse.git

步驟 2-2: Go to the directory of the Lighthouse Client

$cd lighthouse

步驟 2-3: 使用 Rust 安裝 Lighthouse Client * 注意:此步驟可能需要30分鐘以上。

$make

最後檢查安裝是否完成。

$lighthouse --help

官方網站 @Lighthouse.

最后更新于