{"id":20797844,"url":"https://github.com/cryptohazard/hackico","last_synced_at":"2026-06-22T18:31:27.202Z","repository":{"id":73499931,"uuid":"130734694","full_name":"cryptohazard/hackico","owner":"cryptohazard","description":"Project to profit from market discrepancy in ICOs like EOS","archived":false,"fork":false,"pushed_at":"2018-05-20T00:52:06.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-15T14:47:31.329Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cryptohazard.png","metadata":{"files":{"readme":"README.md","changelog":"history.go","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-23T17:46:51.000Z","updated_at":"2018-05-20T00:52:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"3075edb3-6b8a-49c4-9768-2a725085db35","html_url":"https://github.com/cryptohazard/hackico","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cryptohazard/hackico","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptohazard%2Fhackico","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptohazard%2Fhackico/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptohazard%2Fhackico/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptohazard%2Fhackico/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cryptohazard","download_url":"https://codeload.github.com/cryptohazard/hackico/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptohazard%2Fhackico/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34661702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T16:35:29.708Z","updated_at":"2026-06-22T18:31:27.184Z","avatar_url":"https://github.com/cryptohazard.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hackico\n![logo](https://user-images.githubusercontent.com/34451833/39637092-b471864a-4fca-11e8-9460-95354d53096e.png)\nThis (*Not so quick and not so dirty*) project help you profit from market discrepancy in ICOs like EOS. EOS has a new batch of tokens sold everyday, for 350 period of 23 Hours. The token can already be traded, while the daily ICO is ongoing.\n\nThis create an opportunity to profit: the daily ICO price won't always be aligned with the market price due to various reason (FOMO, finishing ICO time compared to investors timezone, loss of popularity, spam attacks...).\nWe use two strategies:\n* we enter the ICO *before* the last minute. The price is decided at the end so most of people join at the end. You can see nice chart here: http://eosscan.io/\n* we choose an expected return before we get in. For instance you can choose to only enter, if at the time of calculation (as explained before) the expected return is 50% because you are greedy or 15% if you are prudent. Note: you will get less because more people will join after you.\n\nNo need to restart the program everyday. Just make sure the transaction to buy is ready/unused(see below for more details.)\n# Installation\nYou need to have a working go(lang) environment in version \u003e=1.9 and clone this repository. I can provide executable if there are requests.\n\nYou first need to get the dependencies:\n```\n$ go get github.com/cryptohazard/hackico\n$ go get github.com/fatih/color\n\n```\n\nNow you can go in the ```exec``` folder and build the executable( I added the ```-o``` option to change the name):\n```\n$ cd exec/\n$ go build -o hackico main.go\n$ ./hackico\n```\n# Configuration\n\n## Threshold percentage\nChoose the thresold at which you want to get in with the option ```./hackico -t```:\n```\n-t float\n    \tthreshold to decide when we get in. 5 % is conservative, 20% is greedy ;-) (default 9.37)\n```\n\n## Time to get in\nWe actually get in the ICO **87 seconds** before the end. Just change this value if you want to get earlier or later in the file ```hackico.go```:\n```\n//moneyTime = (blocks average(15) * 5) rounded for margin = 87 sec = 1m27s\nmoneyTime := 87\n```\n\n## Ethereum buying transaction\nFor now ;-), this program doesn't create the transaction to buy the EOS tokens. So you need to make your own transaction with your favorite ethereum client (geth, parity, myetherwallet, metamask ...).\nJust put the raw transaction in a file called **tx** located with the executable. You can see an example of a random transaction already sent during the ICO in the provided **tx** file.\n\nThe program uses the *eth_sendRawTransaction* from [etherscan broadcast API](https://etherscan.io/pushTx) to broadcast the transaction.\n\n## Tips\nTo get a fast confirmation, put the gas limit as low as you can and the gas price higher.\n\nTo claim your tokens, use ```claim(uint day)``` instead of ```claimAll()```. It will use less gas ;-).\n\n# Expected logs\nWhen you start the program, you should see information on daily ICO, the period, a countdown, the price:\n```\nEos daily ico start time:  2017-07-01 15:00:00 +0200 CEST\nToday:  2018-04-25 23:42:58.629965922 +0200 CEST m=+0.034309296\nwe are on period  312\nThis period finishes at  2018-04-26 15:00:00 +0200 CEST\nCountdown:  15h17m0s left\nCurrent price: 1 eos =  0.02341794846431574 eth\n```\n\nIf the transaction was broadcasted, you should see:\n```\nGet rich ... today perhaps\n```\nYou still need to check if you got in at the right period. Due to Ethereum network or your chosen fees, your transaction can get through in the ***next*** period.\n\n**You also need to update the transaction for the next periods**.\n\nIf the expected returns are lower than he threshold percentage you put, the transaction is not broadcasted and the program is ready for the next period. You should see:\n```\nGet rich ... another day\n```\n\n# History of daily ICOs\nYou can check how the previous daily ICOs went(*would you have earn or lost money joining in*). This function uses the [cryptocompare historical hourly API](https://www.cryptocompare.com/api/#-api-data-histohour-) for the price data.\nYou can check up to the last 80 days, using ```./hackico -h X``` with *X* being the number of days you want to inspect.\n\n```\n-h uint\n    \tHow many days of history do you want to print? Max: 80!\n```\n![img](./hackico_history.png)\n\nLines in RED means that the percentage of the expected gain was negative. BLUE means it was positive.\n\n\n\n# Responsibility/Disclaimer\n\nYou are **responsible** for your own transaction. My program will just broadcast it. If you make a mistake in the contract, gas price, gas limit, amount..., I can not do anything about it.\n\n# Eventual roadmap\n\n* clean the code\n* add options\n* add wallet\n* send ether\n* wait until it's accepted\n* retrieve the eos token from contract\n* initiate deal with shapeshift or other exchange API\n* send eos\n* get ether\n* compute ROI\n\n\n# Tips\nIf you want because you got lucky with this program:\n0xFAcE0f50707B250203FF463fE6C40322ddC459E6\n\nFeel free to open issues, make pull requests...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptohazard%2Fhackico","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcryptohazard%2Fhackico","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptohazard%2Fhackico/lists"}