Get started with Plutus
Plutus is the smart contract platform of the Cardano blockchain. It allows you to write applications that interact with the Cardano blockchain.
Take a look at the Plutus Tutorial if you want to learn Plutus from the beginning or see Plutus resources, where you can find references to all Plutus-related repositories, documentation, and training materials. If you don't know Haskell yet, consider starting with Haskell.
Follow Chris Moreton's content updates. With a high effort he transcribes the lectures of the Plutus Pioneer Program.
The Plutus platform
In this Video Michael Peyton-Jones starts by walking us through working with Plutus. Plutus allows all programming to be done from a single Haskell library. This lets users build secure applications, forge new assets, and create smart contracts in a predictable, deterministic environment with the highest level of assurance. Furthemore, developers don’t have to run a full Cardano node to test their work.
Jann Müller then takes us through the Plutus Application Platform, where assets can be built and launched. He also demonstrates how tokens can be transferred using a smart contract. With Plutus you can:
- Forge new tokens in a lightweight environment
- Build smart contracts
- Support basic multi-sig scripts
- Writing a basic Plutus app
- Using Plutus Tx
- Writing basic validator scripts
- Writing basic minting policies
- Property-based testing of Plutus contracts
- How to export scripts, datums and redeemers
- How to write a scalable Plutus app
- How to handle blockchain events
- How to analyse the cost and size of Plutus scripts
Get started with Haskell
Haskell is the programming language for Plutus contracts. If you are looking for the best guide to Haskell and unsure where to start, we recommend you check out the book or website Learn You a Haskell for Great Good by Miran Lipovača.
Learning Haskell is made easy with this illustrated guide, one of the most engaging ways to learn this fascinating programming language.
Another great learning resource is the online course Haskell and Crypto Mongolia 2020 lectured by Andres Löh, co-founder of the Well-Typed consultancy and Dr. Lars Brünjes, Education Director at IOHK. The course is the suggested starting point for Plutus Pioneers at the beginning of the Plutus Pioneer Program. It's a 10-week, 40 hours/week deep dive into Haskell and Cryptocurrencies.
If you are coming from a Python background, there is an informative project py2hs that explains essential Haskell concepts using Python.
Get started with the Plutus pioneer program
The Plutus Pioneer Program was created in order to recruit and train developers in Plutus for the Cardano ecosystem. You can complete this programm at your own pace or sign up for an active iteration of the program. By entering the program, you will become part of a group that communicates on Discord and holds live weekly QA sessions. The course teaches you the core principles of how to code in both Haskell and Plutus. It is highly interactive, with weekly videos, exercises, and Q&A sessions and exclusive access to the creators and key experts in the language.
Beside the videos you can also read the book based on the Plutus Pioneer Program. The book is written once an iteration of the Pioneer Program comes to an end. It exists from the 3rd iteration on and can be found in the book/ folder of the Pioneer program github repository.
This course is not for coding beginners. You do not need to be an expert in formal methods, but programming experience and a general aptitude for logical and mathematical thinking are highly advisable. We recommend to get started with Haskell before taking the course. The IOG education team that created the Priooner program also offers a Haskell course that you can at you own pace.
Prior knowledge of Haskell or functional programming is also recommended, as Plutus is heavily based on Haskell and includes advanced features like Template Haskell, type-level programming, and effect systems.
Plutus Project-Based Learning (PPBL)
PPBL is built to complement the Plutus Pioneer Program. Students can complete both courses in any order they choose. Students can prepare for the Plutus Pioneer Program by working through the PPBL course, or they can apply what they have learned in PPP by joining the PPBL course.
PPBL takes a big-picture view of Cardano development so that students can learn to contextualize the role of smart contracts in full-stack Cardano applications. Course embedded projects give students the chance to investigate new design patterns, and to learn about questions at the frontiers of Cardano development.
At weekly Live Coding sessions, students gather to share questions and to build projects together.
The PPBL 2023 Course is currently going live in English, French, Indonesian, Japanese, Spanish, and Vietnamese.
Demeter is a web-based development platform providing a full suite of tools for building Cardano dApps end-to-end. It features starter-kits for a range of different project types including Plutus: Plutus Starter Kit.
Demeter.run provides a free tier of their service where you can get started experimenting with Plutus.