{"id":21347157,"url":"https://github.com/kybernetwork/kyber-tracker","last_synced_at":"2025-07-12T17:31:40.750Z","repository":{"id":30881210,"uuid":"125663529","full_name":"KyberNetwork/kyber-tracker","owner":"KyberNetwork","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-11T00:55:05.000Z","size":13819,"stargazers_count":19,"open_issues_count":12,"forks_count":167,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-06T23:10:00.615Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/KyberNetwork.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-17T19:45:17.000Z","updated_at":"2023-08-18T10:33:00.000Z","dependencies_parsed_at":"2023-01-14T18:00:40.473Z","dependency_job_id":null,"html_url":"https://github.com/KyberNetwork/kyber-tracker","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/KyberNetwork/kyber-tracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyberNetwork%2Fkyber-tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyberNetwork%2Fkyber-tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyberNetwork%2Fkyber-tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyberNetwork%2Fkyber-tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KyberNetwork","download_url":"https://codeload.github.com/KyberNetwork/kyber-tracker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyberNetwork%2Fkyber-tracker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265025443,"owners_count":23699748,"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":[],"created_at":"2024-11-22T02:12:52.822Z","updated_at":"2025-07-12T17:31:39.971Z","avatar_url":"https://github.com/KyberNetwork.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KyberTracker\n\n## Setup environment and run the app\n### Install system dependencies\n- NodeJS v8+\n- MariaDB v10+ (may use MySQL v5.7+ instead)\n\n### Install NodeJS global packages\n```\n$ npm install -g knex pm2\n```\n\n### Checkout and install node packages from source code\n```\n$ git clone git@github.com:sotatek-dev/KyberTracker.git\n$ cd KyberTracker\n$ npm install\n```\n\n### Create environment variables settings\n```\n$ cp .env.example .env // Then update the valid setting values in the .env file\n```\n\n### Initialize the database schema and seeds data\n```\n$ npm run init-db\n$ npm run seeds\n```\n\n### Run the app\n```\n$ npm start\n```\n\n## Code directory structure\n### The `.env` file\n- Store the environement variables\n```\nPORT=9009                     // The port that app will run in\nNODE_ENV=development          // JS bundle files will be minified/compressed if the environment is production.\nLOG_LEVEL=INFO                // Available options: ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL\n\nMYSQL_DB_HOST=127.0.0.1       // MySQL host address\nMYSQL_DBNAME=kyber_tracker    // MySQL database name\nMYSQL_USERNAME=root           // MySQL username\nMYSQL_PASSWORD=1              // MySQL user password\n```\n\n### The `config` directory\n- `config/routes/api.js`: View/add/update the API routes.\n- `config/network/production`: Configuration that is related to on-chain data\n- Almost don't need to touch other files.\n\n### The `app/controllers` directory\n- The first request's handler layer.\n\n### The `app/crawlers` directory\n- The process that crawls on-chain data to local database.\n\n### The `app/models` directory\n- The interface that interacts with MySQL database.\n\n### The `app/services` directory\n- The functions that will handle the main logic/business of the app\n\n## Maintenance\n### Add new token\n- Add data to `config/network/production.js` file.\n\n### Change the localization\n- Update values in json files under folder `resources/lang`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkybernetwork%2Fkyber-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkybernetwork%2Fkyber-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkybernetwork%2Fkyber-tracker/lists"}