cairo-playground icon indicating copy to clipboard operation
cairo-playground copied to clipboard

cairo-playground

This repository contains some experiments with Cairo.

  • age-check proves you are at least 18, without revealing your age.
  • anon-bank implements a bank which processes bank transfer transactions without revealing the involved parties and their balances.
    • treemap implements a simple immutable tree map.

Required Setup:

  1. Setup cairo https://www.cairo-lang.org/docs/quickstart.html
  2. Install the starkex crypto package:
> source /Users/dk/cairo_venv/bin/activate
> git clone https://github.com/starkware-libs/starkex-resources.git  
> cd starkex-resources/crypto
> python setup.py build 
> python setup.py install