命令行工具: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