888 Commits

Author SHA1 Message Date
thunderbiscuit
b9c283c89b
Add samples for AddressIndex and AddressInfo 2022-09-22 09:40:39 -04:00
thunderbiscuit
3e96aad10e
Use idiomatic Kotlin/Java documentation and KDoc structure 2022-09-21 09:12:50 -04:00
thunderbiscuit
a671c4f86b
Move samples into tests 2022-09-21 08:01:12 -04:00
thunderbiscuit
157b1875c5
Remove unused docs patch 2022-09-21 08:01:11 -04:00
thunderbiscuit
af89ebaeea
Update API docs to v0.9.0 2022-09-21 08:01:08 -04:00
thunderbiscuit
4259f260a9
Add samples for BlockchainConfig 2022-09-21 08:00:17 -04:00
thunderbiscuit
4d973e7ab6
Add temporary API docs 2022-09-21 08:00:10 -04:00
thunderbiscuit
d603932e23
Update publishing CI workflow 2022-09-20 19:43:27 -04:00
thunderbiscuit
db64f372f2
Split libraries into independent Gradle projects 2022-09-20 19:43:17 -04:00
thunderbiscuit
810e22dc9c
Bump bdk-ffi submodule to v0.9.0 tag 2022-09-20 08:09:36 -04:00
thunderbiscuit
a3cbc4477f
Bump SNAPSHOT version to 0.10.0-SNAPSHOT 2022-09-09 12:41:41 -04:00
thunderbiscuit
6b993b22db
Merge pull request #89 from thunderbiscuit/bump-version-0.9.0
Bump version 0.9.0
2022-09-09 12:04:04 -04:00
thunderbiscuit
b8f9d199a8
Simplify tests 2022-09-08 18:21:04 -04:00
thunderbiscuit
b5ff0a7914
Bump bdk-ffi submodule version to 0.9.0 2022-09-08 16:07:41 -04:00
thunderbiscuit
485f4f72ce
Bump version to 0.9.0 v0.9.0 2022-09-08 15:18:48 -04:00
thunderbiscuit
37dddd05f6
Update changelog for 0.9.0 release 2022-09-08 15:17:35 -04:00
Steve Myers
dfb350e206
Merge bitcoindevkit/bdk-ffi#193: Update bdk dependency to 0.22
3c6075ad96afa238dc3ceca71ba82cb10088bb90 Add Balance struct and conversion from BdkBalance (thunderbiscuit)
4e15badb14d34db4911641f345e99987d132a81c Update BDK to version 0.22 (thunderbiscuit)

Pull request description:

  The bindings do not build when attempting this upgrade because `get_balance()` now returns a `Balance` struct (this was merged in bitcoindevkit/bdk#640)

  ```sh
  error[E0308]: mismatched types
     --> src/lib.rs:433:9
      |
  432 |     fn get_balance(&self) -> Result<u64, Error> {
      |                              ------------------ expected `Result<u64, bdk::Error>` because of return type
  433 |         self.get_wallet().get_balance()
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found struct `Balance`
      |
      = note: expected enum `Result<u64, _>`
                 found enum `Result<Balance, _>`

  For more information about this error, try `rustc --explain E0308`.
  error: could not compile `bdk-ffi` due to previous error
  ```

  When we upgrade to `0.22.0` we could decide to add the `Balance` struct to the bindings, or simply return the total by calling `get_total()`, which returns a `u64` (same as we have now).

ACKs for top commit:
  notmandatory:
    ACK 3c6075ad96afa238dc3ceca71ba82cb10088bb90

Tree-SHA512: 13d2f83f992735f4f9619ae339d7834df08385129edf06bac830c298b433571af3f211e92a6da1f4f9646dec27dbd2c6133a035f26eac8757b7a1c94b54b463d
2022-09-08 13:58:27 -05:00
thunderbiscuit
4e14e8d22a
Merge pull request #87 from bitcoindevkit/publish-to-staging
Publish bdk-jvm and bdk-android to Maven Central
2022-09-08 10:45:00 -04:00
thunderbiscuit
222d1594ca
Enable full bdk-jvm and bdk-android publishing workflow 2022-09-08 09:50:13 -04:00
thunderbiscuit
3c6075ad96
Add Balance struct and conversion from BdkBalance 2022-09-08 08:35:10 -05:00
thunderbiscuit
4e15badb14
Update BDK to version 0.22 2022-09-08 08:34:56 -05:00
thunderbiscuit
3cd252f877
Remove dokka-related markdown files 2022-09-08 08:47:46 -04:00
thunderbiscuit
b259d376b0
Pick up Nexus credentials from GitHub secrets 2022-09-08 08:47:43 -04:00
thunderbiscuit
fc288bc92b
Add bdk-android publishing workflow 2022-09-08 08:47:39 -04:00
thunderbiscuit
7e25684399
Add publish to staging repository task 2022-09-08 08:47:36 -04:00
thunderbiscuit
a0adc8fc74
Remove unused Dokka blocks and imports 2022-09-08 08:47:33 -04:00
thunderbiscuit
8b042ef470
Fix bdk-android gradle script signing block 2022-09-08 08:47:31 -04:00
thunderbiscuit
db4ad1a78d
Sign bdk-jvm artifact in CI 2022-09-08 08:47:09 -04:00
Steve Myers
f05a6648a7
Refactor TransactionDetails to include confirmation_time (#190) 2022-09-05 14:02:29 -04:00
thunderbiscuit
297680b7c2
Merge pull request #194 from thunderbiscuit/update/uniffi-bindgen
Update uniffi-bindgen to 0.19.5
2022-09-05 13:36:07 -04:00
Steve Myers
8166f820b4
Add README info badges for MSRV and other links 2022-09-05 12:04:08 -05:00
Steve Myers
4f20966ddd
Update CI test rust versions to 1.61 and 1.63 2022-09-05 11:46:26 -05:00
thunderbiscuit
d447aac9ae
Update uniffi-bindgen to 0.19.5 2022-09-02 13:11:31 -04:00
thunderbiscuit
9c485a952f
Bump bdk-ffi submodule to v0.8.1 tag (#78) 2022-08-30 16:29:36 -04:00
thunderbiscuit
159e7ab4af
Pin version of uniffi-bindgen in bdk-ffi-bindgen tool (#189) 2022-08-29 22:08:38 -04:00
thunderbiscuit
3750a7ebd6
Add workflow to publish bdk-jvm (#76) 2022-08-29 20:25:05 -04:00
thunderbiscuit
bfe03b91b2
Add inline documentation (#171)
* Add docs for AddressInfo and AddressIndex structs

* Add docs for DatabaseConfig and ElectrumConfig

* Add docs for EsploraConfig struct

* Add docs for TransactionDetails struct

* Add docs for OutPoint struct

* Add docs for TxOut struct

* Add docs for TxBuilder
2022-08-29 15:47:37 -04:00
Pedro
3b028ecab1
Expose set_recipients API from TxBuiler (#186) 2022-08-29 09:58:46 -04:00
Kirill Zhukov
989b7339a0
Convert Gradle script plugin for generating UniFfi bindings into a composite build. 2022-08-24 11:12:44 -07:00
thunderbiscuit
d00813e1d6
Fix CI test workflow using pinned Android NDK 2022-08-19 07:53:50 -04:00
thunderbiscuit
aa004201b2
Fix method names to mirror Rust bdk API (#185)
* Fix method names to mirror Rust bdk API

* Fix method names to mirror Rust bdk API
2022-08-18 14:35:17 -04:00
thunderbiscuit
eed5554551
Merge pull request #184 from thunderbiscuit/block-height-hash
Add `get_height` and `get_block_hash` methods on blockchain
2022-08-18 14:14:03 -04:00
thunderbiscuit
88427e4a05
Update CHANGELOG.md
Co-authored-by: Steve Myers <github@notmandatory.org>
2022-08-18 14:04:31 -04:00
thunderbiscuit
8248660c52
Merge branch 'master' into block-height-hash 2022-08-18 13:43:18 -04:00
thunderbiscuit
25963ec982
Add get_height and get_block_hash methods on blockchain 2022-08-18 13:39:00 -04:00
Steve Myers
7da28658a5
Merge bitcoindevkit/bdk-ffi#154: Add child key pair generation api
5944756b780968588e97886d888bb854aa2053ad Added tests for DescriptorSecretKey and DescriptorPublicKey (dhruvbaliyan)
58fea6b2050d9f10b1c5429cce4f4969c155e9e3 Added interfaces DescriptorSecretKey and DescriptorPublicKey (dhruvbaliyan)
4977cb6d68830accf036b192dba3c524253e53f2 Added interface DerivationPath (dhruvbaliyan)
930a1f1eb4a64bf447dec2493edd9948be67f119 Added generate_mnemonic method (dhruvbaliyan)
973013cbdfb0093c9d0bc8d2f5176c981160e060 Removed ExtendedKeyInfo & related methods (dhruvbaliyan)

Pull request description:

  Would like to know if anything can be improved. Completes #87

Top commit has no ACKs.

Tree-SHA512: a480535c8965015d860336c717ec3c394778ac08194b0336eeba4209f3e3eff2072873a190dd8c9e4fac1e2f712c7040c838dc1c1a757d53c28866f118c99c17
2022-08-18 12:14:35 -05:00
dhruvbaliyan
5944756b78
Added tests for DescriptorSecretKey and DescriptorPublicKey 2022-08-18 04:24:03 +05:30
dhruvbaliyan
58fea6b205
Added interfaces DescriptorSecretKey and DescriptorPublicKey 2022-08-18 04:24:02 +05:30
dhruvbaliyan
4977cb6d68
Added interface DerivationPath 2022-08-18 04:24:02 +05:30
dhruvbaliyan
930a1f1eb4
Added generate_mnemonic method 2022-08-18 04:24:02 +05:30