Skip to content

Commit

Permalink
Revert "Add ord wallet batch command (ordinals#3401)"
Browse files Browse the repository at this point in the history
This reverts commit 9e46493.
  • Loading branch information
harutyunaraci committed Apr 2, 2024
1 parent bfb2016 commit f4cce58
Show file tree
Hide file tree
Showing 12 changed files with 4,129 additions and 4,079 deletions.
2 changes: 1 addition & 1 deletion docs/src/guides/batch-inscribing.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To create a batch inscription using a batchfile in `batch.yaml`, run the
following command:

```bash
ord wallet batch --fee-rate 21 --batch batch.yaml
ord wallet inscribe --fee-rate 21 --batch batch.yaml
```

Example `batch.yaml`
Expand Down
6 changes: 0 additions & 6 deletions src/subcommand/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ use {
crate::wallet::{batch, Wallet},
bitcoincore_rpc::bitcoincore_rpc_json::ListDescriptorsResult,
reqwest::Url,
shared_args::SharedArgs,
};

pub mod balance;
mod batch_command;
pub mod cardinals;
pub mod create;
pub mod dump;
Expand All @@ -19,7 +17,6 @@ pub mod receive;
pub mod restore;
pub mod sats;
pub mod send;
mod shared_args;
pub mod transactions;

#[derive(Debug, Parser)]
Expand All @@ -42,8 +39,6 @@ pub(crate) struct WalletCommand {
pub(crate) enum Subcommand {
#[command(about = "Get wallet balance")]
Balance,
#[command(about = "Create inscriptions and runes")]
Batch(batch_command::Batch),
#[command(about = "Create new wallet")]
Create(create::Create),
#[command(about = "Dump wallet descriptors")]
Expand Down Expand Up @@ -94,7 +89,6 @@ impl WalletCommand {

match self.subcommand {
Subcommand::Balance => balance::run(wallet),
Subcommand::Batch(batch) => batch.run(wallet),
Subcommand::Dump => dump::run(wallet),
Subcommand::Inscribe(inscribe) => inscribe.run(wallet),
Subcommand::Inscriptions => inscriptions::run(wallet),
Expand Down
258 changes: 0 additions & 258 deletions src/subcommand/wallet/batch_command.rs

This file was deleted.

Loading

0 comments on commit f4cce58

Please sign in to comment.