basicswap-bash/bsx/removecoin.sh

11 lines
456 B
Bash
Raw Normal View History

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