Add a new liquidity scraper
Add a new liquidity scraper
Implement LiquidityScraper
interface at pkg/dia/scraper/liquidity-scrapers/ScraperInterface.go
file
Add a scraper implementation,
MyLiquidityScraper.go
file topkg/dia/scraper/liquidity-scrapers/
folder implement the functions:
Add a constructor for the scraper:
Liquidity Command
Liquidity Test
PlatypusFinance:
go mod tidy -go=1.16 && go mod tidy -go=1.17 && go install && liquidityScraper -exchange=PlatypusFinance
Orca:
go mod tidy -go=1.16 && go mod tidy -go=1.17 && go install && SOLANA_URI_REST=https://try-rpc.mainnet.solana.blockdaemon.tech/ liquidityScraper -exchange=Orca
Last updated