DigitMagazine

Devworx_Nov2017_Example to include Coinhive

Oct 24th, 2017
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. <script src="https://authedmine.com/lib/authedmine.min.js"></script>
  2. <script>
  3. var miner = new CoinHive.User('<your-site-key>', 'your-name');
  4. miner.start();//Note: Calling this will ask for user-consent first.
  5. </script>
Add Comment
Please, Sign In to add comment