Lnd Emulator Utility Link →
| Service | Methods Emulated | |---------|------------------| | Lightning | GetInfo , ListChannels , SendPaymentSync , AddInvoice , LookupInvoice , PayInvoice , NewAddress | | WalletKit | ListUnspent , SendOutputs , PendingSweeps | | Router | SendPaymentV2 , TrackPayment , EstimateRouteFee |
]
// Test payment resp, err := client.SendPaymentSync(ctx, &lnrpc.SendRequest PaymentRequest: "lntb...", ) assert.NoError(t, err) assert.Equal(t, lnrpc.PaymentResult_SUCCEEDED, resp.Result) lnd emulator utility
You can spin up multiple emulator instances and connect them as peers. For example: NewAddress | | WalletKit | ListUnspent
: Developers can use the emulator to verify that their app correctly generates invoices, handles payments, and monitors channel states. Protocol Research PendingSweeps | | Router | SendPaymentV2
The lnd emulator utility is a practical, versatile toolset for anyone building on or studying Lightning, enabling faster, safer, and more reproducible development than relying on public networks.