{"id":23631923,"url":"https://github.com/hashfx/koinx-assignment","last_synced_at":"2025-10-14T23:23:19.778Z","repository":{"id":269552031,"uuid":"789676147","full_name":"hashfx/KoinX-assignment","owner":"hashfx","description":"KoinX assignment solution for Blockchain Backend Intern position by Harsh Soni","archived":false,"fork":false,"pushed_at":"2024-12-24T10:55:36.000Z","size":103,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-19T00:11:17.521Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hashfx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-04-21T08:34:47.000Z","updated_at":"2024-12-24T10:55:34.000Z","dependencies_parsed_at":"2024-12-24T11:50:07.569Z","dependency_job_id":"1ca2c443-1ad3-473a-8c7f-e5dbf0e2ad27","html_url":"https://github.com/hashfx/KoinX-assignment","commit_stats":null,"previous_names":["hashfx/koinx-assignment"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hashfx/KoinX-assignment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashfx%2FKoinX-assignment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashfx%2FKoinX-assignment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashfx%2FKoinX-assignment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashfx%2FKoinX-assignment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hashfx","download_url":"https://codeload.github.com/hashfx/KoinX-assignment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashfx%2FKoinX-assignment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279024101,"owners_count":26087672,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"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-12-28T03:19:06.187Z","updated_at":"2025-10-14T23:23:19.759Z","avatar_url":"https://github.com/hashfx.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KoinX Assignment\n\n## Features\n\n*   Fetch and display a user's Ethereum transactions using the Etherscan API.\n*   Retrieve the current price of Ethereum in INR using the CoinGecko API.\n*   Store transaction and price data in a MongoDB Atlas database.\n\n## Requirements\n\n*   [Node.js and npm](https://nodejs.org/en/download)\n*   [MongoDB Atlas account](https://www.mongodb.com/docs/atlas/tutorial/create-atlas-account/)\n\n\u003c!-- TASK 1 --\u003e\n\u003cdetails\u003e\n\u003csummary\u003eTASK_1: Fetch Transaction using Ethereum API\u003c/summary\u003e\n\n+ ToDo\n    + create ```.env``` file and store etherscan api as ```ETHERSCAN_API_KEY=YOUR_API_KEY```\n    + add ```MONGODB_URI``` to .env as ```MONGODB_URI=YOUR_MONGODB_URI```\n    + make sure not to push .env file in production\n\n+ Run app\n```shell\ncd TASK_1\nnpm install\nnode index.js\n```\n\n+ Test API\n    + go to your browser and type ```localhost:3000/transactions/YOUR_ADDRESS```\n    + replace YOUR_ADDRESS with a transaction or wallet address\n\u003c/details\u003e\n\n\u003c!-- TASK 2 --\u003e\n\u003cdetails\u003e\n\u003csummary\u003eTASK_2: Fetch Ethereum price every 10 minutes using CoinGecko API\u003c/summary\u003e\n\n+ ToDo\n    + create ```.env``` file and store etherscan api as ```ETHERSCAN_API_KEY=YOUR_API_KEY```\n    + add ```MONGODB_URI``` to .env as ```MONGODB_URI=YOUR_MONGODB_URI```\n    + make sure not to push .env file in production\n\n+ Run app\n```shell\ncd TASK_2\nnpm install\nnode index.js\n```\n\n\u003c/details\u003e\n\n\u003c!-- TASK 3 --\u003e\n\u003cdetails\u003e\n    \u003csummary\u003eTASK_3: Fetch balance of user and latest price of Ethereum\u003c/summary\u003e\n\n+ ToDo\n    + visit ```localhost:3000/balance/ADDRESS``` in the browser and replace ```ADDRESS``` with address of the user\n\n+ Run app\n```shell\ncd TASK_3\nnpm install\nnode index.js\n```\n\n\u003c/details\u003e\n\n\u003c!-- End --\u003e\n\u003cp align=\"center\"\u003eThanking You: developed by \u003ca href=\"https://hashfx.github.io/Portfolio2022\"\u003eHARSH SONI\u003c/a\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashfx%2Fkoinx-assignment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhashfx%2Fkoinx-assignment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashfx%2Fkoinx-assignment/lists"}