{"id":14980181,"url":"https://github.com/comboy/bitcoin-elixir","last_synced_at":"2025-08-20T22:31:43.578Z","repository":{"id":57479679,"uuid":"88605544","full_name":"comboy/bitcoin-elixir","owner":"comboy","description":"Bitcoin tools and full node implementation in Elixir.","archived":false,"fork":false,"pushed_at":"2019-01-05T09:30:39.000Z","size":485,"stargazers_count":88,"open_issues_count":2,"forks_count":18,"subscribers_count":8,"default_branch":"develop","last_synced_at":"2025-08-16T05:00:03.616Z","etag":null,"topics":["bitcoin","cryptocurrency","elixir","library"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/comboy.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":"2017-04-18T09:13:10.000Z","updated_at":"2025-07-19T00:31:47.000Z","dependencies_parsed_at":"2022-09-17T04:41:56.176Z","dependency_job_id":null,"html_url":"https://github.com/comboy/bitcoin-elixir","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/comboy/bitcoin-elixir","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comboy%2Fbitcoin-elixir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comboy%2Fbitcoin-elixir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comboy%2Fbitcoin-elixir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comboy%2Fbitcoin-elixir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/comboy","download_url":"https://codeload.github.com/comboy/bitcoin-elixir/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/comboy%2Fbitcoin-elixir/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271397955,"owners_count":24752640,"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","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"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":["bitcoin","cryptocurrency","elixir","library"],"created_at":"2024-09-24T14:01:24.908Z","updated_at":"2025-08-20T22:31:43.201Z","avatar_url":"https://github.com/comboy.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bitcoin-elixir\n\nBitcoin script and protocol tools plus a full node implementation written in Elxir.\n\nIt's still work in progress, not suitable for any kind of usage. Contributions and comments are of course very much welcome,\nbut if you want to jump in, I'd suggest to get in touch (through github issues) because all APIs are still evolving.\n\nProject is a fork of Justin Lynn's [Bitcoin-Ex](https://github.com/justinlynn/bitcoin-ex) which contained excellent \nprotocol parsers and DNS peer discovery.\n\n## Current status\n\n* Full protocol parser and serialization\n* Basic script interpreter, but still missing many BIPs (currently 1103/1170 of bitcoin core script tests json)\n* Connecting and accepting connections from other peers\n* Syncing blockchain into a postgres database (or temporary memory storage)\n* Using [libsecp256k1](https://github.com/bitcoin-core/secp256k1) for validation\n* Configurable modules (you can plug in your own peer handler, connection manager, storage engine etc.)\n\n## Roadmap\n\n* Storage properly handling reorgs and optimizations\n* Mempool\n* Add missing validations\n* BIPs implementation and script fixes to be able to pass all bitcoin core script and transaction tests\n* Pass TheBlueMatt's [test-scripts](https://github.com/TheBlueMatt/test-scripts)\n* Allow it to run across multiple nodes\n\n## Why?\n\nIt's handy to have Bitcoin tools for operations on addresses, signatures, transactions and scripts in the language of your choice.\nRegarding full node, because it's fun. Given that Bitcoin protocol is defined by the reference client, playing with your\nown implementation is one of a very few ways to truly understand how Bitcoin works. **It is not meant to be used as a wallet.**\n\n## Usage\n\nTo use as a library, add it to your deps:\n\n    {:bitcoin, \"~\u003e 0.0.2\"}\n\n`:libsecp256k1` is an optional dependency (because it requires c++ compilation), which means that when `bitcoin-elixir`\nis used as a lib, it won't be automatically added. If you want to use it, just add it in your deps:\n\n    {:libsecp256k1, [github: \"mbrix/libsecp256k1\", manager: :rebar]}\n\nWhen it's not present, erlang's `:crypto` module is used.\n\n## Running the node\n\nTo start a node uncomment the following line in the dev.exs\n\n    # config :bitcoin, :node, []\n\nTo avoid abusing the network you may want to only connect to your local node e.g.:\n\n    config :bitcoin, :node, [\n      connect: [{127,0,0,1}]\n    ]\n\nCheck (config.exs)[config/config.exs] for more details.\n\n## License\n\nSee the LICENSE file in the project root.\n\n## Contributing\n\nPlease fork this repository to your own account, create a feature/{short but descriptive name} branch on your own\nrepository and submit a pull request back to develop.\n\n**Any** kind of contributions are super welcome. Even if it's a comment bitching about how things are done currently.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomboy%2Fbitcoin-elixir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomboy%2Fbitcoin-elixir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomboy%2Fbitcoin-elixir/lists"}