{"id":22111114,"url":"https://github.com/volumefi/limit-order-bot-script","last_synced_at":"2025-11-22T02:04:13.479Z","repository":{"id":164515415,"uuid":"629595376","full_name":"VolumeFi/limit-order-bot-script","owner":"VolumeFi","description":"Volume Limit Order Bot Script for controling Limit Orders managed by Paloma Blockchain","archived":false,"fork":false,"pushed_at":"2025-07-22T13:53:04.000Z","size":1036,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-07-22T15:39:28.034Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://palomabot.ai","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VolumeFi.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-18T16:17:10.000Z","updated_at":"2025-07-22T13:53:06.000Z","dependencies_parsed_at":"2023-07-04T11:15:54.588Z","dependency_job_id":"e843bf10-26af-4801-ab07-e59c7c67c4d2","html_url":"https://github.com/VolumeFi/limit-order-bot-script","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/VolumeFi/limit-order-bot-script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VolumeFi%2Flimit-order-bot-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VolumeFi%2Flimit-order-bot-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VolumeFi%2Flimit-order-bot-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VolumeFi%2Flimit-order-bot-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VolumeFi","download_url":"https://codeload.github.com/VolumeFi/limit-order-bot-script/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VolumeFi%2Flimit-order-bot-script/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285722810,"owners_count":27220618,"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-11-22T02:00:05.934Z","response_time":64,"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-01T10:34:04.834Z","updated_at":"2025-11-22T02:04:13.457Z","avatar_url":"https://github.com/VolumeFi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#  Limit Order Bot on Paloma\n\nThis is a Node.js application that interacts with Binance Smart Chain (BSC) and Paloma Chain to automatically execute limit orders. It makes use of the PancakeSwap and Uniswap V3 protocols for creating and managing these limit orders.\n\n## Installation\n\n1. Clone this repository: `git clone https://github.com/VolumeFi/limit-order-bot-script `\n2. Navigate into the project directory: `cd limit-order-bot-script`\n3. Install the dependencies: `npm install`\n\n## Environment Variables\n\nYou will need to set the following environment variables:\n\n- `PALOMA_KEY`: The private key of the Paloma wallet\n- `PALOMA_LCD`: The URL of the Paloma LCD\n- `PALOMA_CHAIN_ID`: The ID of the Paloma chain\n- `LOB_CW_CODE_ID`: The code id of the Limit Order Bot CosmWasm\n- `SLIPPAGE`: The slippage rate\n- `SENTRY`\n- `TELEGRAM_ID`: The ID of the Telegram bot\n- `PORT`\n- `COINGECKO_API_KEY`\n\nAnd you will need to set configuration in `networks.json`:\n\n- `NODE`: The URL of the EVM chain node\n- `ABI`: The ABI for the Limit Order Bot contract\n- `VYPER`: The address of the Limit Order Bot contract\n- `JOB_ID`: The job id of the Paloma job\n- `CHAIN_TYPE`: Chain type. \"evm\" for EVM chains\n- `CHAIN_REFERENCE_ID`: Chain reference id in Paloma\n- `COINGECKO_CHAIN_ID`: Chain identifier in Coingecko API\n- `NETWORK_NAME`: Network name on which the limit order bot\n- `WETH`: Wrapped basecoin ERC20 token address\n- `FROM_BLOCK`: The starting block of the Limit Order Bot contract\n- `CW`: The address of the Limit Order Bot CosmWasm\n\n\n## Usage\n\nRun the program: `node index.js`\n\n## Telegram Bot\n\nThe Telegram bot notifies users when their swaps are completed.\n\n## API Endpoint\n\nThe application also provides an API endpoint (`/robots`) which returns all the limit orders in the system.\n\n## Database\n\nThis application uses SQLite to store and manage limit orders and users.\n\n\n\n# Limit Order Bot The Python Script\n\nThis Python application uses the Paloma SDK to interact with the Binance Smart Chain (BSC) and PancakeSwap to automatically execute limit orders. It makes use of the PancakeSwap's Limit Order Bot for creating and managing these limit orders.\n\n## Prerequisites\n\nYou need Python 3.8 or above installed on your machine.\n\n## Dependencies\n\n```sh\npip install -r requirements.txt\n```\n\n## Running the bot\n\nAfter setting the environment variables, you can run the bot using the following command:\n\n```sh\npython3 main.py\n```\n\nThe bot will initialize, create a job on PancakeSwap's Limit Order Bot, and then instantiate a contract to execute the limit order job. The result of each operation will be printed to the console.\n\nThis bot uses the asyncio and uvloop libraries for asynchronous execution, and the web3 library for interacting with the Ethereum-based BSC. It also uses the os and dotenv libraries to read environment variables and the json library to parse the ABI.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvolumefi%2Flimit-order-bot-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvolumefi%2Flimit-order-bot-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvolumefi%2Flimit-order-bot-script/lists"}