{"id":23107830,"url":"https://github.com/kleros/etherscan-tags","last_synced_at":"2025-08-16T17:31:59.832Z","repository":{"id":38425448,"uuid":"434637346","full_name":"kleros/etherscan-tags","owner":"kleros","description":"Posts curate contract tags to blockscan","archived":true,"fork":false,"pushed_at":"2023-03-06T20:44:32.000Z","size":482,"stargazers_count":0,"open_issues_count":5,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-17T01:16:09.866Z","etag":null,"topics":["backend","curated-list","generalized-curated-list"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/kleros.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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":"2021-12-03T15:07:51.000Z","updated_at":"2024-04-12T14:41:05.000Z","dependencies_parsed_at":"2024-12-17T01:16:12.027Z","dependency_job_id":null,"html_url":"https://github.com/kleros/etherscan-tags","commit_stats":null,"previous_names":["kleros/etherscan-tags"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleros%2Fetherscan-tags","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleros%2Fetherscan-tags/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleros%2Fetherscan-tags/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleros%2Fetherscan-tags/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kleros","download_url":"https://codeload.github.com/kleros/etherscan-tags/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230047186,"owners_count":18164575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["backend","curated-list","generalized-curated-list"],"created_at":"2024-12-17T01:16:16.937Z","updated_at":"2024-12-17T01:16:17.811Z","avatar_url":"https://github.com/kleros.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blockscan Tags\n\nChecks Curate for contract tags and posts them to an endpoint. Works nicely with cron.\n\n\u003e Note: At the time of publication, there is no endpoint that lets us check if a given tag was already posted, so we keep a local DB to avoid posting the same tag again. Losing this database means the tool will submit everything again.\n\n## Volta\n\nThis project uses `volta.sh` for node version management. See `package.json` for the version.\n\n## Running\n\nDuplicate `.env.example` and fill the env variables. You can use network specific files such as `.env.kovan` and then `yarn start:kovan`.\n\n## Cron Job\n\nThis script plays well with cron. Here is a suggetsion on how to use it with `volta.sh`.\n\n1- In the project folder, `vim script-mainnet.sh` paste the following and save.\n2- Paste the following:\n\n```\n#!/bin/bash\n\ncd /home/ubuntu/blockscan-tags\n\nPATH=/home/ubuntu/.volta/bin:$PATH\n\necho \"Using volta version $(volta --version)\"\necho \"Using node version $(node --version)\"\nyarn start:mainnet\n```\n\n3- Give script execution rights `chmod +x script-mainnet.sh`.\n4- Setup the cron job: `crontab -e` and add `0 * * * * cd ~/blockscan-tags \u0026\u0026 ./script-mainnet.sh \u003e\u003e output-mainnet.log 2\u003e\u00261`\n\n## Debugging\n\nIf using vscode, use the following to debug.\n\n.vscode/launch.json:\n\n```\n{\n  \"version\": \"0.2.0\",\n  \"configurations\": [\n    {\n      \"type\": \"node\",\n      \"request\": \"attach\",\n      \"name\": \"Typescript Server\",\n      \"protocol\": \"inspector\",\n      \"port\": 9229,\n      \"restart\": true,\n      \"localRoot\": \"${workspaceFolder}\",\n      \"remoteRoot\": \".\"\n    }\n  ]\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkleros%2Fetherscan-tags","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkleros%2Fetherscan-tags","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkleros%2Fetherscan-tags/lists"}