rocketpool should not be run as root. Please try again without ‘sudo’. If you want to run rocketpool as root anyway, use the ‘–allow-root’ option to override this warning.
#进行服务安装,看了一下脚本,其实就是按照docker,如果安装的有问题,可以使用后面的脚本就行安装 rocketpool service install
The Rocket Pool service will be installed locally -- Network: pyrmont Version: latest
Any existing configuration will be overwritten. Are you sure you want to continue? [y/n]
#会有上面这样的提示,输入y执行,会让你输入rpl的用户密码,输入后会有下面的提示,报错了,不用管,直接往后看 Step 1 of 7: Installing OS dependencies... [sudo] rpl 的密码: Could not install Rocket Pool service: Could not install OS packages.
#这样就说明安装好了 Skipping steps 1 - 4 (OS dependencies & docker) Step 5 of 7: Creating Rocket Pool user data directory... Step 6 of 7: Downloading Rocket Pool package files... Step 7 of 7: Copying package files to Rocket Pool user data directory...
The Rocket Pool service was successfully installed locally!
Please start a new shell session to apply updated user permissions. (To start a new shell session, log out and back in.)
Run 'rocketpool service config' to configure the service before starting it.
Which Eth 1.0 client would you like to run? 1: Geth Geth is one of the three original implementations of the Ethereum protocol. It is written in Go, fully open source and licensed under the GNU LGPL v3. https://geth.ethereum.org/ 2: Infura Use infura.io as a light client for Eth 1.0. Not recommended for use in production. https://infura.io/ 3: Custom Use a custom Eth 1.0 client at a specified address (does not work on localhost).
#docker 创建虚拟网络,拉取镜像 Creating network "rocketpool_net" with the default driver Creating volume "rocketpool_eth1clientdata" with default driver Creating volume "rocketpool_eth2clientdata" with default driver Pulling eth1 (rocketpool/smartnode-pow-proxy:v1.0.0-beta.0)... v1.0.0-beta.0: Pulling from rocketpool/smartnode-pow-proxy Digest: sha256:730b11acebc27c0db8c92a1420dcb9b836af1bd2a58674857174f8ef0a76f1e9 Status: Downloaded newer image for rocketpool/smartnode-pow-proxy:v1.0.0-beta.0 Pulling eth2 (prysmaticlabs/prysm-beacon-chain:HEAD-d2b111-debug)... HEAD-d2b111-debug: Pulling from prysmaticlabs/prysm-beacon-chain Digest: sha256:1ffe43b4dcece2ebe8f422549fa4de6809d878f1242ded659cca3eef133315b2 Status: Downloaded newer image for prysmaticlabs/prysm-beacon-chain:HEAD-d2b111-debug Pulling validator (prysmaticlabs/prysm-validator:HEAD-d2b111-debug)... HEAD-d2b111-debug: Pulling from prysmaticlabs/prysm-validator Digest: sha256:093dee6e94ebcfdce612db9ffe5e3e79648ea1f9446941ab3a462d982544b2a5 Status: Downloaded newer image for prysmaticlabs/prysm-validator:HEAD-d2b111-debug Pulling api (rocketpool/smartnode:v1.0.0-beta.1)... v1.0.0-beta.1: Pulling from rocketpool/smartnode Digest: sha256:34ab212f274619627580ef715e2ff19865aa65f23bf6fa0e01e96f989878ed40 Status: Downloaded newer image for rocketpool/smartnode:v1.0.0-beta.1 Creating rocketpool_eth1 ... Creating rocketpool_eth1 ... done Creating rocketpool_eth2 ... Creating rocketpool_api ... Creating rocketpool_eth2 ... done Creating rocketpool_validator ... Creating rocketpool_watchtower ... Creating rocketpool_node ... Creating rocketpool_api ... done Creating rocketpool_watchtower ... done Creating rocketpool_validator ... done Creating rocketpool_node ... done
检查启动情况
1 2 3 4 5 6 7 8 9 10 11
#执行下面的命令 rocketpool service version
#会看到下面的提示 Rocket Pool client version: 1.0.0-beta.1 Rocket Pool service version: 1.0.0-beta.1 Selected Eth 1.0 client: Infura (rocketpool/smartnode-pow-proxy:v1.0.0-beta.0) Selected Eth 2.0 client: Prysm (prysmaticlabs/prysm-beacon-chain:HEAD-d2b111-debug)
#查看服务状态 rocketpool service stats
如下图所示
或者通过下面的方式查看
1 2 3 4
rocketpool service logs eth1 rocketpool service logs eth2
#使用Ctrl+C 可以退出
Note: You may see your validator service restarting continually until you have an actively staking minipool. This won’t affect your node’s performance and can safely be ignored.
### 输入一个自己设置的密码,然后保存好下面的助记词,把助记词输入一遍 Please enter a password to secure your wallet with:
Please confirm your password:
Your mnemonic phrase to recover your wallet is printed below. It can be used to recover your node account and validator keys if they are lost. Record this phrase somewhere secure and private. Do not share it with anyone as it will give them control of your node account and validators. ==============================================================================================================================================
feel wink much borrow mixture pupil tooth black monster garment glory deal tuition crime cattle stable cheap faint cruel joy asthma renew recall speed
The node wallet was successfully initialized. Node account: 0xE13037Ea3F3978f401b5Cca0Ca775341a0Fc1D05
You’ll be prompted for a password to secure your wallet with. Then, you’ll see your wallet’s backup mnemonic phrase. Record this somewhere secure and private, as it will restore your wallet along with all its keys (even ones created in the future) if you lose it. When you’re done, you’ll see the address of your newly created node account. At this point, you’ll need to wait for your Eth 1.0 client to sync before you can go any further. Let the service logs run and come back later, this could take a day or two (unless you’re using Infura)!
Once your Eth 1.0 client is synced, you’ll need some Goerli ETH and RPL to register your node with Rocket Pool and start making deposits. Find your node address with:
#执行命令查看节点状态 rocketpool node status #会有下面的提示 The node 0xE13037Ea3F3978f401b5Cca0Ca775341a0Fc1D05 has a balance of 0.000000 ETH, 0.000000 RPL and 0.000000 nETH. The node is not registered with Rocket Pool.
Successfully withdrew 160.000000 RPL from the faucet.
最后就是注册节点了
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
rocketpool node register
Would you like to detect your timezone automatically? [y/n] y
The detected timezone is 'Asia/Singapore', would you like to register using this timezone? [y/n] n
Please enter a timezone to register with in the format 'Country/City': Asia/Shanghai
You have chosen to register with the timezone 'Asia/Shanghai', is this correct? [y/n] y
#节点注册成功 The node was successfully registered with Rocket Pool.
You’ll be asked for your timezone location (which is detected automatically by default) to send to the network. This is optional and not used for any KYC purposes, just to keep the Rocket Pool website network map up to date. If you’re running a remote server, use the server’s timezone location. If you want to abstain, just enter something like Hidden/Hidden
如果不想输入时区可以输入Hidden/Hidden 进行隐藏,现在已经加入了 Rocket Pool
he node has a balance of 160.000000 old RPL. Would you like to swap it for new RPL before staking? [y/n]
y
Successfully swapped 160.000000 old RPL for new RPL.
Please choose an amount of RPL to stake: 1: The minimum minipool stake amount (80.000000 RPL)? 2: The maximum effective minipool stake amount (1200.000000 RPL)? 3: Your entire RPL balance (160.000000 RPL)? 4: A custom amount
3
Are you sure you want to stake 160.000000 RPL? Staked RPL can only be withdrawn after a delay. [y/n]
Please choose an amount of ETH to deposit: 1: 32 ETH (minipool begins staking immediately) 2: 16 ETH (minipool begins staking after ETH is assigned)
1
The current network node commission rate that your minipool should receive is 20.000000%. The suggested maximum commission rate slippage for your deposit transaction is 1.000000%. This will result in your minipool receiving a minimum possible commission rate of 19.000000%. Do you want to use the suggested maximum commission rate slippage? [y/n]
y
Are you sure you want to deposit 32.000000 ETH to create a minipool with a minimum possible commission rate of 19.000000%? Running a minipool is a long-term commitment. [y/n]
y
The node deposit of 32.000000 ETH was made successfully. A new minipool was created at 0xc0DCa29d45884dDdF0F7838aF81a1A12ECaA3b43.
抵押完成
管理矿池
1 2 3 4
rocketpool minipool status
Could not get minipool status: The Eth 2.0 node is currently syncing. Please try again late #一般需要的时间比较长,官方说的时间是10天,但是看记录只需要15个小时