Fork of @LukeStokes' EOSCrowdsale Tracker with Usability Improvements, Suitable For Novices

Yesterday @lukestokes published an incredibly useful article about a script he wrote to track the EOS price. Today I made a number of improvements to the original script outlined below, where you'll also find the link to the new version.

Screen Shot 2017-06-28 at 5.18.21 PM.png

Changes

  1. No longer have to download the script, available on Github Pages
  2. Can load entire sale without risk of crashing browser
  3. Can define the node url and number of days you would like to load in the inputs.
  4. Added new value "EOS Available in Window"
  5. Added ability to see rate in both USD and ETH.

How to use

  1. Register for a node
  2. Copy the Main Ethereum Network Node URL provided by Infura
  3. Load the EOSTracker
  4. Paste the node url into the first input
  5. Define the number of days you would like to load (defaults to 30 if left blank.)

Terminology

  1. Window refers to Contribution Window. The EOS Crowdsale is composed of windows with a finite number of EOS Tokens available per window. First window is 5 days, and all subsequent windows are 23 hours each.
  2. ETH Contributed refers to the number of ETH contributed to each window. Windows have no cap.
  3. Rate is the current rate per EOS Token, available in both USD and ETH. All rates listed, other than closed windows, will continue to change until the window has closed.

Important Notes

  1. No error handling yet.
  2. If you enter more than 341 windows, it won't try to load past 341.
  3. For the coders, the code is a mess. I made an iterator for more control and it's not the only oddity. What I've taken away from this is how impractical it is to develop web apps for Ethereum.

Coming Soon

  1. Complete Refactor
  2. Integrate web-workers with graceful fallback.
  3. Save settings into cookie for later use. Done
  4. Add ETH Price and Price Feed Source Done
  5. More precise table rendering, for example: include previous windows, start window, end window. Right now it just loads all windows, which will be annoying in a couple weeks.

If you're confused, you probably need to understand it from a high level. EOS Crowdsale for Dummies should help.

Thanks for reading :) Be sure to check out Luke's post as well.

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now