Code Examples
Fast-track your NWC integration with these examples
Example Web TypeScript Project
Install the SDK
or
Quick Start
You can use the JS SDK LN
class to quickly send and receive payments.
Web Project
Mobile Project
The NWCClient
exposes the NWC interface directly, which is more powerful than the WebLN interface and is recommended if you plan to create an application outside of the web (e.g. native mobile/command line/server backend etc.).
Last updated