{"id":15288010,"url":"https://github.com/sgiath/secp256k1","last_synced_at":"2026-02-01T00:12:30.691Z","repository":{"id":169443947,"uuid":"589525168","full_name":"Sgiath/secp256k1","owner":"Sgiath","description":"Elixir wrapper for Bitcoin Core secp256k1 library","archived":false,"fork":false,"pushed_at":"2024-10-21T06:52:58.000Z","size":108,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-21T09:39:48.787Z","etag":null,"topics":["bitcoin","cryptography","elixir","secp256k1"],"latest_commit_sha":null,"homepage":"https://sgiath.dev/libraries#secp256k1","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/Sgiath.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-16T10:25:00.000Z","updated_at":"2024-10-21T06:52:58.000Z","dependencies_parsed_at":"2024-10-22T08:36:24.583Z","dependency_job_id":null,"html_url":"https://github.com/Sgiath/secp256k1","commit_stats":null,"previous_names":["sgiath/secp256k1"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sgiath%2Fsecp256k1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sgiath%2Fsecp256k1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sgiath%2Fsecp256k1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sgiath%2Fsecp256k1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sgiath","download_url":"https://codeload.github.com/Sgiath/secp256k1/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248674686,"owners_count":21143760,"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":["bitcoin","cryptography","elixir","secp256k1"],"created_at":"2024-09-30T15:43:46.229Z","updated_at":"2026-02-01T00:12:30.686Z","avatar_url":"https://github.com/Sgiath.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Secp256k1 library\n\n[![Hex.pm](https://img.shields.io/hexpm/v/lib_secp256k1.svg?style=flat\u0026color=blue)](https://hex.pm/packages/lib_secp256k1)\n[![Docs](https://img.shields.io/badge/api-docs-green.svg?style=flat)](https://hexdocs.pm/lib_secp256k1)\n\nElixir bindings for the [secp256k1](https://github.com/bitcoin-core/secp256k1) cryptographic\nlibrary, used extensively in blockchain and cryptocurrency applications.\n\n## Installation\n\nAdd `lib_secp256k1` to your project's dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:lib_secp256k1, \"~\u003e 0.6.0\"},\n  ]\nend\n```\n\nThe underlying C library and Elixir bindings are compiled automatically during the installation.\nIf you encounter issues during compilation, please check the original secp256k1 repository.\n\nCurrently, compilation is tested primarily on Linux. If you experience issues on macOS or Windows,\nplease open an issue—although immediate support for these platforms is limited, contributions are\nalways welcome.\n\n### MacOS\n\nYou may need to install additional dependencies via Homebrew:\n\n```\nbrew install make gcc autoconf autobuild\n```\n\n## Features\n\n- [x] generate secure random seckey\n- [x] derive pubkey and serialize it in compressed, uncompressed or xonly format\n- [x] generate and validate ECDSA signatures\n- [x] generate and validate Schnorr signatures\n- [x] compute Diffie-Hellman secret\n- [x] Musig protocol functions (experimental)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgiath%2Fsecp256k1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsgiath%2Fsecp256k1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgiath%2Fsecp256k1/lists"}