You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In light of bitcoindevkit/bdk#535, I feel the cli code can be optimized a lot. We can remove the OnlineWalletSubcommand and OfflineWalletSubcommand, as there is now no distinction between online and offline wallets. All wallets are offline and we only need a blockchian when we want to sync and broadcast..
This needs to be done before other open PRs can be merged or else it might cause rework on them.
So opening up this issue for approach discussion. Whats the best way structure bdk-cli after the big bdk change? Or should the same structure be kept as it is and adopt with minimal changes?
I think the basic options and commands will look the same since we already only enable online commands when a blockchain feature is turned on. But I agree this is a high priority to update to the new bdk API.
Could we also add verify feature? Getting this error right now when trying to install bdk-cli binary:
Yes currently bdk-cli doesn't expose the verify function. Do you think that is useful? I am curious to know your use case for transaction verification. In general if your wallet is connected to a backend node, the node verifies the transaction by itself and then provides it to the wallet.
Activity
notmandatory commentedon Mar 29, 2022
I think the basic options and commands will look the same since we already only enable online commands when a blockchain feature is turned on. But I agree this is a high priority to update to the new bdk API.
kirillzh commentedon Mar 29, 2022
Could we also add
verifyfeature? Getting this error right now when trying to installbdk-clibinary:rajarshimaitra commentedon Mar 31, 2022
Yes currently bdk-cli doesn't expose the
verifyfunction. Do you think that is useful? I am curious to know your use case for transaction verification. In general if your wallet is connected to a backend node, the node verifies the transaction by itself and then provides it to the wallet.notmandatory commentedon Apr 1, 2022
I've added a
bdk-cliverifyfeature in #73