1234567891011121314151617181920212223 |
- #!/usr/bin/env python3
- #
- # MMGen Wallet, a terminal-based cryptocurrency wallet
- # Copyright (C)2013-2025 The MMGen Project <mmgen@tuta.io>
- # Licensed under the GNU General Public License, Version 3:
- # https://www.gnu.org/licenses
- # Public project repositories:
- # https://github.com/mmgen/mmgen-wallet
- # https://gitlab.com/mmgen/mmgen-wallet
- """
- proto.btc.tx.new_swap: Bitcoin new swap transaction class
- """
- from ....tx.new_swap import NewSwap as TxNewSwap
- from .new import New
- class NewSwap(New, TxNewSwap):
- desc = 'Bitcoin swap transaction'
- async def process_swap_cmdline_args(self, cmd_args, addrfile_args):
- import sys
- sys.exit(0)
|