Commit 863c5bc8 authored by John Burnham's avatar John Burnham

michelson tutorial part 1

parent 0d99643b
parameter string;
storage string;
code {CAR;
PUSH string "Hello ";
CONCAT;
NIL operation; PAIR};
parameter string;
storage string;
code {DUP;
CAR;
PUSH string "Hello ";
CONCAT;
DIP { CDR;};
CONCAT;
NIL operation; PAIR};
parameter unit;
storage string;
code {CDR;
PUSH string "Hello ";
CONCAT;
NIL operation; PAIR};
parameter string;
storage string;
code {DROP;
PUSH string "Hello Tezos!";
NIL operation; PAIR};
parameter string;
storage string;
code {DROP;
PUSH string "Hello World!";
NIL operation; PAIR};
This diff is collapsed.
parameter int;
storage int;
code {CAR; NIL operation; PAIR; FAIL;};
parameter string;
storage string;
code {CAR; NIL operation; PAIR;};
parameter unit;
storage unit;
code {CAR; EMPTY_SET :a (int :pos); DROP; NIL operation; PAIR;};
# michelson-tutorial
# michelson-book
An introduction to writing smart contracts on Tezos
## Table of Contents
- 00: Setting up Tezos
- 01: First SC
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment