def METHOD_NAME(xrp_amount, destination, ledger_seq, wallet_seq, password):
    """
    Signs transaction and returns signed transaction blob in QR code
    """
    print("1. Retrieving encrypted private key and salt...")
    with open(get_path("/WalletTEST/private.txt"), "r") as f:
        seed = f.read()
        seed = bytes.fromhex(seed)
    with open(get_path("/WalletTEST/salt.txt"), "rb") as f:
        salt = f.read()
    print("2. Initializing key...")
    kdf = PBKDF2HMAC(
        algorithm=hashes.SHA256(),
        length=32,
        iterations=100000,
        salt=salt
    )
    key = base64.urlsafe_b64encode(kdf.derive(bytes(password.encode())))
    crypt = Fernet(key)
    print("3. Decrypting wallet's private key using password")
    seed = crypt.decrypt(seed)
    print("4. Initializing wallet using decrypted private key")
    _wallet = Wallet.from_seed(seed=seed.decode())
    validated_seq = ledger_seq
    print("5. Constructing payment transaction...")
    my_tx_payment = Payment(
        account=_wallet.address,
        amount=xrp_to_drops(xrp=xrp_amount),
        destination=destination,
        last_ledger_sequence=validated_seq + 100,
        # +100 to catch up with the ledger when we transmit the signed tx blob to Machine 2
        sequence=wallet_seq,
        fee="10"
    )
    print("6. Signing transaction...")
    my_tx_payment_signed = sign(transaction=my_tx_payment, wallet=_wallet)
    img = qrcode.make(my_tx_payment_signed.to_dict())
    print("7. Displaying signed transaction blob's QR code on the screen...")
    img.save(get_path("/WalletTEST/transactionID.png"))
    image = Image.open(get_path("/WalletTEST/transactionID.png"))
    image.show()
    print(f"RESULT: {my_tx_payment_signed.to_dict()}")
    print("END RESULT: Successful")