Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.07 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.07 KB

Dex Limit Order

A bot that provides limit and stop orders on PancakeSwap. It is controlled using a Telegram bot.

API Reference

Installation

Dependencies

You need to have go and gcc installed.

Building

To build clone this repository and run:

go build -o dex-limit-order .

Configuration

Rename the configuration.example.toml file to configuration.toml. Then open it with your text editor and add your telegram API key and your websocket BSC endpoint URL.

Usage

You can add a user by running

dex-limit-order -new_user_id <userID>

To find your Telegram ID, you can follow this guide.

You also need to generate a wallet by running

dex-limit-order -wallet wallet.json

You can import this wallet to Metamask and add funds to make trades and pay for gas fees.