Skip to content

thunderbiscuit/bitcoin-ffi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme

This crate does the light wrapping on rust-bitcoin required for use in uniffi-based libraries.

Usage

To leverage these types in your uniffi library, simply:

  1. Add a dependency on this crate:
bitcoin-ffi = { git = "https://github.com/thunderbiscuit/bitcoin-ffi.git", branch = "master" }
  1. Add the following declarations to your UDL file:
[ExternalInterface="bitcoin_ffi"]
typedef extern Script;
  1. Add the following to your uniffi.toml config:
[bindings.kotlin.external_packages]
# Map the crate names from [External={name}] into Kotlin package names
bitcoin_ffi = "org.bitcoindevkit.bitcoin"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages