Skip to content

Commit

Permalink
Work in progress on wallet send-many.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmart7t2 committed Nov 18, 2023
1 parent 186fbf0 commit 6cf8eac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/inscription_id.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use super::*;

#[derive(Debug, PartialEq, Copy, Clone, Hash, Eq)]
#[derive(Debug, PartialEq, Copy, Clone, Hash, Eq, Ord, PartialOrd)]
pub struct InscriptionId {
pub txid: Txid,
pub index: u32,
Expand Down
4 changes: 4 additions & 0 deletions src/subcommand/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ pub mod receive;
mod restore;
pub mod sats;
pub mod send;
pub mod sendmany;
pub mod transaction_builder;
pub mod transactions;

Expand All @@ -45,6 +46,8 @@ pub(crate) enum Wallet {
Sats(sats::Sats),
#[command(about = "Send sat or inscription")]
Send(send::Send),
#[command(about = "Send multiple inscriptions in a single transaction")]
SendMany(sendmany::SendMany),
#[command(about = "See wallet transactions")]
Transactions(transactions::Transactions),
#[command(about = "List all unspent outputs in wallet")]
Expand Down Expand Up @@ -72,6 +75,7 @@ impl Wallet {
Self::Restore(restore) => restore.run(options),
Self::Sats(sats) => sats.run(options),
Self::Send(send) => send.run(options),
Self::SendMany(sendmany) => sendmany.run(options),
Self::Transactions(transactions) => transactions.run(options),
Self::Outputs => outputs::run(options),
Self::Cardinals => cardinals::run(options),
Expand Down

0 comments on commit 6cf8eac

Please sign in to comment.