Then initialize the module with your unique app ID.Option 1: Automatic using environment variables (recommended):
Copy
LUNARY_PUBLIC_KEY="0x0"
Option 2: Manually using the .init method:
Copy
// Initialize the Lunary module with your unique app IDlunary.init({ publicKey: "0x0",});
The .init method accepts the following arguments:
Copy
{ "appId": string, // Your unique app ID obtained from the dashboard "apiUrl": string, // Optional: Use a custom endpoint if you're self-hosting (you can also set LUNARY_API_URL) "verbose": boolean // Optional: Enable verbose logging for debugging}