Skip to content
CompactLab

Terms of Service

Effective October 24, 2026

These Terms of Service (“Terms”) govern your use of the CompactLab website and playground (“the Service”), operated by CompactLab (“we”, “our”, “us”). By using the Service, you agree to these Terms. If you do not agree, do not use the Service.

1. Acceptance of terms

By using the Service, you confirm that you are at least 16 years old and able to agree to these Terms, which form a binding agreement between you and CompactLab.

We may change these Terms. We will update the effective date above when we do, and continuing to use the Service afterwards means you accept the revised Terms.

2. The Service

CompactLab is a browser IDE for writing, compiling and deploying smart contracts written in Compact, the smart-contract language of the Midnight Network. It currently includes:

  • a code editor with Compact language support and projects saved to your account;
  • server-side compilation (full ZK builds and typecheck-only builds);
  • a Privacy view that highlights disclosure in your contract (a heuristic guide, not a verifier);
  • tools to deploy and call contracts on Midnight Preprod and Preview through the 1AM wallet;
  • starter templates and learning material.

Mainnet is not supported. The Service is provided as-is and may change, be interrupted (including for planned maintenance) or be discontinued.

3. Accounts

You need an account to use the playground. Give accurate information and keep your credentials secure; you are responsible for activity under your account. Tell us promptly if you suspect unauthorized access.

We may suspend or terminate accounts that violate these Terms or harm other users, us or third parties.

4. Acceptable use

You agree not to use the Service to:

  • develop, deploy or distribute contracts designed to defraud, exploit or harm others;
  • attempt to gain unauthorized access to any system, network or account;
  • get around rate limits, quotas or other technical restrictions;
  • scrape or systematically extract data from the Service without written permission;
  • break any applicable law or regulation, including export controls;
  • disable, overload or impair the Service, or interfere with other users.

5. Intellectual property

Open source. The playground’s source code is published on GitHub under the MIT license, and that license governs your use of that code. The CompactLab name and logo are not licensed for reuse.

Your content. You keep full ownership of the code and other content you create. You grant us a limited, non-exclusive, royalty-free license to store, compile and display it only as needed to operate the Service.

6. Blockchain risk

CompactLab deploys to Midnight test networks. You acknowledge that:

  • blockchain transactions are irreversible, and deployed contracts cannot be undone;
  • contract bugs can cause permanent loss of funds or assets;
  • you are responsible for auditing your code before any Mainnet deployment you make elsewhere;
  • CompactLab does not provide investment, legal or financial advice.

7. Disclaimer of warranties

THE SERVICE IS PROVIDED “AS IS” AND “AS AVAILABLE”, WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, ACCURACY OR NON-INFRINGEMENT. We do not warrant that the Service will be uninterrupted or error-free, or that any compiler output, proof or deployment outcome is correct.

8. Limitation of liability

TO THE MAXIMUM EXTENT PERMITTED BY LAW, COMPACTLAB AND ITS CONTRIBUTORS SHALL NOT BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR PUNITIVE DAMAGES, INCLUDING LOSS OF PROFITS, DATA, GOODWILL OR ASSETS, ARISING FROM YOUR USE OF OR INABILITY TO USE THE SERVICE. OUR TOTAL LIABILITY TO YOU SHALL NOT EXCEED ONE HUNDRED US DOLLARS (US $100) OR THE AMOUNT YOU PAID US IN THE PRECEDING TWELVE MONTHS, WHICHEVER IS GREATER.

9. Indemnification

You agree to defend, indemnify and hold harmless CompactLab and its contributors from any claims, losses and costs (including reasonable legal fees) arising from your violation of these Terms or your use of the Service, including contracts you deploy.

10. Privacy

Our Privacy Policy is part of these Terms and explains how we handle your data.

11. Third-party services

The Service links to or works with third parties, including the Midnight Network, the 1AM wallet, Blockfrost, Google and GitHub. We are not responsible for their content or practices; your use of them is subject to their own terms.

12. Governing law and disputes

These Terms are governed by applicable law, without regard to conflict-of-law rules. We will first try to resolve any dispute through good-faith negotiation. If that fails, disputes go to binding arbitration or, where arbitration is not enforceable, to the competent courts.

13. Severability and entire agreement

If any provision is unenforceable, it will be limited to the minimum extent necessary and the rest remains in effect. These Terms and the Privacy Policy are the entire agreement between you and CompactLab about the Service.

14. Contact

Questions about these Terms: legal@compactlab.dev.