Generate a set of testnet configs.
cargo run -p melon-net -- generateThis generates addresses and keys allowing nodes to find and identify one
another. Inspect the configs in ./configs.
Launch the fx-server:
cargo run -p melon-fx --bin melon-fxThis serves fx data over HTTP.
Launch rendezvous node, node-00
cargo run -p melon-app -- run --index 0
This node awaits connections from peers. It also polls the fx-server and caches latest prices.
Launch peer node-01
cargo run -p melon-app -- run --index 1
This node finds the rendezvous, and through them connects to other peers. We use libp2p's internals to handle peer management.
Optionally launch another node in a new terminal.
Send message to node-01
cargo run -p melon-ctl -- --socket /tmp/node-01.sock app ""This should trigger node-01 to propose a new collection of statements, based on
its latest cache of price feed data. Node-00 receives the proposals and responds
with endorsements. The default config requires a quorum of 2 from 3, thus the
statements are identified as Agreed.
- docs - need updating
- seq - sequencer needs updating
- exe - executor needs implementing
- blob - store needs implementing