{"id":16086676,"url":"https://github.com/astares/pharo-blockchain","last_synced_at":"2026-02-20T22:03:58.408Z","repository":{"id":250226693,"uuid":"833853833","full_name":"astares/Pharo-Blockchain","owner":"astares","description":"A minimalistic blockchain written in Pharo","archived":false,"fork":false,"pushed_at":"2024-12-17T23:29:25.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T14:43:16.747Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Smalltalk","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/astares.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":"2024-07-25T22:40:58.000Z","updated_at":"2024-12-17T23:29:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"963169f0-dc18-412f-802c-66361eb04f03","html_url":"https://github.com/astares/Pharo-Blockchain","commit_stats":null,"previous_names":["astares/pharo-blockchain"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/astares/Pharo-Blockchain","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astares%2FPharo-Blockchain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astares%2FPharo-Blockchain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astares%2FPharo-Blockchain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astares%2FPharo-Blockchain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/astares","download_url":"https://codeload.github.com/astares/Pharo-Blockchain/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astares%2FPharo-Blockchain/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29666465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T19:49:36.704Z","status":"ssl_error","status_checked_at":"2026-02-20T19:44:05.372Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":"2024-10-09T13:24:52.081Z","updated_at":"2026-02-20T22:03:58.389Z","avatar_url":"https://github.com/astares.png","language":"Smalltalk","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Pharo 7](https://img.shields.io/badge/Pharo-7.0-%23aac9ff.svg)](https://pharo.org/download)\n[![Pharo 8](https://img.shields.io/badge/Pharo-8.0-%23aac9ff.svg)](https://pharo.org/download)\n[![Pharo 9](https://img.shields.io/badge/Pharo-9.0-%23aac9ff.svg)](https://pharo.org/download)\n[![Pharo 10](https://img.shields.io/badge/Pharo-10-%23aac9ff.svg)](https://pharo.org/download)\n[![Pharo 11](https://img.shields.io/badge/Pharo-11-%23aac9ff.svg)](https://pharo.org/download)\n[![Pharo 12](https://img.shields.io/badge/Pharo-12-%23aac9ff.svg)](https://pharo.org/download)\n\n# Pharo-Blockchain\nA minimalistic blockchain written in [Pharo](https://www.pharo.org)\n\n## Quick Start\n### Install\n\nYou can install **Blockchain** by executing the following load scripts:\n\n```Smalltalk\nMetacello new \n\trepository: 'github://astares/Pharo-Blockchain:main/src';\n\tbaseline: 'Blockchain';\n\tload \t\n```\t\n\n### Use the blockchain\n```Smalltalk\n| blockchain |\nblockchain := Blockchain new.\n\"Add some data\"\nblockchain addNewBlockWithData: 'First Block'.\nblockchain addNewBlockWithData: 'Second Block'.\nself assert: blockchain isValid.\n\n\"Manipulate the data\"\nblockchain chain second data: 'Manipulated'.\t\nself deny: blockchain isValid\n```\n\n\n## Implementation\n\nThe **Blockchain class** represents individual blocks in the chain. Each block has:\n- an index\n- a timestamp\n- data (which can be any object)\n- the hash of the previous block\n- its own hash\n\nThe **Blockchain class** manages the chain of blocks. It includes methods to:\n- initialize the chain with a genesis block\n- add new blocks\n- validate the integrity of the chain\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastares%2Fpharo-blockchain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastares%2Fpharo-blockchain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastares%2Fpharo-blockchain/lists"}