I’m a “full stack” developer, primarily focused in C#, however knowledgeable on front end languages as well. Just completed the Plutus tutorial on Clio.1 and curious where to go from there.
8 Likes
bobert
18 January 2019 15:52
2
Welcome Shawn! Glad to hear you finished the Plutus Lesson and are looking for more. Since Plutus is brand spanking new, there really isn’t too much more content to consume. There are these 2 quick overview tutorials from IOHK:
# Tutorial
This tutorial will walk you through the basics of using the Plutus Tx compiler to create
embedded programs that can be used when generating transactions. This tutorial will
not go into detail about how to use these programs to make transactions, for that see
the [following tutorial](../../wallet-api/Tutorial.md).
```haskell
-- Necessary language extensions
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE ScopedTypeVariables #-}
module Tutorial where
-- Main Plutus Tx module
import Language.PlutusTx
-- Additional support for lifting
import Language.PlutusTx.Lift
-- Used for examples
This file has been truncated. show original
# wallet-api: Wallet-API tutorial
This tutorial shows how to implement a simple crowdfunding campaign as a Plutus contract, using the wallet API to submit it to the blockchain. There are two ways to run the code:
1. Open the [Plutus Playground](https://prod.playground.plutus.iohkdev.io/), delete all the text in the editor field, and type / copy the code bits in there. Make sure to preserve the indentation.
2. The tutorial is written as a literate Haskell file, so it can be fed directly to the Haskell compiler. The easiest way to do that is to clone the Plutus repository at `git@github.com:input-output-hk/plutus.git` and build the `wallet-api` library using `nix-build -A localPackages.wallet-api`. This runs the `wallet-api-doctests` test suite that compiles the tutorial. Alternatively, run `cabal test wallet-api`. Note that the test suite requires Unix symlinks to be supported by the file system, which means that it will not work on Windows Subsystem for Linux (WSL), even though nix generally does work!
We assume the reader is familiar with the [UTxO model with scripts](../../docs/extended-utxo/README.md) and the [PlutusTx tutorial](../../plutus-tx/tutorial/Tutorial.md). Please note that the wallet API and by extension the wallet API tutorial is a work in progress and may be changed significantly without much warning.
The tutorial has two parts. In part 1 we write the contract, including all the data types we need, validator scripts, and contract endpoints that handle the interactions between wallet and blockchain. In part 2 we show how to test the contract.
# 1. Contract Definition
We need some language extensions and imports:
```haskell
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE DeriveGeneric #-}
This file has been truncated. show original
And otherwise there are only examples from IOHK and myself of contracts:
3 Likes
Where in PA are you? I know someone was starting a meetup group in the Pittsburgh area.
I’m about an hour south of Pittsburgh… Work in the city though, so that sounds great!
1 Like
Cool check out this thread and DM CAlexanderFree to see what the status of the group is:
Hey everyone! Wanted to see if there was any Cardano Fans near Pittsburgh, PA. I would love to organize a meetup. I have a great venue available in the same office space that I work. BTW I work at ICO Alert in Nova Place and I would be able to get Alloy 26 as a venue which is quite nice. It has a stage and seating so we could really put on quite the event!
Let me know if anyone is interested!
[edit: made a meetup group feel free to join! https://www.meetup.com/How-I-Learned-to-Stop-Worrying-an…
2 Likes
Hi @shawnsblog ! Welcome to the Cardano Forum and the Cardano community
Looks like @bobert and @Donnybaseball have already got you acquainted with the information you need to get started