激励测试网的时候撸了点bee羊毛,主网也搞一个支持一下,最简单的安装方式,使用默认系统服务的方式运行。
命令👇
wget https://github.com/ethersphere/bee/releases/download/v1.7.0/bee_1.7.0_amd64.deb
sudo dpkg -i bee_1.7.0_amd64.deb
vi /etc/bee/bee.yaml
修改如下位置👇(去掉#号)
full-node: true
#获得奖励就要全节点
swap-endpoint: "https://gno.getblock.io/mainnet/?api_key你的apikey"
# getblock.io/cn/ 👈这里注册,选择Generate Endpoint再genosis chain再create,复制链接就行了
swap-initial-deposit: 10000000000000000
#(这里默认10000000000000000,就是一个,可以改0,但是0没奖励)
bee-get-addr
#获取你的地址,一会往这里打币,上面swap-initial-deposit: 10000000000000000,是1,就是打1bzz和少量xdai手续费
在这里可以获取少量xdai当手续费
主网跨链到xdai的说明
https://developers.gnosischain.com/for-users/bridges/converting-xdai-via-bridge
也可以在这个小交易所提xdai到xdai链(dai是稳定币,约等于1u,小所风险很高,用多少充多少)
https://a3dx.io/zh-cn/register?inviteCode=UBVDHLXMZ
在这里买bzz
然后打xdai和bzz到bee-get-addr的地址
重启bee👇
apt install jq
curl -s localhost:1635/peers | jq ".peers | length"
#返回数字大于0就代表bee已经跑起来了
