{"id":26336318,"url":"https://github.com/notrustverify/alpacafi-tracker","last_synced_at":"2025-03-16T01:17:48.143Z","repository":{"id":280672454,"uuid":"942784313","full_name":"notrustverify/alpacafi-tracker","owner":"notrustverify","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-04T18:07:53.000Z","size":1732,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-04T18:23:25.420Z","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/notrustverify.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":"2025-03-04T17:06:54.000Z","updated_at":"2025-03-04T18:07:56.000Z","dependencies_parsed_at":"2025-03-04T18:33:44.449Z","dependency_job_id":null,"html_url":"https://github.com/notrustverify/alpacafi-tracker","commit_stats":null,"previous_names":["notrustverify/alpacafi-tracker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notrustverify%2Falpacafi-tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notrustverify%2Falpacafi-tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notrustverify%2Falpacafi-tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notrustverify%2Falpacafi-tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/notrustverify","download_url":"https://codeload.github.com/notrustverify/alpacafi-tracker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243809858,"owners_count":20351407,"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":"2025-03-16T01:17:47.479Z","updated_at":"2025-03-16T01:17:48.137Z","avatar_url":"https://github.com/notrustverify.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# alpacafi - lending on alephium\n\u003ci\u003e How much can you possibly know about yourself if you've never been in a fight. \u003c/i\u003e\n\n## P2P Lending on Alephium\n\nAlpacaFi serves as the gateway to custom democratized lending where the borrower can specify their terms and the lender choose to agree to them.\n\n| Loans | Description |\n| ----------- | ----------- |\n| No Liquidation | Upon only time exipration of loan will forfeit be available and collateral goes directly to the lender. |\n| Liquidation | At any point if the collateral ratio drops below 150% and or the time expires will the collateral move to auctions where it can be instantly redeemed by lender or bid on. |\n\nAuctions serve as the pathway to lenders and managing risk over the long term.\n\n## Auction Options\n\n| Option | Description |\n| ----------- | ----------- |\n| Bid | Place any size bid that is larger than the token bid and always larger than the token requested amount. This starts a 3 hour timer to Auction End. |\n| Redeem | Lender can instantly redeem for collateral and or highestBidder can redeem after the 3 hours are up. |\n\n## Supported Tokens\n\n| Token | Oracle? |\n| ----------- | ----------- |\n| $EX | AlpacaFi |\n| $APAD | AlpacaFi |\n| $ABX | AlpacaFi |\n| $BUILD | AlpacaFi |\n| $ONION | AlpacaFi |\n| $ALPH | DIA |\n| $AYIN | DIA |\n| $USDT | DIA |\n| $USDC | DIA |\n\n# AlpacaFi Telegram Bot\n\nA Telegram bot that monitors AlpacaFi events on the Alephium blockchain and sends notifications to a Telegram chat.\n\n## Features\n\n- Monitors loan creation, acceptance, repayment, and liquidation events\n- Formats messages with clear, readable information\n- Includes clickable links to the Alephium explorer\n- Handles rate limiting from Telegram API\n- Runs in Docker for easy deployment\n\n## Setup\n\n### Prerequisites\n\n- Docker and Docker Compose installed\n- A Telegram bot token (get one from [@BotFather](https://t.me/botfather))\n- The chat ID where you want to send notifications\n\n### Configuration\n\n1. Copy the example environment file:\n\n```bash\ncp .env.example .env\n```\n\n2. Edit the `.env` file and add your Telegram bot token and chat ID:\n\n```\nTELEGRAM_BOT_TOKEN=your_telegram_bot_token_here\nCHAT_ID=your_telegram_chat_id_here\n```\n\n### Running with Docker\n\nBuild and start the bot:\n\n```bash\ndocker-compose up -d\n```\n\nView logs:\n\n```bash\ndocker-compose logs -f\n```\n\nStop the bot:\n\n```bash\ndocker-compose down\n```\n\n## Development\n\n### Local Setup\n\n1. Install dependencies:\n\n```bash\nnpm install\n```\n\n2. Build the TypeScript code:\n\n```bash\nnpm run build\n```\n\n3. Run the bot:\n\n```bash\nnpm start\n```\n\n## License\n\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotrustverify%2Falpacafi-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotrustverify%2Falpacafi-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotrustverify%2Falpacafi-tracker/lists"}