]> Untitled Git - bdk-cli/log
bdk-cli
4 years agoBump version to 0.2.1-dev github/release/0.2.0
Steve Myers [Fri, 26 Feb 2021 05:01:47 +0000 (21:01 -0800)]
Bump version to 0.2.1-dev

4 years agoBump version to 0.2.0 v0.2.0
Steve Myers [Fri, 26 Feb 2021 02:58:06 +0000 (18:58 -0800)]
Bump version to 0.2.0

4 years agoUpdate CHANGELOG
Steve Myers [Fri, 26 Feb 2021 04:26:26 +0000 (20:26 -0800)]
Update CHANGELOG

4 years agoAdd feature to enable async-interface
LLFourn [Wed, 17 Feb 2021 03:48:37 +0000 (14:48 +1100)]
Add feature to enable async-interface

This is useful for making handle_online_wallet_subcommand async.

4 years agoRemove async-trait from dependencies
LLFourn [Wed, 17 Feb 2021 03:47:45 +0000 (14:47 +1100)]
Remove async-trait from dependencies

This crate doesn't define or use any async-traits so there's no need.

4 years agore-export structopt
LLFourn [Wed, 17 Feb 2021 03:31:13 +0000 (14:31 +1100)]
re-export structopt

So users of bdk-cli don't have to add it as a dependency.

4 years agoRemove maybe_async from handle offline command
LLFourn [Wed, 17 Feb 2021 03:30:15 +0000 (14:30 +1100)]
Remove maybe_async from handle offline command

4 years agoUpdate CHANGELOG
Steve Myers [Sun, 21 Feb 2021 02:29:09 +0000 (18:29 -0800)]
Update CHANGELOG

4 years agoAdd key derive sub-command
Steve Myers [Sun, 21 Feb 2021 02:22:41 +0000 (18:22 -0800)]
Add key derive sub-command

4 years agoUpdate 'bdk' to '0.4.0' and 'bdk-macros' to '0.3.0'
Steve Myers [Sun, 21 Feb 2021 01:16:56 +0000 (17:16 -0800)]
Update 'bdk' to '0.4.0' and 'bdk-macros' to '0.3.0'

4 years ago[ci] Manually set rust stable version in CI pipeline
Steve Myers [Sun, 21 Feb 2021 02:51:46 +0000 (18:51 -0800)]
[ci] Manually set rust stable version in CI pipeline

4 years agoUpdate handle offline fn and repl to work with online wallets
Steve Myers [Tue, 9 Feb 2021 18:21:22 +0000 (10:21 -0800)]
Update handle offline fn and repl to work with online wallets

4 years agoAdd ElectrumOpts and EsploraOpts structops; set no default dependencies
Steve Myers [Tue, 9 Feb 2021 03:16:01 +0000 (19:16 -0800)]
Add ElectrumOpts and EsploraOpts structops; set no default dependencies

4 years agoSimplify repl line parsing regex
Steve Myers [Mon, 8 Feb 2021 21:40:10 +0000 (13:40 -0800)]
Simplify repl line parsing regex

4 years agoUpdate to latest 'bdk' commit
Steve Myers [Sat, 6 Feb 2021 01:08:48 +0000 (17:08 -0800)]
Update to latest 'bdk' commit

4 years agoAdd workaround for 'structopt' about issue
Steve Myers [Fri, 5 Feb 2021 18:52:25 +0000 (10:52 -0800)]
Add workaround for 'structopt' about issue

4 years agoRemove ReplOpt
Steve Myers [Fri, 5 Feb 2021 00:56:18 +0000 (16:56 -0800)]
Remove ReplOpt

4 years agoUpdate README.md
Steve Myers [Thu, 4 Feb 2021 00:43:40 +0000 (16:43 -0800)]
Update README.md

4 years agoCleanup cli help messages
Steve Myers [Wed, 3 Feb 2021 23:04:44 +0000 (15:04 -0800)]
Cleanup cli help messages

4 years agoAdd key subcommand tests
Steve Myers [Wed, 3 Feb 2021 22:12:57 +0000 (14:12 -0800)]
Add key subcommand tests

4 years agoUpdate to current bdk rev with new 'DerivableKey' and 'TxBuilder' APIs
Steve Myers [Wed, 3 Feb 2021 18:55:16 +0000 (10:55 -0800)]
Update to current bdk rev with new 'DerivableKey' and 'TxBuilder' APIs

4 years agoUpdate CHANGELOG
Steve Myers [Wed, 3 Feb 2021 07:05:01 +0000 (23:05 -0800)]
Update CHANGELOG

4 years agoCreate online and offline wallets, use regex to split and filter repl commands
Steve Myers [Wed, 3 Feb 2021 07:04:37 +0000 (23:04 -0800)]
Create online and offline wallets, use regex to split and filter repl commands

4 years agoAdd ReplOpt and ReplSubCommand
Steve Myers [Wed, 3 Feb 2021 06:59:42 +0000 (22:59 -0800)]
Add ReplOpt and ReplSubCommand

4 years agoUpdate tests
Steve Myers [Wed, 3 Feb 2021 06:57:23 +0000 (22:57 -0800)]
Update tests

4 years agoSplit handle_wallet_subcommand into handle_offline_wallet_subcommand and handle_onlin...
Steve Myers [Wed, 3 Feb 2021 06:54:47 +0000 (22:54 -0800)]
Split handle_wallet_subcommand into handle_offline_wallet_subcommand and handle_online_wallet_subcommand, Add KeySubCommand and handle_key_subcommand

4 years agoSplit WalletSubCommand into OfflineWalletSubCommand and OnlineWalletSubcommand
Steve Myers [Wed, 3 Feb 2021 06:50:20 +0000 (22:50 -0800)]
Split WalletSubCommand into OfflineWalletSubCommand and OnlineWalletSubcommand

4 years agoAdd CliOpts, CliSubCommand, WalletSubCommand, WalletOpts
Steve Myers [Wed, 3 Feb 2021 06:45:58 +0000 (22:45 -0800)]
Add CliOpts, CliSubCommand, WalletSubCommand, WalletOpts

4 years agoAdd regex dependency, remove esplora from default feature
Steve Myers [Wed, 3 Feb 2021 06:10:43 +0000 (22:10 -0800)]
Add regex dependency, remove esplora from default feature

4 years agoUpdate CHANGELOG.md
Alekos Filini [Fri, 22 Jan 2021 15:19:30 +0000 (10:19 -0500)]
Update CHANGELOG.md

4 years agoSetup the required features for wasm
Alekos Filini [Fri, 22 Jan 2021 15:15:36 +0000 (10:15 -0500)]
Setup the required features for wasm

4 years agoUpgrade `bdk` to `0.3`
Alekos Filini [Fri, 22 Jan 2021 15:12:35 +0000 (10:12 -0500)]
Upgrade `bdk` to `0.3`

4 years agoBump version to v0.1.1-dev github/release/0.1.0
Steve Myers [Fri, 8 Jan 2021 19:42:02 +0000 (11:42 -0800)]
Bump version to v0.1.1-dev

4 years agoBump version to 0.1.0 v0.1.0
Steve Myers [Fri, 8 Jan 2021 19:14:14 +0000 (11:14 -0800)]
Bump version to 0.1.0

4 years agoFix crates.io license info
Steve Myers [Fri, 8 Jan 2021 18:14:10 +0000 (10:14 -0800)]
Fix crates.io license info

4 years agoFix rustdocs link
Steve Myers [Thu, 7 Jan 2021 22:45:51 +0000 (14:45 -0800)]
Fix rustdocs link

4 years agoAdd bdk and bdk_macros dependency versions
Steve Myers [Thu, 7 Jan 2021 21:24:06 +0000 (13:24 -0800)]
Add bdk and bdk_macros dependency versions

4 years agoPrep for publishing to crates.io, rename bin to bdk-cli
Steve Myers [Tue, 5 Jan 2021 20:54:21 +0000 (12:54 -0800)]
Prep for publishing to crates.io, rename bin to bdk-cli

4 years agoAdd CHANGELOG.md
Steve Myers [Mon, 28 Dec 2020 06:53:38 +0000 (22:53 -0800)]
Add CHANGELOG.md

4 years agoAdd Network parser to lib.rs, remove from repl.rs
Steve Myers [Mon, 28 Dec 2020 04:22:58 +0000 (20:22 -0800)]
Add Network parser to lib.rs, remove from repl.rs

4 years agoFix github pull_request_template
Steve Myers [Mon, 28 Dec 2020 06:07:12 +0000 (22:07 -0800)]
Fix github pull_request_template

4 years ago[ci] Add CI and Code Coverage badges to README
Steve Myers [Mon, 28 Dec 2020 06:02:40 +0000 (22:02 -0800)]
[ci] Add CI and Code Coverage badges to README

4 years ago[ci] Add audit, ci, and code coverage workflows
Steve Myers [Mon, 28 Dec 2020 05:06:30 +0000 (21:06 -0800)]
[ci] Add audit, ci, and code coverage workflows

4 years agoFix tests
Steve Myers [Mon, 28 Dec 2020 05:01:19 +0000 (21:01 -0800)]
Fix tests

4 years agoAdd more examples to the README.md
Steve Myers [Fri, 18 Dec 2020 16:28:21 +0000 (08:28 -0800)]
Add more examples to the README.md

4 years agoRemove --log_level parameter
Steve Myers [Fri, 18 Dec 2020 16:27:36 +0000 (08:27 -0800)]
Remove --log_level parameter

5 years agoReorganize bdk cli module into new stand alone lib and repl bin
Steve Myers [Fri, 18 Dec 2020 04:38:48 +0000 (20:38 -0800)]
Reorganize bdk cli module into new stand alone lib and repl bin

5 years agoRename `ScriptType` to `KeychainKind`
Alekos Filini [Mon, 14 Dec 2020 16:14:24 +0000 (17:14 +0100)]
Rename `ScriptType` to `KeychainKind`

This avoids confusion with the "type of script".

5 years agoMerge commit 'refs/pull/222/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Mon, 14 Dec 2020 10:44:06 +0000 (11:44 +0100)]
Merge commit 'refs/pull/222/head' of github.com:bitcoindevkit/bdk

5 years agoAdd the pull request template
Alekos Filini [Fri, 11 Dec 2020 14:53:12 +0000 (15:53 +0100)]
Add the pull request template

5 years agoMerge commit 'refs/pull/218/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Fri, 11 Dec 2020 15:31:17 +0000 (16:31 +0100)]
Merge commit 'refs/pull/218/head' of github.com:bitcoindevkit/bdk

5 years agoFix the REPL example to have optional esplora
Evgenii P [Wed, 9 Dec 2020 09:46:05 +0000 (16:46 +0700)]
Fix the REPL example to have optional esplora

5 years agoRemove unused macro imports
Evgenii P [Wed, 9 Dec 2020 09:45:12 +0000 (16:45 +0700)]
Remove unused macro imports

5 years agoMake "esplora" feature optional for REPL binary
Evgenii P [Wed, 9 Dec 2020 09:44:40 +0000 (16:44 +0700)]
Make "esplora" feature optional for REPL binary

5 years agoFix unused import warning and docs link warning
Steve Myers [Mon, 7 Dec 2020 18:56:01 +0000 (10:56 -0800)]
Fix unused import warning and docs link warning

5 years agoUpdate cli module to use StructOpt and add docs
Steve Myers [Tue, 1 Dec 2020 06:03:39 +0000 (22:03 -0800)]
Update cli module to use StructOpt and add docs

5 years ago[wallet] Add a flag to fill-in `PSBT_GLOBAL_XPUB`
Alekos Filini [Mon, 30 Nov 2020 14:13:33 +0000 (15:13 +0100)]
[wallet] Add a flag to fill-in `PSBT_GLOBAL_XPUB`

5 years ago[cli] Add a flag to build PSBTs for offline signers
Alekos Filini [Mon, 30 Nov 2020 13:23:19 +0000 (14:23 +0100)]
[cli] Add a flag to build PSBTs for offline signers

The `--offline_signer` flag forces the addition of `non_witness_utxo` and the full
witness and redeem script for every output, which makes it easier for the signer
to identify the change output.

Closes #199

5 years agoMerge commit 'refs/pull/189/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Mon, 30 Nov 2020 14:38:09 +0000 (15:38 +0100)]
Merge commit 'refs/pull/189/head' of github.com:bitcoindevkit/bdk

5 years agoMerge commit 'refs/pull/191/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Mon, 30 Nov 2020 14:17:09 +0000 (15:17 +0100)]
Merge commit 'refs/pull/191/head' of github.com:bitcoindevkit/bdk

5 years agouse electurm-client updated
Riccardo Casatta [Tue, 24 Nov 2020 11:16:49 +0000 (12:16 +0100)]
use electurm-client updated

5 years agoSwitch to `miniscript` from `crates.io`
Alekos Filini [Tue, 24 Nov 2020 09:07:37 +0000 (10:07 +0100)]
Switch to `miniscript` from `crates.io`

5 years agoUpdate `tiny-bip39` to v0.8
Alekos Filini [Tue, 24 Nov 2020 09:01:42 +0000 (10:01 +0100)]
Update `tiny-bip39` to v0.8

Fixes #185

5 years agoFix typo in CONTRIBUTING.md
Steve Myers [Tue, 24 Nov 2020 05:40:40 +0000 (21:40 -0800)]
Fix typo in CONTRIBUTING.md

5 years agoFix to at least bitcoin ^0.25.2
LLFourn [Mon, 23 Nov 2020 04:06:13 +0000 (15:06 +1100)]
Fix to at least bitcoin ^0.25.2

And fix the fallout.

5 years agoUse dirs-next instead of dirs since the latter is unmantained
Riccardo Casatta [Thu, 19 Nov 2020 14:22:46 +0000 (15:22 +0100)]
Use dirs-next instead of dirs since the latter is unmantained

5 years agopin cc version because last breaks rocksdb build
Riccardo Casatta [Thu, 19 Nov 2020 12:11:06 +0000 (13:11 +0100)]
pin cc version because last breaks rocksdb build

5 years agoAllow to set concurrency in Esplora config and optionally pass it in repl
Riccardo Casatta [Tue, 17 Nov 2020 08:58:29 +0000 (09:58 +0100)]
Allow to set concurrency in Esplora config and optionally pass it in repl

5 years agoMerge commit 'refs/pull/167/head' of github.com:bitcoindevkit/bdk
Alekos Filini [Wed, 18 Nov 2020 09:44:54 +0000 (10:44 +0100)]
Merge commit 'refs/pull/167/head' of github.com:bitcoindevkit/bdk

5 years agoSwitch to "mainline" rust-miniscript
Alekos Filini [Mon, 16 Nov 2020 21:07:38 +0000 (22:07 +0100)]
Switch to "mainline" rust-miniscript

5 years agoRequire esplora feature for repl example
Riccardo Casatta [Tue, 17 Nov 2020 15:47:58 +0000 (16:47 +0100)]
Require esplora feature for repl example

5 years agouse proper type for EsploraHeader, make conversion to BlockHeader infallible
Riccardo Casatta [Tue, 17 Nov 2020 14:08:04 +0000 (15:08 +0100)]
use proper type for EsploraHeader, make conversion to BlockHeader infallible

5 years agoconditionally remove cli args according to enabled feature
Riccardo Casatta [Tue, 17 Nov 2020 13:27:32 +0000 (14:27 +0100)]
conditionally remove cli args according to enabled feature

5 years ago[examples] support esplora blockchain source in repl
Riccardo Casatta [Mon, 16 Nov 2020 11:23:02 +0000 (12:23 +0100)]
[examples] support esplora blockchain source in repl

5 years agoignore .idea
Riccardo Casatta [Mon, 16 Nov 2020 11:09:14 +0000 (12:09 +0100)]
ignore .idea

5 years ago[cli] Split the internal and external policy paths
Alekos Filini [Fri, 13 Nov 2020 11:53:42 +0000 (12:53 +0100)]
[cli] Split the internal and external policy paths

5 years ago[wallet] Split `send_all` into `set_single_recipient` and `drain_wallet`
Alekos Filini [Wed, 28 Oct 2020 09:37:47 +0000 (10:37 +0100)]
[wallet] Split `send_all` into `set_single_recipient` and `drain_wallet`

Previously `send_all` was particularly confusing, because when used on a
`create_tx` it implied two things:
- spend everything that's in the wallet (if no utxos are specified)
- don't create a change output

But when used on a `bump_fee` it only meant to not add a change output
and instead reduce the only existing output to increase the fee.

This has now been split into two separate options that should hopefully
make it more clear to use, as described in #142.

Additionally, `TxBuilder` now has a "context", that basically allows to
make some flags available only when they are actually meaningful, either
for `create_tx` or `bump_fee`.

Closes #142.

5 years ago[repl] add max_addresses param in sync
Riccardo Casatta [Fri, 30 Oct 2020 13:43:36 +0000 (14:43 +0100)]
[repl] add max_addresses param in sync

5 years ago[ci] Fix all-keys and cli-utils tests
Steve Myers [Thu, 29 Oct 2020 04:34:04 +0000 (21:34 -0700)]
[ci] Fix all-keys and cli-utils tests

5 years ago[ci] Fix or ignore clippy warnings for all optional features except compact_filters
Steve Myers [Wed, 28 Oct 2020 22:34:46 +0000 (15:34 -0700)]
[ci] Fix or ignore clippy warnings for all optional features except compact_filters

5 years ago[wallet] Stop implicitly enforcing manaul selection by .add_utxo
LLFourn [Thu, 22 Oct 2020 01:07:51 +0000 (12:07 +1100)]
[wallet] Stop implicitly enforcing manaul selection by .add_utxo

This makes it possible to choose a UTXO manually without having to
choose them *all* manually. I introduced the `manually_selected_only`
option to enforce that only manually selected utxos can be used.

To stop the cli semantics changing I made the `utxos` keep the old
behaviour by calling `manually_selected_only`.

5 years agoBump rust-bitcoin to 0.25, fix Cargo dependencies
Alekos Filini [Fri, 9 Oct 2020 10:03:47 +0000 (12:03 +0200)]
Bump rust-bitcoin to 0.25, fix Cargo dependencies

Closes #112, closes #113, closes #124

5 years agoFix the recovery of a descriptor given a PSBT
Alekos Filini [Tue, 29 Sep 2020 16:18:50 +0000 (18:18 +0200)]
Fix the recovery of a descriptor given a PSBT

This commit upgrades `rust-miniscript` with a fix to only return the prefix that
matches a `hd_keypath` instead of the full derivation path, and then adapts the
signer code accordingly.

This commit closes #108 and #109.

5 years ago[descriptor] Add descriptor templates, add `DerivableKey`
Alekos Filini [Tue, 22 Sep 2020 14:12:09 +0000 (16:12 +0200)]
[descriptor] Add descriptor templates, add `DerivableKey`

5 years ago[keys] Add BIP39 support
Alekos Filini [Fri, 18 Sep 2020 15:26:58 +0000 (17:26 +0200)]
[keys] Add BIP39 support

5 years agoAdd CONTRIBUTING.md
willcl-ark [Wed, 23 Sep 2020 08:25:02 +0000 (09:25 +0100)]
Add CONTRIBUTING.md

Add a CONTRIBUTING.md file based on a template taken from the
rust-lightning project.

5 years ago[cargo] Add the required `rand` features for `wasm32`
Alekos Filini [Wed, 16 Sep 2020 15:30:11 +0000 (17:30 +0200)]
[cargo] Add the required `rand` features for `wasm32`

5 years ago[blockchain] Add a trait to create `Blockchain`s from a configuration
Alekos Filini [Thu, 10 Sep 2020 16:08:37 +0000 (18:08 +0200)]
[blockchain] Add a trait to create `Blockchain`s from a configuration

This is the first set of changes for #42

5 years ago[cargo] Remove the `magic` alias for `repl`
Alekos Filini [Mon, 14 Sep 2020 12:26:19 +0000 (14:26 +0200)]
[cargo] Remove the `magic` alias for `repl`

5 years agoRename the library to `bdk`
Alekos Filini [Mon, 14 Sep 2020 12:25:38 +0000 (14:25 +0200)]
Rename the library to `bdk`

5 years ago[blockchain] Simplify the architecture of blockchain traits
Alekos Filini [Wed, 9 Sep 2020 16:17:49 +0000 (18:17 +0200)]
[blockchain] Simplify the architecture of blockchain traits

Instead of having two traits, `Blockchain` and `OnlineBlockchain` that need
to be implemented by the user, only the relevant one (`OnlineBlockchain`, here
renamed to `Blockchain`) will need to be implemented, since we provide a
blanket implementation for the "marker" trait (previously `Blockchain`, here
renamed to `BlockchainMarker`).

Users of the library will probably never need to implement `BlockchainMarker`
by itself, since we expose the `OfflineBlockchain` type that already does
that and should be good for any "offline" wallet. Still, it's exposed since
they might need to import it to define types with generics.

5 years ago[repl] Revert back the repl example to use Electrum
Alekos Filini [Wed, 9 Sep 2020 15:04:40 +0000 (17:04 +0200)]
[repl] Revert back the repl example to use Electrum

5 years agoBump version to 0.1.0-beta.1 0.1.0-beta.1
Alekos Filini [Mon, 7 Sep 2020 15:13:54 +0000 (17:13 +0200)]
Bump version to 0.1.0-beta.1

5 years agoImprove the README, add examples
Alekos Filini [Mon, 7 Sep 2020 09:16:41 +0000 (11:16 +0200)]
Improve the README, add examples

5 years agoRename the crate to just "magical"
Alekos Filini [Fri, 4 Sep 2020 15:01:33 +0000 (17:01 +0200)]
Rename the crate to just "magical"

5 years agoWrite more docs, make `TxBuilder::with_recipients` take Scripts
Alekos Filini [Fri, 4 Sep 2020 13:45:11 +0000 (15:45 +0200)]
Write more docs, make `TxBuilder::with_recipients` take Scripts

5 years agoGeneral cleanup for the docs
Alekos Filini [Mon, 31 Aug 2020 08:49:44 +0000 (10:49 +0200)]
General cleanup for the docs

5 years agoAdd the license to every file
Alekos Filini [Mon, 31 Aug 2020 09:26:36 +0000 (11:26 +0200)]
Add the license to every file

5 years ago[wallet] Add AddressValidators
Alekos Filini [Sat, 15 Aug 2020 21:21:13 +0000 (23:21 +0200)]
[wallet] Add AddressValidators

5 years ago[cli] Make the REPL return JSON
Alekos Filini [Sat, 15 Aug 2020 18:16:34 +0000 (20:16 +0200)]
[cli] Make the REPL return JSON