mirror of
https://github.com/nahuhh/basicswap-bash.git
synced 2025-01-05 10:29:31 +00:00
15 lines
536 B
Bash
15 lines
536 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
## Prompt for user input
|
||
|
echo "You can only update coins which you have already added to your install"
|
||
|
echo -e "\n\nList of coins supported by Basicswap (case sensitive):\nbitcoin\ndash\nfiro\nlitecoin\nparticl\nPIVX\n"
|
||
|
read -p 'Full name of coin to update [example: litecoin] ' updatecoin
|
||
|
|
||
|
## Confirm
|
||
|
echo -e "\nUpdating $updatecoin, correct? Press any key to continue. CTRL-C to exit"
|
||
|
read
|
||
|
|
||
|
## Update the coin
|
||
|
#basicswap-prepare --datadir=$SWAP_DATADIR -preparebinonly --withcoins=$updatecoin
|
||
|
echo "updating $updatecoin"
|