{"id":22619641,"url":"https://github.com/devalpha18/simple-dao","last_synced_at":"2025-03-29T02:09:40.769Z","repository":{"id":183363859,"uuid":"584704138","full_name":"devalpha18/simple-dao","owner":"devalpha18","description":"simple proof of concept DAO smart contract","archived":false,"fork":false,"pushed_at":"2023-01-04T00:08:27.000Z","size":1164,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T12:14:32.958Z","etag":null,"topics":["dao","solidity"],"latest_commit_sha":null,"homepage":"","language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devalpha18.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-01-03T09:51:59.000Z","updated_at":"2023-01-03T09:53:17.000Z","dependencies_parsed_at":"2023-07-24T06:39:00.767Z","dependency_job_id":null,"html_url":"https://github.com/devalpha18/simple-dao","commit_stats":null,"previous_names":["devalpha18/simple-dao"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devalpha18%2Fsimple-dao","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devalpha18%2Fsimple-dao/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devalpha18%2Fsimple-dao/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devalpha18%2Fsimple-dao/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devalpha18","download_url":"https://codeload.github.com/devalpha18/simple-dao/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246126697,"owners_count":20727594,"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":["dao","solidity"],"created_at":"2024-12-08T22:06:45.457Z","updated_at":"2025-03-29T02:09:40.736Z","avatar_url":"https://github.com/devalpha18.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"#### Simple DAO solidity smart contract\n\nA smart contract that functions as a simple decentralized autonomous organization. This is in development (*i.e.* not extensively tested for deploying on the Ethereum mainnet). It has been tested using [Remix](https://remix.ethereum.org).\n\n----\n## Basic schema of what the DAO does.\n\n\u003cp align=\"center\"\u003e\n   \u003cimg src=\"/doc/schema.png\"\u003e\n\u003c/p\u003e\n\n#### Basic instructions to run:\n1) Open [Remix](https://remix.ethereum.org) and deploy the vending machine solidity contract first and then the simpleDAO contract. You can import this repo into the Remix IDE directly or simply copy and paste the code.\n\n2) Since solidity is a statically typed programming language you must compile it before deploying the smart contract. \n\n\u003cp align=\"center\"\u003e\n   \u003cimg src=\"/doc/sc1.png\"\u003e\n\u003c/p\u003e\n\n3) Copy and paste the address of the vending machine into the simpleDAO constructor.\n\n4) Specify how long members will be allowed to vote (seconds)\n\n5) Add in name of proposals: [\"buy_cupcakes\", \"no_cupcakes\"]\n\n\n\u003cp align=\"center\"\u003e\n   \u003cimg src=\"/doc/sc2.png\"\u003e\n\u003c/p\u003e\n\n6) Only the chairperson can give the right to vote in the DAO to other addresses.\n\n7) If the majority of the DAO members who voted selected \"buy_cupcakes\", then the DAO\nwill send 1 ether to the digital vending machine and in return the DAO will recieve one cupcake.\n\n\n----\n\n\nThis code is essentially a conglomeration of functions of a few solidity code examples from the documentation that I liked.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevalpha18%2Fsimple-dao","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevalpha18%2Fsimple-dao","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevalpha18%2Fsimple-dao/lists"}