Base on, build upon and code for DAOs.
Make DAO the next generation of productivity tools for global collaboration.
Follow us on Twitter @codefordao.
This module is implemented on StarkNet in Cairo language. Using this module requires that you have a basic understanding of the Cairo language and python.
pip install git+https://github.com/CodeforDAO/cairo-array-utils.git
from codefordao.utils.array import Array
# APIs
Array.save(
arr_len: felt,
arr: felt*
) -> (key: felt)
Array.get_item(
key: felt,
index: felt
) -> (res: felt)
Array.get_array(
key: felt,
) -> (
arr_len: felt,
arr: felt*
)
python -m venv env
source env/bin/activate
pip install -r requirements.txt
nile compile --directory src
# Run all tests
pytest tests
cairo-array-utils is released under the MIT.