Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look into numerous recompositions in screens #19

Closed
fivetran-tangyetong opened this issue Jun 20, 2022 · 13 comments
Closed

Look into numerous recompositions in screens #19

fivetran-tangyetong opened this issue Jun 20, 2022 · 13 comments

Comments

@fivetran-tangyetong
Copy link
Contributor

No description provided.

@yellowHatpro
Copy link

Is this wallet still under active maintenance, or is the focus on Padawan??? 🤔

@thunderbiscuit
Copy link
Owner

This wallet is being actively maintained for sure. It needs updating to the latest bdk-android, and I'd love to add some of the new features we exposed in the latest releases.

@yellowHatpro
Copy link

Alright, I would try to contribute to this repo as well.
Just a quick question, are the advanced features mentioned in this project the ones we want to add in Padawan as well?

@thunderbiscuit
Copy link
Owner

thunderbiscuit commented Apr 6, 2023

No totally different features. Padawan is at the moment close to its feature-set for the 1.0 release. The Devkit Wallet advanced-features version of the app, however, can basically just add anything that's available in bdk-android. So there is a lot of space for adding things here.

@yellowHatpro
Copy link

Hi, are we able to build the advanced-features branch ?
I am getting an error in the beginning itself:

    Caused by: org.bitcoindevkit.BdkException$Descriptor: Descriptor(Miniscript(Unexpected("(0 args) while parsing Miniscript")))
                      	at org.bitcoindevkit.BdkException$ErrorHandler.read(bdk.kt:1863)
                      	at org.bitcoindevkit.BdkException$ErrorHandler$lift$1.invoke(bdk.kt:1831)
                      	at org.bitcoindevkit.BdkException$ErrorHandler$lift$1.invoke(bdk.kt:1831)
                      	at org.bitcoindevkit.BdkKt.liftFromRustBuffer(bdk.kt:209)
                      	at org.bitcoindevkit.BdkException$ErrorHandler.lift(bdk.kt:1831)
                      	at org.bitcoindevkit.BdkException$ErrorHandler.lift(bdk.kt:1829)
                      	at org.bitcoindevkit.Wallet.<init>(bdk.kt:2235)
                      	at com.goldenraven.devkitwallet.data.Wallet.initialize(Wallet.kt:36)
                      	at com.goldenraven.devkitwallet.data.Wallet.loadExistingWallet(Wallet.kt:82)
                      	at com.goldenraven.devkitwallet.DevkitWalletActivity.onCreate(DevkitWalletActivity.kt:39)
                      	```
                      	
                      	Is it known error?

@Prakhar-Agarwal-byte
Copy link
Contributor

@yellowHatpro Yes, I was able to build this branch and didn't encounter this issue.

@yellowHatpro
Copy link

@Prakhar-Agarwal-byte can you tell me your rustc version?

@yellowHatpro
Copy link

@thunderbiscuit as mentioned in some previous discussion, i came to know miniscript issue with rust version 1.68, could the above issue be related to rust version?

@thunderbiscuit
Copy link
Owner

No in this case I suspect it's the code creating the wallet that needs updating. The older versions of the library did not have descriptor templates, and there are a few new types related to keys and descriptors in the later versions of the library. I don't remember exactly when this was introduced but take a look at these examples for how to build wallets with the Descriptor type. I think the old code might not be valid anymore.

@yellowHatpro
Copy link

Yeah true I found the bdk library used out of date. On updating the version, the code was breaking. Are we intending to update the advanced wallet, if yes, then till which version number? (Or should we just go latest bdk version😛)

@thunderbiscuit
Copy link
Owner

Let's bring it all the way up to 0.28.0 (the latest release).

@yellowHatpro
Copy link

Lesgoo!!

@thunderbiscuit
Copy link
Owner

For this particular wallet I'm not too concerned with efficiency of the Compose runtime. Closing this now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants