Update 0g.sh
This commit is contained in:
parent
034128ae1d
commit
90298d3ff1
4
0g.sh
4
0g.sh
@ -232,15 +232,13 @@ cargo build --release
|
|||||||
#后台运行
|
#后台运行
|
||||||
cd run
|
cd run
|
||||||
|
|
||||||
echo "请输入矿工的EVM钱包地址,不要有0X: "
|
|
||||||
read minerid
|
|
||||||
|
|
||||||
echo "请输入矿工的EVM钱包私钥,不要有0X: "
|
echo "请输入矿工的EVM钱包私钥,不要有0X: "
|
||||||
read minerkey
|
read minerkey
|
||||||
|
|
||||||
cat >> config.toml <<EOF
|
cat >> config.toml <<EOF
|
||||||
miner_key ="$minerkey"
|
miner_key ="$minerkey"
|
||||||
miner_id ="$minerid"
|
miner_id=$(echo -n "string" | sha256sum | cut -d' ' -f1)
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user