See example

start_miner()

start_server()

Run example

cargo run --release --example connect