
Help PancakeLovers Earn More Usd
薄饼糖浆池-新池提醒/查询-TGBot
View Demo
·
Report Bug
·
Request Feature
Blog: Project-cake-syrup-pools-lover-PancakeSwap糖浆池TgBot-开发记录
- https://t.me/J_bsc_bot
- Click Menu Button
- Create your own bot from Key at BotFather
- Clone the repo
git clone https://github.com/jerrychan807/cake-syrup-pools-lover.git
- Install go packages
go mod tidy
- Enter your TgBot Token in
config.yaml
and Edit ConfigPathcp config/config.yaml.bak config/config.yaml
vim config/config.yaml # Edit these lines # token : # projectFolder:
vim config/config.go # Edit this line viper.AddConfigPath("/jcoin/cake-syrup-pools-lover/config")
- Init File and Folder
echo "hello" > lastMd5.log mkdir tmp
- Bulid and Run
go build main.go ./main
./main Pancake Syrup Pool Lover, usage is as follows: -------------------------------------------------------------------------------------------------------------- start_tg_server ----> Start tg bot Server start_http_server ----> Start http Server update_pool_msg ----> Update Syrup Pool Info,try to send alert to users onlytest ----> onlytest --------------------------------------------------------------------------------------------------------------
- Input Address,query portfolio
- Calculate Apr
- FeatureXXX