命令行工具:https://github.com/ethersphere/bee/releases/
Xdai节点搭建
源码地址:https://github.com/NethermindEth/nethermind/releases/
1.安装ubuntu系统
2.系统更新源,安装依赖
sudo apt-get update && sudo apt-get install libsnappy-dev libc6-dev libc6 unzip
apt install wget screen -y 分屏器
3.下载源码
wget https://github.com/NethermindEth/nethermind/releases/download/1.10.73/nethermind-linux-amd64-1.10.73-b8ab965-20210615.zip
openethereum-linux-v3.2.5.zip
4.复制解压源码
cp nethermind-linux-amd64-1.10.73-b8ab965-20210615.zip /home
unzip nethermind-linux-amd64-1.10.73-b8ab965-20210615.zip -d nethermind
5.安装运行节点
启动一个srceen
screen -R geth
查看本机本地ip
ip address
进入目录
cd /home/nethermind
启动脚本
./Nethermind.Launcher
选择
Ctrl+a+d 退出screen (exit关闭)
lsof -i:8545
等等同步
第二种节点搭建
https://forum.1hive.org/t/run-your-own-local-xdai-node-updated-for-berlin-hardfork/2875
https://github.com/openethereum/openethereum/releases/tag/v3.2.6
./openethereum --chain xdai --jsonrpc-port=8545 --jsonrpc-cors=all --jsonrpc-interface=all --jsonrpc-hosts=all --jsonrpc-apis=web3,eth,net,parity --ws-interface=all --ws-apis=web3,eth,net,parity,pubsub --ws-origins=all --ws-hosts=all --ws-max-connections=10 --max-peers=100
官方信息
The BZZ token addresses are:
BZZ (Ethereum main chain): 0x19062190b1925b5b6689d7073fdfc8c2976ef8cb
xBZZ (Bridged BZZ on xDAI): 0xdBF3Ea6F5beE45c02255B2c26a16F300502F68da
The following system contracts are deployed on xDAI Ethereum sidechain, to facilitate the economics of the Swarm:
Chequebook factory: 0xc2d5a532cf69aa9a1378737d8ccdef884b6e7420
Postage stamp: 0x6a1a21eca3ab28be85c7ba22b2d6eae5907c900e
Bandwidth price oracle: 0x0FDc5429C50e2a39066D8A94F3e2D2476fcc3b85
Bridge your BZZ to xDAI, using xDAI's omni bridge
Run your own xDAI node or utilize a public RPC endpoint such as getblock.io
3362c9b8-b028-49c5-944b-b0b7178b7263
https://eth.getblock.io/mainnet/?api_key=3362c9b8-b028-49c5-944b-b0b7178b7263;
// or as WebSocket provider
wss://eth.getblock.io/mainnet/?api_key=3362c9b8-b028-49c5-944b-b0b7178b7263");
linux系统防火墙开启放行其他端口
https://www.west.cn/faq/list.asp?unid=2329