⚑ Blazing ⚑ fast ⚑ compiler for Cairo, written in πŸ¦€ Rust πŸ¦€

Overview

Cairo 1.0 🐺

⚑ Blazing ⚑ fast ⚑ compiler for Cairo, written in πŸ¦€ Rust πŸ¦€

Report a Bug - Request a Feature - Ask a Question

GitHub Workflow Status Project license Pull Requests welcome


Getting Started

Prerequisites

  • Install Rust
  • Setup Rust:
rustup override set stable && rustup update && cargo test

Having installed Rust, go ahead to clone the repo, by running the command below on a terminal:

git clone [email protected]:Darlington02/cairo1.0.git

Compiling and running Cairo files

Compile Cairo Contracts to Sierra:

cargo run --bin cairo-compile -- /path/to/input.cairo /path/to/output.sierra --replace-ids

Compile Starknet Contracts to Sierra:

cargo run --bin starknet-compile -- /path/to/input.cairo /path/to/output.sierra --replace-ids

Compile Cairo-Sierra to casm (Cairo assembly):

cargo run --bin sierra-compile -- /path/to/input.sierra /path/to/output.casm

Compile Starknet-Sierra to casm (Cairo assembly):

cargo run --bin starknet-sierra-compile -- /path/to/input.sierra /path/to/output.casm

Run Cairo code directly:

cargo run --bin cairo-run -- -p /path/to/file.cairo

See more information here. You can also find Cairo examples in the examples directory.

Setting up VSCode for Cairo 1.0 Development

Follow the instructions in vscode-cairo.

You might also like...
Starkli (/ˈstɑːrklaΙͺ/), a ⚑ blazing ⚑ fast ⚑ CLI tool for StarkNet powered by πŸ¦€ starknet-rs πŸ¦€

starkli Starkli (/ˈstɑːrklaΙͺ/), a ⚑ blazing ⚑ fast ⚑ CLI tool for StarkNet powered by πŸ¦€ starknet-rs πŸ¦€ Installation The package will be published to

Blazing-fast and yet Sleuth cameraman to www*  😎⚑✨
Blazing-fast and yet Sleuth cameraman to www* 😎⚑✨

Haylxon πŸ”₯ πŸ¦€ SHOOT BEFORE THE BLINK || Haylxon, A tool embodying the K1SS philosophy that allows you to take screenshots of webpages/URLs at lightnin

pyrevm Blazing-fast Python bindings to revm

pyrevm Blazing-fast Python bindings to revm Quickstart make install make test Example Usage Here we show how you can fork from Ethereum mainnet and s

Blazing fast tool to benchmark Starknet sequencers πŸ¦€

Gomu Gomu no Gatling Blazing fast tool to benchmark Starknet sequencers πŸ¦€ . Installation From source git clone https://github.com/keep-starknet-stran

πŸš€ Blazing fast and Powerful Discord Token Grabber, no popo made with python

Rusty-Grabber πŸš€ a blazing fast Discord Token Grabber, no popo made with python Fastest Token Grabber ever : Rusty-Grabber time ./target/release/grab

Minimal, blazing fast Node.js script runner

nrr Minimal, blazing fast Node.js script runner. Why? nrr initializes and resolves scripts way faster than package managers. It achieves this by provi

Discord-to-Cohost compiler written in Rust using Tera
Discord-to-Cohost compiler written in Rust using Tera

Cohoard - Post formatted chatlogs to Cohost! Cohoard is a tool for turning chatlogs into formatted posts on Cohost. You can use Cohoard to easily form

This rust compiler backend emmits valid CLR IR, enambling you to use Rust in .NET projects

What is rustc_codegen_clr? NOTE: this project is a very early proof-of-concept This is a compiler backend for rustc which targets the .NET platform an

Vyper-Compiler Version Manager in Rust

Vyper Compiler Version Manager in Rust Install $ cargo install --git https://github.com/storming0x/vvm-rs --locked vvm-rs Install from source $ git c

Owner
Darlington Nnam
Engineering Blockchains || Building whats next
Darlington Nnam
⚑ Blazing fast async/await HTTP client for Python written on Rust using reqwests

Reqsnaked Reqsnaked is a blazing fast async/await HTTP client for Python written on Rust using reqwests. Works 15% faster than aiohttp on average RAII

Yan Kurbatov 8 Mar 2, 2023
⚑️ Blazing fast terminal file manager written in Rust, based on async I/O.

Yazi - ⚑️ Blazing Fast Terminal File Manager Yazi ("duck" in Chinese) is a terminal file manager written in Rust, based on non-blocking async I/O. It

δΈ‰ε’²ι›… Β· Misaki Masa 189 Aug 1, 2023
A library to generate bindings from Cairo ABI.

Cainome: bindings generation from Cairo ABI Cainome is a library to generate bindings from Cairo ABI. Cainome architecture provides a flexible way to

null 6 Dec 22, 2023
A blazing fast and easy to use TRPC-like server for Rust.

rspc ?? Work in progress ?? A blazing fast and easy to use TRPC-like server for Rust. Website Example You define a trpc router and attach resolvers to

Oscar Beaumont 344 Dec 31, 2022
⚑️Blazing Fast⚑️ CLI tool to get Bible verses with Rust πŸ¦€

bible.rs This is a simple command line tool that accesses bible-api.com to print Bible verses in the terminal Installation brew install wzid/tap/bible

cameron 3 Apr 3, 2023
zoxide is a blazing fast replacement for your cd command

zoxide A smarter cd command for your terminal zoxide is a blazing fast replacement for your cd command, inspired by z and z.lua. It keeps track of the

Ajeet D'Souza 8.7k Dec 31, 2022
⚑️ A blazing fast way of maintaining powerful notes with connections between them.

Zettl ⚑️ A blazing fast way of maintaining powerful notes with connections between them. Installing Zettl To install Zettl, you will need the Rust too

Tirth Jain 26 Dec 2, 2022
β˜„πŸŒŒοΈ The minimal, blazing-fast, and infinitely customizable prompt for any shell

β˜„??️ The minimal, blazing-fast, and infinitely customizable prompt for any shell

Starship Command 31.6k Dec 30, 2022
⚑ A Blazing fast alternative to the stock windows folder delete function!

Turbo Delete A blazing fast alternative to the default Windows delete. Turbodelete is a blazing fast alternative to the default Windows delete functio

Tejas Ravishankar 165 Dec 4, 2022
Minimal and blazing-fast file server. For real, this time.

Zy Minimal and blazing-fast file server. For real, this time. Features Single Page Application support Partial responses (Range support) Cross-Origin

Miraculous Owonubi 17 Dec 18, 2022