{"id":19589438,"url":"https://github.com/hubbleprotocol/liq-bot","last_synced_at":"2026-04-04T13:40:20.576Z","repository":{"id":41965649,"uuid":"464578347","full_name":"hubbleprotocol/liq-bot","owner":"hubbleprotocol","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-21T19:57:19.000Z","size":249,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-18T04:17:32.573Z","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/hubbleprotocol.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}},"created_at":"2022-02-28T17:25:41.000Z","updated_at":"2024-04-18T04:17:32.574Z","dependencies_parsed_at":"2022-08-12T00:50:29.733Z","dependency_job_id":null,"html_url":"https://github.com/hubbleprotocol/liq-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubbleprotocol%2Fliq-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubbleprotocol%2Fliq-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubbleprotocol%2Fliq-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubbleprotocol%2Fliq-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hubbleprotocol","download_url":"https://codeload.github.com/hubbleprotocol/liq-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224069669,"owners_count":17250513,"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-11T08:18:28.573Z","updated_at":"2026-04-04T13:40:20.549Z","avatar_url":"https://github.com/hubbleprotocol.png","language":"TypeScript","readme":"# Typescript Liquidation Bot for HubbleProtocol by Lmvdzande\n\n\n\u003e TPU Client for sending tryLiquidate and clearLiquidationGains transactions without a rate limit  \n\u003e Polling Account Fetcher for account retrieval (5k accounts per second)  \n\n\n\n### Overview\n\nLiquidations on HubbleProtocol are as follows:\n\nFor a User to be liquidatable their Loan to Value (LTV) must reach 90.91 % (Under normal system conditions)  \nThe User gets liquidated via the `tryLiquidate` transaction instruction  \nThe Liquidatation gains get added to the LiquidationQueue  \nThe LiquidationQueue contains LiquidationEvents, new events in the queue having a pending status\nThe `clearLiquidationGains` transaction instruction is used to collect the gains from liquidation event  \n\n\n### Environment\n\ncopy the `.env.example` file to `.env` and input your `BOT_KEY` and `RPC_URL`  \n\n`BOT_KEY` can be either an Uint8Array (solana-keygen) or bs58 encoded private key (phantom wallet private key export)  \n\n### Usage\n\n```bash\nyarn install\nyarn build\nyarn start\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubbleprotocol%2Fliq-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhubbleprotocol%2Fliq-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubbleprotocol%2Fliq-bot/lists"}