Skip to content

1sixtech/mojave

Repository files navigation

Prerequisites

Install Rust

https://www.rust-lang.org/tools/install

Install CometBFT

https://docs.cometbft.com/v1.0/tutorials/install

Build & Run

  1. Clone the repository:
https://github.com/d-roak/rs-drip_chain
  1. Build the chain:
cd rs-drip_chain
cargo build --release
  1. Initialize CometBFT configuration:
cometbft init --home $COMETBFT_HOME_PATH
  1. [Recommended] Change the timeout_commit field of config.toml:
# How long we wait after committing a block, before starting on the new
# height (this gives us a chance to receive some more precommits, even
# though we already have +2/3).
# Set to 0 if you want to make progress as soon as the node has all the precommits.
# Default to 1 second.
timeout_commit = "1s" 
  1. Run the chain:
./target/release/drip-chain-node $COMETBFT_HOME_PATH

About

Mojave core monorepo

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7

Languages