Possible deterrents -
1. Use cgroups to limit cpu usage on a process.
2. Block coinhive
3. Implement captchas
4. Cloudflare
5. Adblock
6. API throttling and 1 minute cache per URL
7. Disallow 1 IP from creating more than X accounts at a certain speed per day