打赏

lotus操作命令

1.加入测试网络

(1.)删除原有点数据
rm -rf ~/.lotus ~/.lotusstorage
(2.)设置网关
IPFS_GATEWAY="https://proof-parameters.s3.cn-south-1.jdcloud-oss.com/ipfs/"
(3.)启动守护进程
lotus daemon
(4.)查看网络连接数
lotus net peers | wc -l
(5.)同步数据
lotus sync wait
(6.)创建钱包
lotus wallet new bls
示例:lotus wallet new bls
t3wkzqsqsyo7fcyp7mll6tvhqp7wkynu7d2znksz4cq4qxhxnyl5q6wlwp2krp6rnk4l2lepsacsmnisvkcdna
(7)获取测试币
https://lotus-faucet.kittyhawk.wtf/funds.html
(8.)查看钱包余额
lotus wallet balance t3wkzqsqsyo7fcyp7mll6tvhqp7wkynu7d2znksz4cq4qxhxnyl5q6wlwp2krp6rnk4l2lepsacsmnisvkcdna
(9.)发送filecoin给其他地址
lotus send
(10.)查看最新点出块高度,以及出块时间
https://stats.testnet.filecoin.io/d/z6FtI92Zz/chain?orgId=1&refresh=45s&from=now-30m&to=now&kiosk

2.filecoin测试网络页面

https://stats.testnet.filecoin.io/d/z6FtI92Zz/chain/?orgId=1&refresh=45s&from=now-30m&to=now&kiosk

3.挖矿

(1.)设置环境变量
IPFS_GATEWAY="https://proof-parameters.s3.cn-south-1.jdcloud-oss.com/ipfs/"
(2.)安装 启动矿工
make lotus-seal-worker //lotus-seal-worker 编译lotus-seal-worker
lotus-seal-worker run //LOTUS_STORAGE_PATH 进行鉴权

(3.)查看矿工是否已经连接到存储矿
lotus-storage-miner info // lotus-storage-miner 存储矿工点逻辑,有独立的进程,通过节点提交信息和时空工作量证明来存储节点信息
(4.)配置文件
~/.lotusstorage/config.toml

----------------------------------【喜欢打赏】-------------------------------------------

小主,辛苦啦!文章棒棒哒,赏杯咖啡吧...
打赏

----------------------------------【喜欢打赏】-------------------------------------------

posted @ 2020-01-07 22:59  苍山落暮  阅读(3020)  评论(0编辑  收藏  举报