Running node

2023-10-3 Running node Less than 1 minute

# Running node

# 1. Building Melodot

# Installation

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

# Build

make build-default
1

# 2. Running a development network

# 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
Last update: November 10, 2023 08:52
Contributors: DarkingLee