@Account Closed If you stated that you have to deposit $2,500 with the title company, you have to do that within a certain amount of time (whatever is stipulated in your contract and it is required in your area) in order to have a valid contract. Even if it is a back to back closing, the money collected from your end buyer it's applied to that side of the transaction. They are 2 separate transactions. All the funds have to be deposited in escrow with the title company, unless you are a real estate broker with an escrow account. That is the best and "cleanest" way to show the transactions.
The contract needs to specify what happens to the funds in case the buyer defaults, to your funds with the seller, etc.
Also I have done deals in Philadelphia. Title companies there shy away from double closings and favor assignments instead.
My suggestion is that you talk to some title companies and make sure you can do a double closing or assignment wholesaling transaction first with them and also how they require (timeline and regulations) for your earnest deposit.
In general, earnest deposit is something to be treated really carefully without commingling funds.