30 Commits

Author SHA1 Message Date
thunderbiscuit
2b7c104f11
Clean up of docs regarding removed cli tool 2023-03-27 13:39:28 -04:00
thunderbiscuit
6bab5a159d
Remove bdk-ffi-bindgen tool section in root readme 2023-03-24 12:56:06 -04:00
thunderbiscuit
17b3712000
Update JVM and Android API docs to version 0.25 and add samples 2022-12-06 15:17:10 -05:00
thunderbiscuit
5dd5828e88
Add documentation on how to use snapshot versions of libraries 2022-11-30 12:20:48 -05:00
thunderbiscuit
832387d32d
Add uniffi-bindings-template link to readme 2022-11-25 12:41:02 -05:00
thunderbiscuit
3edda27ef2
Clean up root readme and add individual libraries' readmes 2022-11-17 11:48:24 -05:00
thunderbiscuit
16ab09d7df
Move licenses, changelog, and readme back into root directory 2022-11-14 10:54:06 -05:00
thunderbiscuit
b06528d10c
Move bdk-ffi source code in subdirectory 2022-11-10 13:27:00 -05:00
Steve Myers
8166f820b4
Add README info badges for MSRV and other links 2022-09-05 12:04:08 -05:00
thunderbiscuit
d38737669d
Fix bdk-python link in readme (#182) 2022-08-17 17:20:20 -04:00
Steve Myers
e797efea57
Merge bitcoindevkit/bdk-ffi#126: Add workspace and bdk-ffi-bindgen binary cli tool
b207464fe6f68b615c34eb519d07ddf1f021daa4 Update README.md with bdk-ffi-bindgen info (Steve Myers)
fca5d1602b6c7aa1811a0355e517d7fcbf8440d2 Add workspace and move bin to bdk-ffi-bindgen package (Steve Myers)
f4e097c4ac1fb3fbf7cf88b3c56950cf484efe9a Only print python fix up lib path if used (Steve Myers)
c66dfdd52a843f0b312b4b80a1edb82d336916bd Use structopt to capture generate options (Steve Myers)
ce848725b420f61d74a97b2bb739cf1cada64347 Add binary to remove the need for uniffi-bindgen cli tool (thunderbiscuit)

Pull request description:

  This PR is based on the mozilla/application-services [embedded-uniffi-bindgen](https://github.com/mozilla/application-services/tree/main/tools/embedded-uniffi-bindgen) tool. The purpose is to keep the bdk-ffi and bdk-ffi-bindgen tool in sync with the same version of uniffi-rs.

  Fixes #124, this PR replaces #122.

  The `bdkffi` library code remains unchanged but the `bin/generate` and `bin/generate-bindings` bins are combined and put in a new workspace binary package called `bdk-ffi-bindgen`.  The `bdk-ffi-bindgen` binary uses the following options, defaults, and environment variables:

  ```shell
  % cargo run -p bdk-ffi-bindgen -- --help

  bdk-ffi-bindgen 0.1.0
  A tool to generate bdk-ffi language bindings

  USAGE:
      bdk-ffi-bindgen [OPTIONS] --language <language> --out-dir <out-dir>

  FLAGS:
      -h, --help       Prints help information
      -V, --version    Prints version information

  OPTIONS:
      -l, --language <language>
              Language to generate bindings for [env: BDKFFI_BINDGEN_LANGUAGE=]  [possible values: kotlin, swift, python]

      -o, --out-dir <out-dir>
              Output directory to put generated language bindings [env: BDKFFI_BINDGEN_OUTPUT_DIR=]

      -p, --python-fixup-path <python-fixup-path>    Python fix up lib path [env: BDKFFI_BINDGEN_PYTHON_FIXUP_PATH=]
      -u, --udl-file <udl-file>                      UDL file [env: BDKFFI_BINDGEN_UDL=]  [default: src/bdk.udl]

  ```

Top commit has no ACKs.

Tree-SHA512: fa1a1c097fe5d0e704d76078c10f82c466dad5d045c8c93d579c2d13c448c52fb6a4f99dfd3dbc46be30471477ae2d1f9264201e14bae7948b408c8e0b3c9b81
2022-04-01 18:58:18 -07:00
Sudarsan Balaji
a41d628b14
Fix typo 2022-04-01 13:56:43 +05:30
Steve Myers
b207464fe6
Update README.md with bdk-ffi-bindgen info 2022-03-31 20:18:31 -07:00
Steve Myers
5240cd895e Update uniffi-rs to 0.16.0 2021-12-21 22:16:27 -08:00
Steve Myers
55462fb426 Remove bindings and examples, update README.md 2021-12-21 22:16:25 -08:00
Sudarsan Balaji
e250d4ae1f Update README with latest published package information 2021-11-06 05:48:27 +05:30
Sudarsan Balaji
d197e17eaa Add some notes on consuming published packages 2021-11-06 01:30:36 +05:30
Sudarsan Balaji
a4370332df Fix heading levels 2021-10-30 00:28:26 +05:30
Sudarsan Balaji
693a75e6d1 Add sections and more info 2021-10-30 00:27:02 +05:30
Steve Myers
b6fa3539e4 Update README android setup 2021-10-28 15:34:17 -07:00
Sudarsan Balaji
653773a638 Add demo application in kotlin 2021-10-16 14:45:32 +05:30
Steve Myers
31710ac77b Add Network enum as wallet constructor param 2021-10-14 10:58:16 -07:00
Steve Myers
01bfe5d10e Update README, build.sh and test.sh, rust fmt 2021-10-12 18:22:02 -07:00
Steve Myers
091c9994fa [WIP] reorganize and remove old stuff 2021-10-12 15:24:11 -07:00
Sudarsan Balaji
4efbfc1e9c Add some more steps to run 2021-10-13 03:05:55 +05:30
Sudarsan Balaji
0cc2f0a5be [WIP] Add generated and test files 2021-10-13 02:05:46 +05:30
Steve Myers
0b265a7c26 WIP -- NOT WORKING 2021-10-12 10:27:33 -07:00
Steve Myers
f9e3bdfdb2 [wip] swift 2021-10-02 18:22:30 -07:00
Steve Myers
39e5efe5c0 Upgrade bdk dependency to 0.11 2021-09-28 17:03:25 -07:00
Steve Myers
060e54a718 Refactor to return results by value, add wallet list_unspent and related types 2021-07-02 21:28:26 -07:00