Skip to content
Back to Compact Lab
Legal

Privacy Policy

Effective date: April 2, 2026

Midnight Compact Lab ("we", "our", or "the Lab") operates the Compact Lab web application at compactlab.dev. This Privacy Policy explains what information we collect, how we use it, and your rights regarding your data. By using the Lab, you agree to the practices described here.

1. Information We Collect

Information you provide directly. We collect information you voluntarily submit, such as your email address when you sign up for early access or contact us. We do not require account registration to use the core playground features.

Usage data. When you visit the Lab, we automatically collect certain technical information: IP address, browser type and version, operating system, pages visited, time spent, and referring URL. This data is used in aggregate form to improve the product.

Smart contract code you write. Code you write in the editor is processed entirely in your browser. We do not store, transmit, or inspect your Compact source files unless you explicitly use a share or export feature (when available).

Cookies and local storage. We use first-party cookies and browser local storage to save editor preferences (theme, font size) and session state. We do not use third-party advertising cookies.

2. How We Use Your Information

We use the information we collect to:

  • Operate, maintain, and improve the Compact Lab playground.
  • Respond to support requests and inquiries.
  • Send product updates or release notes if you have opted in.
  • Monitor for abuse, security incidents, or terms violations.
  • Compile aggregate analytics to understand feature usage.

We will not sell, rent, or trade your personal information to third parties for marketing purposes.

3. Data Sharing and Disclosure

We may share your information only in the following limited circumstances:

  • Service providers. We engage trusted third-party vendors (e.g., hosting, analytics, error monitoring) who process data on our behalf under strict confidentiality obligations.
  • Legal requirements. We may disclose information if required by law, subpoena, or to protect the rights, property, or safety of Compact Lab, our users, or the public.
  • Business transfers. In the event of a merger, acquisition, or asset sale, your data may be transferred. We will notify you before this occurs.

4. Data Retention

We retain personal data only as long as necessary to fulfill the purposes described in this policy, or as required by applicable law. Usage logs are typically purged after 90 days. If you request deletion of your data, we will comply within 30 days, except where retention is required by law.

5. Security

We apply industry-standard security measures including TLS encryption in transit, access controls, and regular security reviews. However, no system is completely secure. We encourage you not to share sensitive private keys or wallet credentials through the editor or any communication channel associated with the Lab.

6. Your Rights

Depending on your jurisdiction, you may have the following rights regarding your personal data:

  • Access. Request a copy of the personal data we hold about you.
  • Rectification. Ask us to correct inaccurate data.
  • Erasure. Request deletion of your personal data.
  • Portability. Receive your data in a machine-readable format.
  • Objection. Object to certain processing activities.

To exercise any of these rights, contact us at privacy@compactlab.dev.

7. Children's Privacy

The Lab is not directed to individuals under the age of 16. We do not knowingly collect personal information from children. If you believe we have inadvertently collected such information, please contact us immediately and we will delete it.

8. Third-Party Links

The Lab may contain links to external websites (such as Midnight Network documentation or GitHub). We are not responsible for the privacy practices of those sites. We encourage you to review their privacy policies before providing any personal data.

9. Changes to This Policy

We may update this Privacy Policy from time to time. We will notify you of material changes by updating the effective date above and, where appropriate, by displaying a notice in the application. Your continued use of the Lab after changes become effective constitutes your acceptance of the updated policy.

10. Contact Us

If you have questions, concerns, or requests regarding this Privacy Policy, please reach out to us at:

Midnight Compact Lab

Email: privacy@compactlab.dev