{"id":19370270,"url":"https://github.com/bitcoindevkit/bitcoin-ffi","last_synced_at":"2025-04-23T15:32:12.823Z","repository":{"id":242716348,"uuid":"808237917","full_name":"bitcoindevkit/bitcoin-ffi","owner":"bitcoindevkit","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-24T17:03:02.000Z","size":133,"stargazers_count":13,"open_issues_count":10,"forks_count":9,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-02T17:11:16.785Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/bitcoindevkit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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-05-30T16:52:54.000Z","updated_at":"2025-03-24T17:03:06.000Z","dependencies_parsed_at":"2024-06-17T15:16:32.698Z","dependency_job_id":"fc0d986b-590b-46b6-ac55-92cdf8de96cd","html_url":"https://github.com/bitcoindevkit/bitcoin-ffi","commit_stats":null,"previous_names":["thunderbiscuit/rust-bitcoin-ffi","thunderbiscuit/bitcoin-ffi","bitcoindevkit/bitcoin-ffi"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoindevkit%2Fbitcoin-ffi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoindevkit%2Fbitcoin-ffi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoindevkit%2Fbitcoin-ffi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoindevkit%2Fbitcoin-ffi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitcoindevkit","download_url":"https://codeload.github.com/bitcoindevkit/bitcoin-ffi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250460567,"owners_count":21434266,"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":[],"created_at":"2024-11-10T08:14:47.133Z","updated_at":"2025-04-23T15:32:12.520Z","avatar_url":"https://github.com/bitcoindevkit.png","language":"Rust","readme":"# Readme\n\nThis crate does the light wrapping on [rust-bitcoin](https://github.com/rust-bitcoin/rust-bitcoin/) required for use in [uniffi](https://github.com/mozilla/uniffi-rs)-based libraries.\n\n## Usage\n\nTo leverage these types in your uniffi library, simply:\n1. Add a dependency on this crate:\n```toml\nbitcoin-ffi = { git = \"https://github.com/bitcoindevkit/bitcoin-ffi.git\", tag = \"v0.1.2\" }\n```\n\n2. Add the following declarations to your UDL file for the types you wish to import. To read more about external type definitions, see [this page on the Uniffi documentation](https://mozilla.github.io/uniffi-rs/latest/udl/ext_types_external.html).\n```idl\n[ExternalInterface=\"bitcoin_ffi\"]\ntypedef extern Script;\n\n[External=\"bitcoin_ffi\"]\ntypedef extern Network;\n```\n\n3. Add the following to your uniffi.toml config:\n```toml\n[bindings.kotlin.external_packages]\n# Map the crate names from [External={name}] into Kotlin package names\nbitcoin_ffi = \"org.bitcoindevkit.bitcoin\"\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitcoindevkit%2Fbitcoin-ffi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitcoindevkit%2Fbitcoin-ffi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitcoindevkit%2Fbitcoin-ffi/lists"}