After connecting, your wallet asks you to sign a short message to sign in. It is free and sends no transaction.
Longs and shorts pay each other on a schedule, every 1 to 8 hours depending on the exchange. The rate is different on Robinhood, Binance, Hyperliquid and other venues.