{"id":19136152,"url":"https://github.com/superthinking/basic-blockchain-in-elixir","last_synced_at":"2026-06-23T05:31:54.408Z","repository":{"id":129566024,"uuid":"398853143","full_name":"SuperThinking/basic-blockchain-in-elixir","owner":"SuperThinking","description":"Learning \u0026 Implementing Blockchain and its concepts","archived":false,"fork":false,"pushed_at":"2021-08-22T17:09:43.000Z","size":201,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-13T05:04:17.762Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/SuperThinking.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":"2021-08-22T17:00:12.000Z","updated_at":"2021-08-22T17:09:46.000Z","dependencies_parsed_at":"2023-03-23T17:18:37.071Z","dependency_job_id":null,"html_url":"https://github.com/SuperThinking/basic-blockchain-in-elixir","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SuperThinking/basic-blockchain-in-elixir","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuperThinking%2Fbasic-blockchain-in-elixir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuperThinking%2Fbasic-blockchain-in-elixir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuperThinking%2Fbasic-blockchain-in-elixir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuperThinking%2Fbasic-blockchain-in-elixir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SuperThinking","download_url":"https://codeload.github.com/SuperThinking/basic-blockchain-in-elixir/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuperThinking%2Fbasic-blockchain-in-elixir/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34677382,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-11-09T06:33:16.842Z","updated_at":"2026-06-23T05:31:54.391Z","avatar_url":"https://github.com/SuperThinking.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"⛓\n\nEach block has the following properties:\n\n- Height\n- Timestamp\n- Previous Hash\n- Hash\n- Data\n\n---\n\nRun Tests\n\n```bash\ncd ex_chain\nmix test\n```\n\n---\n\nTry Out!\n\n```bash\ncd ex_chain\niex -S mix\n```\n\n```elixir\nalias ExChain.Blockchain.{Block, Blockchain}\n# Initialize Blockchain\nblockchain = Blockchain.new()\n# Add a block to this blockchain\nblockchain = Blockchain.add_block(blockchain, \"Some Data\")\n```\n___\n\n\nGlossary (full list can be found [here](https://consensys.net/knowledge-base/a-blockchain-glossary-for-beginners/)):\n\n- Genesis Block - It's the first block in any blockchain.\n- Mining - The process by which blocks (or transactions) are verified and added to the blockchain.\n\n---\n\nSources:\n\n- [How to build a blockchain in elixir](https://medium.com/coinmonks/building-a-blockchain-in-elixir-part-1-4d4ed889525b)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuperthinking%2Fbasic-blockchain-in-elixir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuperthinking%2Fbasic-blockchain-in-elixir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuperthinking%2Fbasic-blockchain-in-elixir/lists"}