Welcome to cairo-lib
– a comprehensive library for the Cairo language. This library provides a suite of tools to supercharge your Cairo development experience. Inspired by Alexandria.
To compile the library:
scarb build
To format your code:
scarb fmt
Run the tests using:
scarb test
Add to your Scarb.toml
dependencies:
[dependencies]
cairo_lib = { git = "https://github.com/HerodotusDev/cairo-lib.git" }
For example, to utilize a specific tool from the library:
use cairo_lib::utils::types::bytes::Bytes;
cairo-lib
is licensed under the GNU General Public License v3.0.