Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Igodlab committed Jan 18, 2022
1 parent b13c7cf commit 136c81d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions code/week02/README.md
Expand Up @@ -6,9 +6,14 @@ Before getting started you should clone the [Plutus repository](https://github.c
$ mkdir Cardano-King && cd Cardano-King
$ git clone https://github.com/input-output-hk/plutus.git
$ git clone https://github.com/input-output-hk/plutus-pioneer-program.git


## Outline
1. [Get started with the cabal repl] (<#secc:get-started>)
2. [Implement our first validator](<#secc:get-validator>)


## [1. Item 1 Get started with the cabal repl](<#secc:get-started>)
## Get started with the cabal repl

Since we are not installing cabal locally, bacause it is much more convenient to use it from nix-shell (this is included in [Nix](https://nixos.org/nix/)), we will navigate to the plutus-pioneer/week02 git-cloned repo inside a nix environment. However, nix must be started first from the plutus root repo.

Expand All @@ -29,7 +34,7 @@ Some examples seeing the type of Data and create bite-string on the fly (use lit



## [2. Item 2 Implement our first validator](<#secc:get-validator>)
## Implement our first validator
Start a Haskell module "Week02.Gift" where the script imports all the necessary language extensions that plutus needs. (first 8 lines `{-#...#-}`) and other modules that we refer to (lines 12-28) from the `./week01/EnglishAuction.hs` script.

Go back to the repl and load Gift.hs. Then we will see what a Monoid in haskell `()`
Expand Down

0 comments on commit 136c81d

Please sign in to comment.