Skip to content

Commit

Permalink
Added: Lecture 4 Detailed (#40)
Browse files Browse the repository at this point in the history
* Create Lecture1.md

Condensed version of Lecture #1 by Lars Brünjes.

* Create Lecture2Detailed.md

Detailed Lecture 2 Overview

* Update SUMMARY.md

* Create Lecture3.md

Condensed version of Lecture #3 of the Plutus Pioneer Program

* Update SUMMARY.md

Summary extended with Lecture 3

* Added: Lecture 4 Detailed

Cloned from [Reddit (u/RikAlexander)](https://www.reddit.com/r/cardano/comments/n9c9wz/week_04_plutus_pioneer_program/)

* Updated: Lecture 1 - 3 with Code Block Syntax

For all code blocks, I've now used the triple quote syntax, with the correct language (bash/Haskell) for color syntax highlighting and thus better readability.

Co-authored-by: Rik Alexander Girbes <rik@hrcdigital.com>
  • Loading branch information
rikgirbes and Rik Alexander Girbes authored May 11, 2021
1 parent 111bcf8 commit 8bbc94e
Show file tree
Hide file tree
Showing 5 changed files with 1,308 additions and 317 deletions.
1 change: 1 addition & 0 deletions book/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@
* [Lecture 2](/docs/lectures/Lecture2.md)
* [Lecture 2 Detailed](/docs/lectures/Lecture2Detailed.md)
* [Lecture 3](/docs/lectures/Lecture3.md)
* [Lecture 4 Detailed](/docs/lectures/Lecture4Detailed.md)
51 changes: 30 additions & 21 deletions book/docs/lectures/Lecture1.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@ Cloned from [Reddit (u/RikAlexander)](https://www.reddit.com/r/cardano/comments/

1 - First clone the Git Repository of the Plutus Pioneer Program:

[$] git clone https://github.com/input-output-hk/plutus-pioneer-program
[$] cd plutus-pioneer-program/code/week01
```bash
[$] git clone https://github.com/input-output-hk/plutus-pioneer-program
[$] cd plutus-pioneer-program/code/week01
```

2 - Build the week01 project (make sure you are in the `nix-shell`)

[$] cabal build
```bash
[$] cabal build
```

**Note:** this might take a while (go grab some coffee and a cookie)

Expand All @@ -28,16 +32,20 @@ CD into your Plutus installation directory

Start the plutus playground server

[$] cd plutus-playground-server
[$] plutus-playground-server
```bash
[$] cd plutus-playground-server
[$] plutus-playground-server
```




And in the second terminal, start the client

[$] cd plutus-playground-client
[$] npm start
```bash
[$] cd plutus-playground-client
[$] npm start
```



Expand Down Expand Up @@ -78,20 +86,21 @@ But since the Playground adds it's own wrapper, this is obsulate and should be r

5 - Remove these lines:

module Week01.EnglishAuction
( Auction (..)
, StartParams (..), BidParams (..), CloseParams (..)
, AuctionSchema
, start, bid, close
, endpoints
, schemas
, ensureKnownCurrencies
, printJson
, printSchemas
, registeredKnownCurrencies
, stage
) where

```haskell
module Week01.EnglishAuction
( Auction (..)
, StartParams (..), BidParams (..), CloseParams (..)
, AuctionSchema
, start, bid, close
, endpoints
, schemas
, ensureKnownCurrencies
, printJson
, printSchemas
, registeredKnownCurrencies
, stage
) where
```



Expand Down
Loading

0 comments on commit 8bbc94e

Please sign in to comment.