pangolindex / pangolin-api

API for querying key values for Pangolin and the PNG token
BSD 3-Clause "New" or "Revised" License
11 stars 10 forks source link

Pangolin Trade Bot #48

Open emin-karadag opened 2 years ago

emin-karadag commented 2 years ago

Hello, I want to build a trading bot that will run on pangolin. Is it possible to do this with the existing API? Can you provide resources on this? Thanks.

maxbaluev commented 2 years ago

Any updates ?

emin-karadag commented 2 years ago

@maxbaluev No :(

maxbaluev commented 2 years ago

You can use smart contracts API directly

bmino commented 2 years ago

This API provides aggregate info about Pangolin such as tvl, circulating supply, user count, etc. but mostly APRs. For a bot you are likely going to need info from the subgraph and direct data from onchain rpc calls

emin-karadag commented 2 years ago

Hello @bmino Is there a library you can recommend for the bot?