Tucsky / aggr

Cryptocurrency trades aggregator
https://charts.aggr.trade/
GNU General Public License v3.0
839 stars 242 forks source link

Add Solana Token List #116

Open lmvdz opened 2 years ago

lmvdz commented 2 years ago

Hey I think it would be a good idea to use the solana-token-list solana.tokenlist.json file to scan through the tokens[] array on each of the tokens look for the extensions.serumV3Usdc property.

I am trying to research if there is a way to get a webhook from the amm atm!

https://github.com/tardis-dev/serum-vial this might be what we need!

lmvdz commented 2 years ago

Also a side question, was search capability removed from v3, my search button just doesn't respond.

lmvdz commented 2 years ago

118 --- I've gotten it to work, but there will need to be extra config from your side if you want to implement it into aggr.trade

I didn't want to try to figure out how to get historical data working, but there is an api to get it: https://docs.bonfida.com/#get-recent-trades-by-market-address just pass the "address" field from the market.json and you'll get the history

Tucsky commented 2 years ago

Also a side question, was search capability removed from v3, my search button just doesn't respond.

Is there anything in the console? Surely there must be some error linked to that issue

lmvdz commented 2 years ago

Also a side question, was search capability removed from v3, my search button just doesn't respond.

Is there anything in the console? Surely there must be some error linked to that issue

Honestly I did check that, but there was nothing, tried today and it's working, must have been something going on with my computer...