运行 Melodot 节点

2023-10-3 运行节点 小于 1 分钟

# 运行 Melodot 节点

# 1. 编译 Melodot

# Installation

git clone [email protected]:ZeroDAO/melodot.git
cd melodot
1
2

# Build

make build-default
1

# 2. 运行开发网络

# 1. Run as dev

make run-dev
1

# 2. Run as local

Start the local blockchain node using the alice account by running the following command:

./target/release/melodot-node \
  --base-path /tmp/alice \
  --chain local \
  --alice \
  --node-key 0000000000000000000000000000000000000000000000000000000000000001
  --validator
1
2
3
4
5
6

Start a second local blockchain node using the bob account by running the following command:

./target/release/melodot-node \
  --base-path /tmp/bob \
  --chain local \
  --bob \
  --port 30334 \
  --bootnodes /ip4/127.0.0.1/tcp/30333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp
  --validator
1
2
3
4
5
6
7
上次编辑于: 2023年11月10日 08:52
贡献者: DarkingLee