| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
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.
The following components are outside the approved scope of the Catalyst proof-of-concept milestone of which this work is a part. They are potential production-system extensions and are not required to demonstrate external data ingestion, independent validation, peer comparison, or quorum agreement.
| Back | FazBrowse Home | New Git URL |