1. Write a backend - the parser should receive the following data for the BSC and Polygon blockchains by the wallet number:
a) What tokens (currencies/pairs) and how many are on the wallet
b) What LP-tokens (pairs) were created in wallet
c) Tokens deposits/withdrawals from wallet
d) Rewards and fees for each staked token
e) APY, Daily% (it can be calculated from APY), TVL for DeFi contracts
f) Token exchange rates. For LP-tokens that consist of several simple tokens, exchange rates for each simple token have to be recieved
g) Contracts holders, supply, max supply.
Look at CLI_en(main).txt and [login to view URL] to see examples of how this tool should return data.
There is no need to do web interface, just write data to the console and to MySQL tables.
1. The data could be retrieved from BSC and Polygon blockchains.
2. Platforms for which the data should be retrieved:
2.1. Aave (polygon) - aave API
2.2. SushiSwap (bsc,polygon) - SDK
2.3. [login to view URL] (bsc,polygon) - API ( [login to view URL] )
2.4. [login to view URL] (bsc,polygon)
Contracts & APY (json): [login to view URL]
[login to view URL]
2.5. [login to view URL] (bsc,polygon) - API ([login to view URL])
2.6. [login to view URL] (polygon)
Also provide for the possibility of connecting other platforms.