An external is its own program, not a script inside another one. It can make normal HTTPS requests, so adding a key check takes one request and a few lines.
On start, your program sends the key and a device id to the Lumikey API and reads the reply: valid or not, the reason, time left, the tier and any data you attached. The reply is signed, so you can confirm it was not edited on the way.
Ready examples for C++ (WinHTTP, no extra libraries), C# (HttpClient), Python, Go, Java and others are in the docs.
Read the Windows machine GUID from the registry or hash several hardware ids, and send it with every check. The first device that uses a key keeps it, and you decide how many devices a key may use and whether buyers can reset their own.
Free keys through a key page with ad checkpoints, paid keys delivered from SellAuth, Payhip or any shop with a signed webhook, or keys created in the dashboard or with the Discord bot.
A program that holds all its logic locally can always be patched by someone determined. Keep valuable logic or data on your own server and return it only for a valid key, and use the signed reply so a fake reply is detected.
No. It is one HTTPS request. The C++ example uses WinHTTP and the C# one uses HttpClient, both already part of the platform.
The Free plan covers one project. Starter is $3.99 a month and Pro is $8.99 a month, paid in crypto.