Documentation for the Plinth compiler, a language for writing on-chain and off-chain code for the Cardano blockchain. Plinth (formerly Plutus Tx) is a subset of Haskell compiled to Plutus Core.
Finding your way around
This documentation follows the Diataxis framework, which separates docs into four kinds by what you need from them:
- Explanation — understanding-oriented. Background and discussion: what Plinth is and how the compiler works.
- Tutorials — learning-oriented. Start here if you are new: a hands-on lesson that walks you through compiling your first smart contract.
- How-to guides — task-oriented. Practical recipes for a specific job: install the compiler, use it in a project, and generate a blueprint.
- Reference — information-oriented. Dry facts to look up.