{"id":18914599,"url":"https://github.com/helium/merkerl","last_synced_at":"2025-04-15T08:31:27.635Z","repository":{"id":52612717,"uuid":"124105148","full_name":"helium/merkerl","owner":"helium","description":"A Merkle Tree implementation in Erlang","archived":false,"fork":false,"pushed_at":"2021-04-23T11:59:45.000Z","size":2146,"stargazers_count":20,"open_issues_count":2,"forks_count":7,"subscribers_count":29,"default_branch":"master","last_synced_at":"2024-10-19T01:47:03.653Z","etag":null,"topics":["erlang","merkle","merkle-proof","merkle-tree"],"latest_commit_sha":null,"homepage":null,"language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/helium.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}},"created_at":"2018-03-06T16:19:40.000Z","updated_at":"2024-08-10T00:33:01.000Z","dependencies_parsed_at":"2022-09-26T21:30:55.627Z","dependency_job_id":null,"html_url":"https://github.com/helium/merkerl","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helium%2Fmerkerl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helium%2Fmerkerl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helium%2Fmerkerl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helium%2Fmerkerl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helium","download_url":"https://codeload.github.com/helium/merkerl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223664781,"owners_count":17182195,"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":["erlang","merkle","merkle-proof","merkle-tree"],"created_at":"2024-11-08T10:12:07.480Z","updated_at":"2024-11-08T10:12:08.218Z","avatar_url":"https://github.com/helium.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/helium/merkerl.svg?branch=master)](https://travis-ci.org/helium/merkerl)\n[![Coverage Status](https://coveralls.io/repos/github/helium/merkerl/badge.svg?branch=master)](https://coveralls.io/github/helium/merkerl?branch=master)\n\n\nmerkerl\n--------\n\nA library for building and using [Merkle Trees](https://en.wikipedia.org/wiki/Merkle_tree).\n\nWhy yet another Merkle Tree implementation? Mostly because other implementations didn't allow for pluggable hash functions, did not support proof generation or verification, tried to support mutable trees, or some combination of the above.\n\n\nBuild\n-----\n\n```\n    $ make\n```\n\nTo build documentation:\n\n```\n    $ make docs\n```\n\n\nUsage\n-----\n\nConstruct a merkle tree:\n\n```\n    Values = [\"foo\", \"bar\", \"baz\", \"dog\", \"cat\", \"bear\", \"plant\"],\n    Merkle = merkerl:new(Values, fun merkerl:hash_value/1),\n```\n\nGenerate a proof for a value in a merkle tree:\n\n```\n    ValueHash = merkerl:hash_value(\"bar\"),\n    Proof = merkerl:gen_proof(ValueHash, Merkle),\n```\n\nVerify a proof for a value in a merkle tree:\n\n```\n    ok = merkerl:verify_proof(ValueHash, Merkle, Proof),\n```\n\nThere are other functions for accessing the leaves and values from a\nmerkle tree. For complete documentation, see the generated docs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelium%2Fmerkerl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelium%2Fmerkerl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelium%2Fmerkerl/lists"}