Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 623 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 623 Bytes

Cairo Demo

A set off simple showcase programs written in Cairo Lang.

Programs list:

  • Hello
  • Simple Polynomial
  • Array Summation
  • Power Calculation
  • Simple AMM
  • Starknet
    • Ownable
    • Balance

Compile and run instructions

# Change directory
cd hello

# Compile program
cairo-compile hello.cairo --output hello_compiled.json

# Run program
cairo-run --program=hello_compiled.json --print_output --layout=small
Program output:
  123