I am building a crypto exchange and I wonder how HitBTC exchange (https://hitbtc.com/) is handling "Main account" and "Trading account", as the image below:
According to them, Main Account is like cold wallet, while Trading Account is like hot wallet. Storing your fund in Main Account (cold wallet) will be safer to your fund.
Now, let's talk about definition of cold wallet and hot wallet. Cold wallet means private key is stored offline, while hot wallet means private key is stored online.
So, am I correct that, when user store his fund in "Trading Account", what really happens is, HitBTC moves private key of that particular user's wallet to an online server? And when the user moves the fund to "Main Account", what really happens is, HitBTC remove the private key from online server and store it in online offline servers?
If yes, then how can HitBTC, when necessary, moves private key from offline server to online server, without making the offline server online?