macos lotus 安装
2023-09-14 09:16:04 时间
1,依赖安装
- 安装依赖
go
gcc
git
bzr
jq
pkg-config
$ which go
/usr/local/bin/go
$ go version
go version go1.13 darwin/amd64
$ which gcc
/usr/bin/gcc
$ which git
/usr/local/bin/git
$ git version
git version 2.23.0
$ brew search bazaar
==> Formulae
bazaar
$ brew install bazaar
$ bzr --version
Bazaar (bzr) 2.7.0
$ brew install jq
$ jq --version
jq-1.6
$ brew install pkg-config
$ pkg-config --version
0.29.2
- 安装
cmake
$ git clone https://github.com/KhronosGroup/OpenCL-ICD-Loader.git
$ cd OpenCL-ICD-Loader/
$ mkdir build
$ cd build/
2,编译
- 需要挂终端代理
$ git clone https://github.com/filecoin-project/lotus.git
$ cd lotus/
$ make
$ sudo make install
Password:
install -C ./lotus /usr/local/bin/lotus
install -C ./lotus-storage-miner /usr/local/bin/lotus-storage-miner
3,lotus运行
- 更改目录权限
sudo chown $(whoami):admin /var/log
- 后台运行守护进程
lotus daemon > /var/log/lotus.log 2>&1 &
$ lotus net peers | wc -l
34
$ watch lotus sync status
Height: 1977
$ lotus wallet new bls
- 获取测试币
- Lotus 水龙头获取测试代币
https://lotus-faucet.kittyhawk.wtf/
$ lotus wallet balance
500000000
- mining
$ lotus state pledge-collateral
18596947193119270372
- error
$ lotus state pledge-collateral
18596947193119270372
$ lotus wallet balance
500000000
4,删除lotus
参考:
相关文章
- 【Docker】MacOS上安装Docker
- PHP快速入门 如何下载和安装
- linux Centos 6.5 安装桌面环境GNOME
- Centos7.4安装openstack(queens)指定主机创建实例
- FileProvider N 7.0 升级 安装APK 选择文件 拍照 临时权限 MD
- VMware ESXi 6.7在虚拟机中安装macOS 10.13
- Oracle在linux下面的安装
- [Linux].deb软件包:wine-qq2013-longeneteam安装与卸载
- proxmox PVE 6.3 虚拟机 安装 黑苹果 macOS Catalina 10.15.5 opencore 引导
- 002-hadoop安装
- VsCode安装教程
- macOS PIL 安装
- Grafana v7.0 macos 安装
- macos 安装 mysql
- macOS VNC Viewer 安装
- macOS 安装 phantomjs ,homebrew-Cask使用
- macOS 安装 mitmproxy
- macOS 安装 Docker
- macOS 安装 iTerm2
- macOS 安装 Adobe Zii 2019 for Adobe
- linux系统安装过程
- python memcache操作-安装、连接memcache
- Linux 软件安装到 /usr,/usr/local/ 还是 /opt 目录?
- 【已解决】IDEA安装.gitignore 忽略不必提交的文件
- jenkins介绍及安装部署(二)
- 安装hybridnet网络插件