/lnd-emulator /protobuf # Protobuf definitions cloned from lightninglabs/lnd /server # gRPC server implementation /state # In-memory database for channels, peers, txs /controller # REST API for manipulating state (Dev-only) /crypto # Helper utilities for mock key generation
Originally developed for internal testing, lnd-sim is a Python-based mock server that intercepts gRPC calls intended for a real LND node. It allows you to define custom responses for SendPayment , AddInvoice , and GetInfo .
If you need help with a (e.g., lnd itest , Polar , Regtest , or a custom script), please provide more details and I can offer a concrete command or configuration example.