Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add page for describing cairo builtins #1202

Closed
wants to merge 8 commits into from
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[id="cairo_builtins"]
= Cairo Builtins

== Introduction
_Builtins_, in Cairo, are predefined optimized low-level execution units that the Cairo VM uses to perform predefined computations that are expensive to perform in standard Cairo. Builtins enhance the functionality of the Cairo VM, enabling you to perform tasks such as using the Poseidon hash, range-checks, or ECDSA signature verifications, efficiently and using less gas.
xiaolou86 marked this conversation as resolved.
Show resolved Hide resolved

Builtins are predefined optimized low-level execution units which are added to the Cairo CPU board to perform predefined computations which are expensive to perform in standard Cairo. Builtins enhance the functionality of the Cairo virtual machine, allowing you to perform tasks such as Pedersen hash, Poseidon hash, range-checks, ECDSA signature verifications, Keccak hash, Bitwise operations, and EC operations efficiently and at a cheaper gas cost.

== List of Cairo Builtins
[#list-of-cairo-builtins]
.List of Cairo builtins

[cols="1,2,2"]
|===
Expand Down