A set of libraries to help using Cairo on StarkNet.
Examples for use in other Cairo contracts are provided in examples.
protostar install CairOpen/cairo-contracts
! Coming soon
To use the librairy in contracts then
# contracts/MyContract.cairo
%lang starknet
from cairopen.string.string import String
from cairopen.string.type import string
String utilities to store and manipulation strings in Cairo. Docs
- Type
String
- Codecs & Namespace
StringCodec
- Namespace
StringUtil
- Common constants
Mathematical utilities in Cairo. Docs
Binary utilities in Cairo. Docs
Hashing utilities in Cairo. Docs
This project is built using Protostar
Tests: make test