Skip to content

jpraynaud/cairo-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages