{"id":19000852,"url":"https://github.com/codefordao/cairo-contracts","last_synced_at":"2026-02-28T15:03:37.487Z","repository":{"id":37962014,"uuid":"500190669","full_name":"CodeforDAO/cairo-contracts","owner":"CodeforDAO","description":"CodeforDAO contracts in Cairo lang","archived":false,"fork":false,"pushed_at":"2022-06-13T09:45:23.000Z","size":27,"stargazers_count":19,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T13:22:44.346Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Cairo","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeforDAO.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-05T19:21:06.000Z","updated_at":"2024-09-11T07:37:18.000Z","dependencies_parsed_at":"2022-09-02T11:00:50.431Z","dependency_job_id":null,"html_url":"https://github.com/CodeforDAO/cairo-contracts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CodeforDAO/cairo-contracts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeforDAO%2Fcairo-contracts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeforDAO%2Fcairo-contracts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeforDAO%2Fcairo-contracts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeforDAO%2Fcairo-contracts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeforDAO","download_url":"https://codeload.github.com/CodeforDAO/cairo-contracts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeforDAO%2Fcairo-contracts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29939002,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T13:49:17.081Z","status":"ssl_error","status_checked_at":"2026-02-28T13:48:50.396Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T18:08:31.794Z","updated_at":"2026-02-28T15:03:32.477Z","avatar_url":"https://github.com/CodeforDAO.png","language":"Cairo","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://twitter.com/codefordao\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/97301607?s=200\u0026u=d0a9f88d13d7d7dd5b37c09fdd802c9fe378d029\u0026v=4\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003ch2 align=\"center\"\u003e\n  CodeforDAO Contracts in Cairo (StarkNet)\n\u003c/h2\u003e\n\u003cp align=\"center\"\u003e\n  Base on, build upon and code for DAOs.\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  Make DAO the next generation of productivity tools for global collaboration.\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  Follow us on Twitter \u003ca href=\"https://twitter.com/codefordao\"\u003e@codefordao\u003c/a\u003e.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/CodeforDAO/contracts/\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-MIT-green.svg\" alt=\"mit license\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003e **This project is a work in progress, it has not been audited for code security and is being deployed in local development and test networks at this time. Please use with caution.**\n\nThe CodeforDAO contract is a set of DAO infrastructure and efficiency tools with member NFT at its core.\n\nIt is centered on a set of membership contracts for the `ERC721` protocol, the creation of its counterpart share contracts, two parallel governance frameworks and a timelock vault contract.\n\nIt introduces some basic features to DAO, including vault contracts for self-service participation in investments, a set of modular frameworks to support aggressive governance.\n\nRead the full documents in this [Solidity Repo](https://github.com/CodeforDAO/contracts) of CodeforDAO contracts\n\n## Set up the project\n\nBefore creating virtual environment, please **make sure** to install Python `3.7.12` using the Python version management tool and activate that version.\n\n### Create a Python virtual environment\n\n```bash\npython -m venv env\nsource env/bin/activate\n```\n\n### Install the requirements\n\n```bash\npip install -r requirements.txt\n```\n\n**Notice**: this project use the latest version of OpenZeppelin contract for Cairo instead of the stable release of it.\n\n## Compile\n\n```bash\nnile compile --directory src\n```\n\n## Running tests\n\nRunning spec tests where you can find them in `./test` folder\n\n```bash\n$ pytest tests\n```\n\n## Use this module in your project\n\n**Note:** these smart contracts are not designed to be library contracts(except `Module.cairo`), and you can fork these contracts locally to modify them yourself, rather than importing them directly by a git link.\n\n```bash\npip install git+https://github.com/CodeforDAO/cairo-contracts.git\n```\n\n## License\n\nThis project is released under the [MIT](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodefordao%2Fcairo-contracts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodefordao%2Fcairo-contracts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodefordao%2Fcairo-contracts/lists"}