I am creating a new Magento2 extension, and I want a way to restrict buyers, so that they can install it on one domain.
As I understand, the Magento2 marketplace is not a reference of extensions as it was in Magento 1, but now it stores the extensions and send them to the buyers when someone buys it.
If that is the case, I cannot add license to my extension since I have to provide the extension files to Magento marketplace in advance.
Is my assumption correct?
If yes, how do I license my extension? i.e. how to add license key or put license checks for the extension?