tails: basicswap-prepare

This commit is contained in:
nahuhh 2024-11-09 04:38:18 +00:00
parent e7e55e74ed
commit c319bcfcd3
2 changed files with 5 additions and 5 deletions

View file

@ -42,22 +42,22 @@ if [[ "$particl_mnemonic" && "$monerod_addr" ]]; then
# Restore seed # Restore seed
PARTICL_MNEMONIC=$particl_mnemonic PARTICL_MNEMONIC=$particl_mnemonic
XMR_RPC_HOST=$monerod_addr XMR_RPC_PORT=$monerod_port \ XMR_RPC_HOST=$monerod_addr XMR_RPC_PORT=$monerod_port \
basicswap-prepare --datadir=$SWAP_DATADIR --withcoins=monero,wownero --xmrrestoreheight=$CURRENT_XMR_HEIGHT --wowrestoreheight=600000 --particl_mnemonic="$PARTICL_MNEMONIC" torsocks basicswap-prepare --datadir=$SWAP_DATADIR --withcoins=monero,wownero --xmrrestoreheight=$CURRENT_XMR_HEIGHT --wowrestoreheight=600000 --particl_mnemonic="$PARTICL_MNEMONIC"
enable_tor enable_tor
elif [[ "$particl_mnemonic" ]]; then elif [[ "$particl_mnemonic" ]]; then
# Restore seed # Restore seed
PARTICL_MNEMONIC=$particl_mnemonic PARTICL_MNEMONIC=$particl_mnemonic
basicswap-prepare --datadir=$SWAP_DATADIR --withcoins=monero,wownero --xmrrestoreheight=$CURRENT_XMR_HEIGHT --wowrestoreheight=600000 --particl_mnemonic="$PARTICL_MNEMONIC" torsocks basicswap-prepare --datadir=$SWAP_DATADIR --withcoins=monero,wownero --xmrrestoreheight=$CURRENT_XMR_HEIGHT --wowrestoreheight=600000 --particl_mnemonic="$PARTICL_MNEMONIC"
enable_tor enable_tor
elif [[ "$monerod_addr" ]]; then elif [[ "$monerod_addr" ]]; then
# Setup new install and use a remote monero node # Setup new install and use a remote monero node
XMR_RPC_HOST=$monerod_addr XMR_RPC_PORT=$monerod_port \ XMR_RPC_HOST=$monerod_addr XMR_RPC_PORT=$monerod_port \
basicswap-prepare --datadir=$SWAP_DATADIR --withcoins=monero,wownero --xmrrestoreheight=$CURRENT_XMR_HEIGHT --wowrestoreheight=600000 torsocks basicswap-prepare --datadir=$SWAP_DATADIR --withcoins=monero,wownero --xmrrestoreheight=$CURRENT_XMR_HEIGHT --wowrestoreheight=600000
$red"\n\nMake note of your seed above\n\n"; $nocolor $red"\n\nMake note of your seed above\n\n"; $nocolor
enable_tor enable_tor
else else
# Setup new install using local nodes # Setup new install using local nodes
basicswap-prepare --datadir=$SWAP_DATADIR --withcoins=monero,wownero --xmrrestoreheight=$CURRENT_XMR_HEIGHT --wowrestoreheight=600000 torsocks basicswap-prepare --datadir=$SWAP_DATADIR --withcoins=monero,wownero --xmrrestoreheight=$CURRENT_XMR_HEIGHT --wowrestoreheight=600000
$red"\n\nMake note of your seed above\n\n"; $nocolor $red"\n\nMake note of your seed above\n\n"; $nocolor
enable_tor enable_tor
fi fi

View file

@ -62,7 +62,7 @@ detect_os_arch() {
# Debian / Ubuntu / Mint # Debian / Ubuntu / Mint
INSTALL="sudo apt install" INSTALL="sudo apt install"
UPDATE="sudo apt update" UPDATE="sudo apt update"
DEPENDENCY="python3-pip python3-venv gnupg pkg-config" DEPENDENCY="python3-pip python3-venv libpython3-dev gnupg pkg-config"
elif type -p dnf > /dev/null; then elif type -p dnf > /dev/null; then
# Fedora # Fedora
INSTALL="sudo dnf install" INSTALL="sudo dnf install"