{"id":18482962,"url":"https://github.com/denismurphy/simplified-blockchain","last_synced_at":"2025-04-08T18:32:09.954Z","repository":{"id":190055970,"uuid":"587290454","full_name":"denismurphy/simplified-blockchain","owner":"denismurphy","description":"Simplified Blockchain: A Playful Approach","archived":true,"fork":false,"pushed_at":"2024-08-18T17:02:00.000Z","size":24,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T20:06:16.762Z","etag":null,"topics":["blockchain","cargo","educational","merkle-tree","proof","rust","simplified","toy","transaction","zero-knowledge","zk-rollup","zk-snarks"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":false,"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/denismurphy.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}},"created_at":"2023-01-10T12:11:42.000Z","updated_at":"2024-12-13T12:52:39.000Z","dependencies_parsed_at":"2024-11-06T12:38:41.002Z","dependency_job_id":"b93a2388-f193-48fa-b1d5-9f8924655a75","html_url":"https://github.com/denismurphy/simplified-blockchain","commit_stats":null,"previous_names":["denismurphy/simplified-blockchain"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denismurphy%2Fsimplified-blockchain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denismurphy%2Fsimplified-blockchain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denismurphy%2Fsimplified-blockchain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denismurphy%2Fsimplified-blockchain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denismurphy","download_url":"https://codeload.github.com/denismurphy/simplified-blockchain/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247623009,"owners_count":20968574,"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":["blockchain","cargo","educational","merkle-tree","proof","rust","simplified","toy","transaction","zero-knowledge","zk-rollup","zk-snarks"],"created_at":"2024-11-06T12:32:32.900Z","updated_at":"2025-04-08T18:32:04.943Z","avatar_url":"https://github.com/denismurphy.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Simplified Blockchain](https://github.com/denismurphy/simplified-blockchain/blob/main/images/blockchain_vector_images.svg?raw=true)\n\n# 🔗 Simplified Blockchain: A Playful Approach 🎮\n\nThis repository contains simplified implementations of a Blockchain, Merkle Tree, Zk-SNARK, and Zk-Rollup.\n\n## 🚀 Getting Started\n\nSimplified implementations use `Vec\u003cu8\u003e` for all data and variables to keep things straightforward. Here's what we've got:\n\n### 🔐 Simplified zk-SNARK\n\nOur `zksnark` module includes:\n- `ProvingKey` struct\n- `VerificationKey` struct\n- `create_proof()` function\n- `verify_proof()` function\n\n### 🌳 Simplified Merkle Tree\n\nThe `merkle_tree` module provides:\n- `MerkleTree` struct\n- Root calculation\n- Leaf inclusion verification\n\n### 🔄 Simplified Zk-RollupTransaction\n\nThe `ZkRollupTransaction` struct includes:\n- `inputs`, `outputs`, `public_inputs`, `snark_proof`, and `snark_input` fields\n- `new()` function for generation\n- `verify()` function for verification\n\n### ⛓️ Simplified Blockchain\n\nOur `Blockchain` struct offers:\n- Storage of `ZkRollupTransaction`s in a HashMap\n- `new()` function for creating a new blockchain instance\n- `add_transaction` method for adding new transactions\n\n## 📜 License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenismurphy%2Fsimplified-blockchain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenismurphy%2Fsimplified-blockchain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenismurphy%2Fsimplified-blockchain/lists"}