Code Monkey home page Code Monkey logo

plutus-pioneer-program's Introduction

Plutus Pioneer Program

Lectures

  • Lecture #1

    • Welcome
    • The (E)UTxO-model
    • Running an example auction contract on a local Playground
    • Homework
  • Lecture #2

    • Triggering change.
    • Low-level, untyped on-chain validation scripts.
    • High-level, typed on-chain validation scripts.
  • Lecture #3

    • Script context.
    • Time handling.
    • Parameterized contracts.
  • Lecture #4

    • Monads
    • The EmulatorTrace monad.
    • The Contract monad.
  • Lecture #5

    • Values.
    • Native tokens & minting policies.
    • NFT's.

Code Examples

Exercises

  • Week #1

    • Build the English Auction contract with cabal build (you may need to run cabal update first).
    • Clone the The Plutus repository, check out the correct commit as specified in cabal.project.
    • Set-up IOHK binary caches How to set up the IOHK binary caches. "If you do not do this, you will end up building GHC, which takes several hours. If you find yourself building GHC, STOP and fix the cache."
    • Enter a nix-shell.
    • Go to the plutus-playground-client folder.
    • Start the Playground server with plutus-playground-server.
    • Start the Playground client (in another nix-shell) with npm run start.
    • Copy-paste the auction contract into the Playground editor - don't forget to remove the module header!
    • Compile.
    • Simulate various auction scenarios.
  • Week #2

    • Fix and complete the code in the Homework1 module.
    • Fix and complete the code in the Homework2 module.
  • Week #3

    • Fix and complete the code in the Homework1 module.
    • Fix and complete the code in the Homework2 module.
  • Week #4

    • Write an appropriate EmulatorTrace that uses the payContract contract in the Homework module.
    • Catch errors in the payContract contract in the same module.
  • Week #5

    • Add a deadline to the minting policy in the Homework1 module.
    • Fix the token name to the empty ByteString in the NFT contract in the Homework2 module.

Solutions

Some Plutus Modules

Plutus community playground

Additional Resources

plutus-pioneer-program's People

Contributors

brunjlar avatar dostrelith678 avatar drobakowski avatar laurenceday avatar nstankov-bg avatar pkankaras avatar samuelmolinari avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.