{"id":20992244,"url":"https://github.com/sim31/ordao","last_synced_at":"2025-10-24T00:07:00.527Z","repository":{"id":261811396,"uuid":"885402473","full_name":"sim31/ordao","owner":"sim31","description":"Toolset for DAOs using non-transferable reputation token (Respect)","archived":false,"fork":false,"pushed_at":"2025-06-12T08:58:21.000Z","size":10266,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-04T20:03:42.296Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sim31.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-11-08T14:15:24.000Z","updated_at":"2025-06-12T08:58:25.000Z","dependencies_parsed_at":"2024-11-08T15:42:43.250Z","dependency_job_id":"94f6fd02-81d9-4983-95ef-ff3ce6586fd3","html_url":"https://github.com/sim31/ordao","commit_stats":null,"previous_names":["sim31/ordao"],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/sim31/ordao","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sim31%2Fordao","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sim31%2Fordao/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sim31%2Fordao/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sim31%2Fordao/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sim31","download_url":"https://codeload.github.com/sim31/ordao/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sim31%2Fordao/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263631972,"owners_count":23491525,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-19T07:10:04.790Z","updated_at":"2025-10-24T00:06:55.488Z","avatar_url":"https://github.com/sim31.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ORDAO\n\n\u003c!-- TODO: link --\u003e\nORDAO (Optimistic Respect-based DAO) is a toolset for type of DAOs which use non-transferrable reputation token (Respect). Core of ORDAO is [Optimistic Respect-based executive contract (OREC)](./docs/OREC.md), which enables DAOs to execute actions onchain in a democratic way while avoiding [voter-apathy problem](./docs/OREC.md#motivation). Broadly speaking ORDAO is OREC smart contract plus necessary tooling around it (off-chain services, libraries and frontend apps).\n\nMore specifically these are currently the main components of ORDAO:\n\n* [Contracts](./contracts/)\n  * OREC ([specification](./docs/OREC.md) and [implementation](./contracts/packages/orec/));\n  * [Respect1155](./contracts/packages/respect1155/) - Respect token contract based on ERC-1155 standard;\n* [Services](./services/)\n  * [ornode](./services/ornode/) - API service for storing OREC proposals and Respect token metadata;\n* [Libraries for interfacing with OREC](./libs/)\n  * [orclient](./libs/orclient/) - A library for Ordao apps / frontends, that abstracts all the communication with the backend and blockchain;\n  * [ortypes](./libs/ortypes) - Typescript types and helper utilities for Ordaos. Defines interfaces between orclient - ornode - contracts.\n* [Apps](./apps/)\n  * [gui](./apps/gui) - ORDAO frontend (currently only breakout-result submission frontend for fractals is implemented);\n  * [console](./apps/console/) - documentation plus console interface for orclient (allows you to interface with ORDAO through browser console).\n* [Tools](./tools/) - tools, scripts and tests for development, deployment and system administration of ordao;\n* [Docs](./docs/) - documentation;\n\n```mermaid\n---\ntitle: Dependency graph\n---\nflowchart TD\n  apps/gui --\u003e libs/orclient\n  apps/console --\u003e libs/orclient\n  apps/gui --\u003e libs/ortypes\n  apps/console --\u003e libs/ortypes\n  libs/orclient --\u003e libs/ortypes\n  services/ornode --\u003e libs/ortypes\n  libs/ortypes --\u003e contracts/respect1155\n  libs/ortypes --\u003e contracts/orec\n```\n\n## Relationship to Optimism Fractal\nORDAO came about as an upgrade to Optimism Fractal. [Here](./docs/OF_ORDAO_UPGRADE.md) you can find comparison with older Optimism Fractal software and proposed upgrade path.\n\n## Workflow for testing packages locally before publishing\nBased on suggestion from [here](https://github.com/lerna/lerna/issues/2363).\n\n1. Setup [verdaccio](https://verdaccio.org/docs/installation) (standard setup, no need to change defaults. Once set up, just need to run `verdaccio`);\n2. In a project in which you want to test the packages add .npmrc file with this line: `registry=http://localhost:4873`;\n3. Run `npm run local-publish` script from ordao root; \n4. Test the packages in external project\n  * Checkout out a new branch;\n  * Run `npm update \u003cpkg\u003e...` for packages which got updated and need testing. See that required packages got updated;\n  * Do the tests;\n5. If packages work as expected\n  * Run `npm run local-unpublish-all` to cleanup verdacio registry;\n  * Discard changes to ordao repo that `local-publish` script made (should be changes to lerna.json and package-lock.json);\n  * Run `npm run publish` to publish changes to public npmjs registry;\n  * In the external project\n    * Merge changes from the test branch into the main branch except for package-lock.json;\n    * Comment out registry setting in .npmrc\n    * Do `npm update \u003cpkg\u003e...`;\n    * Test again;\n    * Commit and push if needed;\n6. If packages do not work as expected;\n  * Make required changes in the packages;\n  * Commit them without commiting `lerna.json` and `package-lock.json` (or anything else that references the new versions);\n  * Go back to step 3;\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsim31%2Fordao","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsim31%2Fordao","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsim31%2Fordao/lists"}