set demos as console scripts, update chat instructions

This commit is contained in:
pacrob
2024-12-20 13:23:04 -07:00
committed by Paul Robinson
parent bc90632f9d
commit a72dbaa58d
9 changed files with 77 additions and 38 deletions

View File

@ -53,7 +53,7 @@ async def run(port: int, destination: str, seed: int = None) -> None:
print(
"Run this from the same folder in another console:\n\n"
f"python echo.py -p {int(port) + 1} "
f"echo-demo -p {int(port) + 1} "
f"-d /ip4/{localhost_ip}/tcp/{port}/p2p/{host.get_id().pretty()}\n"
)
print("Waiting for incoming connections...")