The smallest useful Synapse example.
Run the node in one terminal:
uv run python examples/basic_rpc/node.pyCall it from another terminal:
uv run python examples/basic_rpc/client.pyWhat it shows:
- A
Nodeexposes an async endpoint namedsum. - A
Clientcalls that endpoint over Synapse RPC. - No swarm discovery is needed for direct host/port RPC.