{"id":26469791,"url":"https://github.com/ocdbytes/solidity-todo-list","last_synced_at":"2026-04-11T23:32:45.692Z","repository":{"id":113749921,"uuid":"483326736","full_name":"ocdbytes/Solidity-Todo-List","owner":"ocdbytes","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-19T16:36:59.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-19T17:09:20.252Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/ocdbytes.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":"2022-04-19T16:36:09.000Z","updated_at":"2022-04-19T16:37:02.000Z","dependencies_parsed_at":"2023-04-06T16:47:15.711Z","dependency_job_id":null,"html_url":"https://github.com/ocdbytes/Solidity-Todo-List","commit_stats":null,"previous_names":["ocdbytes/solidity-todo-list"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ocdbytes/Solidity-Todo-List","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocdbytes%2FSolidity-Todo-List","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocdbytes%2FSolidity-Todo-List/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocdbytes%2FSolidity-Todo-List/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocdbytes%2FSolidity-Todo-List/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ocdbytes","download_url":"https://codeload.github.com/ocdbytes/Solidity-Todo-List/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocdbytes%2FSolidity-Todo-List/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31699437,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"ssl_error","status_checked_at":"2026-04-11T21:17:24.556Z","response_time":54,"last_error":"SSL_read: 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":"2025-03-19T17:09:24.004Z","updated_at":"2026-04-11T23:32:45.676Z","avatar_url":"https://github.com/ocdbytes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Todolist DAPP\n\n## Setting up the project\n\n```shell\ntruffle init\n```\n\n## Compiling and Deploying\n\n```shell\ntruffle compile\n\n\n# Deploying\n# ---------\n# If no same contract in chain\ntruffle migrate\n# If contract deployed prevouusly\ntruffle migrate --reset\n```\n\n## Interacting with contract\n\n```shell\ntruffle console\n\n# Truffle console -\u003e for interacting with your contracts locally involving your address.\n\n# Getting the deployed contract\ntruffle(development)\u003e todolist = await Todolist.deployed()\nundefined\n\n# Getting the account\ntruffle(development)\u003e account = await web3.eth.getCoinbase()\nundefined\n\n# Accessing the variables\ntruffle(development)\u003e account\n'0xa2f6895ac5fc9a96264a25b8bce898debe26dd41'\n\n# Getting the balance\ntruffle(development)\u003e web3.eth.getBalance(account)\n'99987657760000000000'\n\n# getting task count of account : 0xa2f6895ac5fc9a96264a25b8bce898debe26dd41\ntruffle(development)\u003e taskCount = await todolist.tasksCount(account)\nundefined\n\n# Getting the task count\ntruffle(development)\u003e taskCount.toNumber()\n0\n\n# getting all the tasks in an account\ntruffle(development)\u003e tasksAll = await todolist.tasks(account,0)\nundefined\n\n# getting the tasks so that we can access\ntruffle(development)\u003e tasksAll\nResult {\n  '0': BN {\n    negative: 0,\n    words: [ 0, \u003c1 empty item\u003e ],\n    length: 1,\n    red: null\n  },\n  '1': 'Hello World!!',\n  '2': false,\n  id: BN {\n    negative: 0,\n    words: [ 0, \u003c1 empty item\u003e ],\n    length: 1,\n    red: null\n  },\n  content: 'Hello World!!',\n  completed: false\n}\ntruffle(development)\u003e\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focdbytes%2Fsolidity-todo-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Focdbytes%2Fsolidity-todo-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focdbytes%2Fsolidity-todo-list/lists"}