GithubHelp home page GithubHelp logo

plutus-pioneer-program's Introduction

Plutus Pioneer Program

Lectures

Code Examples

Exercises

  • Week #1

  • 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

    • Implement function payTrace in the Homework module.
    • Handle exceptions thrown by submitTx in function payContract in the same module.
  • Week #5

    • Implement a Mary-era-style minting policy in the Homework1 module.
    • Fix the token name to the empty ByteString in the NFT contract in the Homework2 module.
  • Week #6

    • Try to replicate what is done in the lecture - minting tokens with the cardano-cli and the PAB.
  • Week #7

    • Implement the game of "Rock, Paper, Scissors" using state machines.
  • Week #8

    • Add a new operation close to the TokenSale-contract that allows the seller to close the contract and retrieve all remaining funds.
    • Modify the tests accordingly.
  • Week #9m

    • Modify the example Marlowe contract, so that Charlie must put down twice the deposit in the very beginning, which gets split between Alice and Bob if Charlie refuses to make his choice.

Some Plutus Modules

  • Ledger.Scripts, contains functions related to untyped Plutus scripts.
  • Ledger.Typed.Scripts, contains functions related to typed Plutus scripts.
  • Plutus.Contract, contains definitions and functions for writing offchain code.
  • Plutus.Contract.StateMachine, contains definitions and functions for working with state machines.
  • Plutus.Contract.Test, contains support for automatic tests.
  • Plutus.Contract.Test.ContractModel, contains support for automatic property-based tests using QuickCheck.
  • Plutus.V1.Ledger.Ada, contains definitions and functions related to ADA-values.
  • Plutus.V1.Ledger.Interval, contains the definition of intervals and functions for working with them.
  • Plutus.V1.Ledger.Value, contains definitions and functions related to values.
  • Plutus.V1.Ledger.Time, contains time-related types and functions.
  • PlutusTx, contains important types like Data and BuiltinData.
  • PlutusTx.IsData.Class, contains the ToData and FromData classes and related functions.
  • Wallet.Emulator, contains types and functions for dealing with wallets.

Additional Resources

plutus-pioneer-program's People

Contributors

brunjlar avatar pkankaras avatar tvman99 avatar dostrelith678 avatar drobakowski avatar georgeflerovsky avatar gogims avatar luisantonioig avatar nstankov-bg avatar samuelmolinari avatar tdiesler avatar elviejo79 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.