Andrey 
I applied for 2 Tianditu keys (the limit is 5).
One is browser‑side, and the other is server‑side.
The browser-side key uses referrer/domain restriction, not IP restriction.
The server-side key uses IP restriction, and I haven’t filled in its IP whitelist.
Both have an empty domain whitelist, no restrictions.
Tonfotos is a local client application. Map tile requests are sent directly from the client, so the browser‑side key is suitable for it.