{"id":13619750,"url":"https://github.com/mcbagz/LogicGates","last_synced_at":"2025-04-14T16:32:38.945Z","repository":{"id":200405717,"uuid":"705427486","full_name":"mcbagz/LogicGates","owner":"mcbagz","description":"Logical gates in Python for different scenarios","archived":false,"fork":false,"pushed_at":"2023-12-08T03:41:57.000Z","size":35,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-08T05:39:56.539Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","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/mcbagz.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-16T01:24:29.000Z","updated_at":"2024-01-14T12:51:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"7a9dce2f-441e-4122-b89f-d187bad335ed","html_url":"https://github.com/mcbagz/LogicGates","commit_stats":null,"previous_names":["mcbagz/logicgates"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcbagz%2FLogicGates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcbagz%2FLogicGates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcbagz%2FLogicGates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcbagz%2FLogicGates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcbagz","download_url":"https://codeload.github.com/mcbagz/LogicGates/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248916852,"owners_count":21182876,"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-08-01T21:00:48.171Z","updated_at":"2025-04-14T16:32:35.939Z","avatar_url":"https://github.com/mcbagz.png","language":"Jupyter Notebook","funding_links":[],"categories":["Libraries"],"sub_categories":["Potential Use Case"],"readme":"# LogicGates\nThe intention of this repo is to build circuits with logic gates in Python for the inteded use in BitVM.\n\nFor a simple explanation and how-to, check out this video and example.ipynb :\nhttps://www.youtube.com/watch?v=cnijtOVRwgg\u0026ab_channel=BagzTech\n\nHorseMove is the beginning of implementing chess rules.\n\nSha256Parts includes smaller aspects of the Sha256 hashing algorithm, which could be combined with other Bitcoin opcodes to recreate the function.\n\nPDH is the Poorly Designed Hashing algorithm. It takes a 32-bit input and creates a 32-bit hash. My intention is to use this to build unsecure proof of concepts of merkle trees and other tools on Bitcoin. The reason this is 32 bits in input and output is that arithmetic can be done natively in Bitcoin script with 32-bit integers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcbagz%2FLogicGates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcbagz%2FLogicGates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcbagz%2FLogicGates/lists"}