Script You Can Use for Finding the Current Price of EOS per ICO Window

Earlier today, I posted Say No to FOMO. EOS ICO: A Call to Rationality. This is a follow up with code you can use to know what the current price of EOS is, given the amount of ETH sent to the ICO contract so far.

Anyone can run this in their own browser and refresh it whenever they like.

Here's how:

  1. Save this file as web3.min.js on your computer.

  2. In that same folder, save this file as eos_price.html (or whatever you like). Make sure to save it in the same folder as web3.min.js.

  3. Register for an infura.io account here: https://infura.io/register.html

  4. Edit eos_price.html and save your infura.io Access Token in the infura_api_key variable (line 10).

  5. Open eos_price.html in your web browser.

  6. Wait a minute or so to see the output (if you're using Chrome, you can also open the console log to see it working in real time).

If you want to see more days than the first 30 days, modify the days_to_check variable (line 30).

Here's an example of the output:

As you can see, the price right now is already 8 times higher than the price just 5 days from now. Of course, all of that will change as the other ICO windows get closer and this one finishes. Keep in mind, there are over 300 EOS ICO windows!

As I mentioned in my previous post, this ICO is different than any other. If you're not careful, you may end up spending more than you need to. Using a script like this, you should be able to accurately keep track of what the current price of EOS is according to the ICO contract. Once it starts trading on the exchanges, we'll have even more information to pull from to get an accurate price.

Stay informed. Stay rational.

I'm hoping a couple months from now those who haven't drunk the EOS koolaid will move on from this, and I'll be able to scoop up some cheap coins.

I hope you find this useful. Let me know if you have any questions.

Edit: 6/28/2017 10:22am: @sandwich improved on this to make it even easier (and prettier). Check it out: Fork of @LukeStokes' EOSCrowdsale Tracker with Usability Improvements, Suitable For Novices

Post created with ChainBB to help support that project.


Luke Stokes is a father, husband, business owner, programmer, and voluntaryist who wants to help create a world we all want to live in. Visit UnderstandingBlockchainFreedom.com

I'm a Witness! Please vote for @lukestokes.mhth

H2
H3
H4
3 columns
2 columns
1 column
73 Comments