A deposit of 5% of the asking price would be held in escrow with a lawyer of your choosing here in Canada.
Once closing costs and final paper work has been complete to your satisfaction you would transfer the remaining balance into escrow whereby the deed to your new property would be transferred to you.