basicswap-bash/bsx/removecoin.sh

11 lines
440 B
Bash
Raw Permalink Normal View History

2024-02-12 22:57:48 +00:00
#!/bin/bash
## Prompt for user input
2024-02-24 16:24:07 +00:00
echo -e "\n\nThe following coins can be disabled (case sensitive)\nbitcoin\ndash\nfiro\nlitecoin\nmonero\npivx\n"
2024-02-12 22:57:48 +00:00
read -p 'Full name of coin to disable [example: litecoin] ' disablecoin
## 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