How Starbucks and YouTube Mine Crypto - Programmer explains

in blockchain •  7 years ago 

You may have heard that companies such as Starbucks were able to mine cryptocurrency using their customers laptops. How did they manage to pull that off?

Let's take a look at the code and learn! Hope you enjoy guys!

LIMITED DISCOUNT LINK: https://ivanontech.teachable.com/p/blockchain-fundamentals/?product_id=539706&coupon_code=WEEKEND50

Or use the coupon code WEEKEND50 and buy the course with One Time Purchase option!

Thanks for watching guys 💝
🎓 Join my online academy https://academy.ivanontech.com
🎤 If you would like me to speak at your conference, book me here: https://ivanontech.com
🍻 Join the crypto discussion forum - https://thecrypto.pub
📚 Get my free e-book on Bitcoin and Blockchain - http://eepurl.com/c0hyc9 you will receive the book in your inbox once you sign up

👫👭👬Social:
LinkedIn: http://linkedin.com/in/ivanliljeqvist/
Instagram: http://instagram.com/ivanontech/
Steemit: https://steemit.com/@ivanli
Facebook: http://facebook.com/ivanontech/
Exclusive email list: http://eepurl.com/c0hyc9

🤑 Buy cryptocurrencies: https://www.coinbase.com/join/529bab0ab08ded7080000019

💰 Secure your Crypto with Hardware Wallets:
Ledger: https://www.ledgerwallet.com/r/4607
Trezor: https://trezor.io/?a=rvj3rqtje3ph

DISCLAIMER: This is NOT financial advice. This is just my opinions. I am not responsible for any investment decisions that you choose to make.

Ivan on Tech by Ivan Liljeqvist

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thank you Ivan... another informative video. I think antivirus should be able to scan the code and warn the user about it.

Shouldn't they be asking for permission?

yes they should!

This was an amazing demo. Very interesting. How did Starbucks get involved in secretly mining Monero?

Another really nice video!

Upvoted. Always great material. Please consider my blog as well. I currently have 80,000+ followers on Youtube, Twitter, and here combined where my goal is to help improve the crypto community. I'm a crypto analyst in the community with high accuracy calls, and a focus on improving YOUR trading game in a concise and educational manner.
https://steemit.com/bitcoin/@philakonecrypto/tutorial-17-scalping-6-hours-of-live-trading-growing-usd2-000-into-usd3-300-in-4-days
https://twitter.com/PhilakoneCrypto
https://www.youtube.com/users/philakone1

Very interesting video. Thank you for that.
I wonder if there is any way to check if a website is using javascript to mine on your computer? According to your explanation it would be very easy for anyone to use this technique.
How would I know if my computer is being used to mine for someone?

Well you can easily check the javascript code.

That's true, though I think it might be difficult and tedious to go through all the code of every page you look at unless you had reasonable suspicion you were being used to mine.
I was hoping there might be some tell-tale signs or other ways of checking (like looking at the processes running on your machine).
I took a look at your home page by the way. You've got some very interesting articles there so I decided to follow you. Keep up the good work! :D

Yes you are right. Because it is "normal" javaScript code you won't see something special at the processes. As long as coinhive is used the best way seems to be to write a Browser Plugin, which searches the JavaScript Code for the String "Coinhive"..

Thank you. I am very happy that you like my contributions

I discovered this article that gave some pointers. Turns out people have already written browser extensions for this purpose too.
https://fossbytes.com/block-cryptocurrency-mining-in-browser/

Every single post from you are always very informative, am proud to be one of you thousands follower.

Fantastic video with very good information is important this contribution to the community greetings thanks for sharing greetings friend

Wow, I call that malware!

I tried to use coinbase on my forum to mine some Monero without having ads on it. Sadly EVERY SINGLE ANTIVIRUS thinks its a virus and blocked my forum. I set it up to ask the user for permission and yet its the same. Sadly i don't think i will be able to use it legit because of people scamming the system.