跳至正文
Wener Notes

Polygon

约 2 分钟阅读

Validator

bash
# install go,git,jq,rabbitmq-server

mkdir bin

git clone https://github.com/maticnetwork/bor.git
git clone https://github.com/maticnetwork/heimdall.git
(cd bor && make bor-all)
(cd heimdall && make install network=mainnet)

ln -s bor/build/bin/bor bin
ln -s bor/build/bin/bootnode bin
ln -s ~/go/bin/heimdalld bin
ln -s ~/go/bin/heimdallcli bin
ln -s ~/go/bin/bridge bin

mkdir ~/.heimdalld

git clone https://github.com/maticnetwork/launch.git
# node_type: sentry/sentry, sentry/validator, without-sentry
cp -rf launch/mainnet-v1/sentry/sentry ~/node

(cd ~/node/heimdall && bash setup.sh)
(cd ~/node/bor && bash setup.sh)
# 生产 systemd service 文件
# heimdalld.service, heimdalld-rest-server.service, heimdalld-bridge.service, bor.service
# (cd ~/node/mainnet-v1 && bash service.sh)

# /etc/matic, /etc/matic/metadata
mkdir /etc/matic
cp -rf launch/mainnet-v1/metadata /etc/matic/metadata

关联信息

反向链接、本文链接的其他页面和外部资料。

反向链接

  • Chain List
    笔记 · Polygon

    Network 列表,使用 ID 标识,每个 Network 有自己的 本地货币/Native Currency。 · 参考 · ethereum-lists/chains · DefiLlama/chainlist · https://chainlist.org/

参考资料

GitHub2 条
其他外链14 条
最近更新commit 422a5b5编辑