git clone https://github.com/alpha7b/cess-multi-buckets-script.git
- 准备好钱包及测试币
- 将config_sample.json重命名为config.json,里面信息按需要填写
- 安装docker和cess客户端
- 创建文件夹及config.yaml
- 创建docker-compose
source 3_docker_compose.sh
# 查看container log
docker ps
docker logs <container_name> -f -n 20
# 查看bucket数据
docker exec <STORAGE_CONTAINER_NAME> cess-bucket --config /opt/bucket/config.yaml stat
# 查看bucket收益
docker exec <STORAGE_CONTAINER_NAME> cess-bucket --config /opt/bucket/config.yaml reward
docker stop $(docker ps -aq --filter ancestor=cesslab/cess-bucket:testnet) && docker rm $(docker ps -aq --filter ancestor=cesslab/cess-bucket:testnet)
find /path/to/your/folder -type f | parallel rm