basicswap-bash/bsx/removecoin.sh

11 lines
458 B
Bash
Raw Normal View History

2024-02-12 22:57:48 +00:00
#!/bin/bash
## Prompt for user input
2024-11-09 03:03:53 +00:00
printf "\n\nThe following coins can be disabled (case sensitive)\nbitcoin\ndash\ndecred\nfiro\nlitecoin\nmonero\npivx\nwownero\n\n"
2024-06-04 02:20:34 +00:00
read -p 'Full name of coin to disable [example: wownero] ' disablecoin
2024-02-12 22:57:48 +00:00
## Confirm
2024-11-09 03:03:53 +00:00
printf "\nDisable $disablecoin on your BasicSwap install, correct? Press any key to continue. CTRL-C to exit\n"
2024-02-12 22:57:48 +00:00
read
## Disable the coin
2024-02-24 16:24:07 +00:00
basicswap-prepare --datadir=$SWAP_DATADIR --disablecoin=$disablecoin