{"id":18781594,"url":"https://github.com/aboutlo/devbot","last_synced_at":"2025-06-19T01:34:24.711Z","repository":{"id":142632147,"uuid":"305203480","full_name":"aboutlo/devbot","owner":"aboutlo","description":null,"archived":false,"fork":false,"pushed_at":"2020-10-18T21:54:21.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-28T07:48:06.484Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/aboutlo.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":"2020-10-18T21:53:43.000Z","updated_at":"2020-10-18T21:54:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"8bd2c79c-83ec-46d0-8d57-aaa915f6b422","html_url":"https://github.com/aboutlo/devbot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aboutlo/devbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutlo%2Fdevbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutlo%2Fdevbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutlo%2Fdevbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutlo%2Fdevbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aboutlo","download_url":"https://codeload.github.com/aboutlo/devbot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutlo%2Fdevbot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260663980,"owners_count":23044112,"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-07T20:32:46.612Z","updated_at":"2025-06-19T01:34:19.684Z","avatar_url":"https://github.com/aboutlo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deversifi Bot\n\n# prerequisites\nUse Node 14. \nIf nvm is installed just `nvm use` the `.nvmrc` will be used to fetch the right node version  \n\n# Launch the bot \n- Install by running `yarn`.\n- Run `yarn build` to compile\n- Run `yarn start` to start the bot\n\n# Performance\n\nGiven this was an assignment to finish in 4 hours I kept everything in memory. \nTo improve the performance I would move everything to an event based architecture. \nThen rather than use a REST endpoint I will subscribe to a socket to listen the events in real time. \nOrderRepo should read and write from a proper db. \nOn every create, update order and event should be triggered so that the Wallet and the Strategy can update what is required.\nThe strategy is the consumer of the socket to decide on every tick how to adapt to the changed conditions.             \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faboutlo%2Fdevbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faboutlo%2Fdevbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faboutlo%2Fdevbot/lists"}