Sushi Pairs on Avalanche and BSC

    Q108. Let's dive deep into Sushi pairs on Avalanche and BSC

    Questions


    This article is written to answer the following questions

    1. Create a document that includes all addresses for all Swap pairs on Avalanche for sushi, plus the addresses of the two tokens belonging to each pair. 

      \

    2. Create a document that includes all addresses for all Swap pairs on the BSC chain for sushi, plus the addresses of the two tokens belonging to each pair. 

      \

    3. Create a document that includes all addresses for all Kashi pairs on Avalanche for sushi, plus the addresses of the two tokens belonging to each pair. Ideally, define which one is the main asset and which one is the collateral. 

      \

    4. Create a document that includes all addresses for all Kashi pairs on the BSC chain for sushi, plus the addresses of the two tokens belonging to each pair. Ideally, define which one is the main asset and which one is the collateral. 

    Approach


    Swap pairs

    • We scrape Swap pairs information in JSON format from (BSC) and (Avalanche)
    • We then organize the raw data into the table containing Swap pairs plus the two tokens belonging to each pair information by using Python (will be shown in coding section)

    Kashi pairs

    • We obtain Kashi pairs information from html files of Lending webpage
    • By using web scraping, now, we can obtain only pairs information; pair names, and pair addresses
    • We obtain the information of token of each pair from Swap pairs information that we obtained earlier.
    • We then organize the raw data into the table containing Kashi pairs plus the two tokens belonging to each pair information by using Python (will be shown in coding section)

    Coding section & results


    We obtain the results from Python coding in Google Collab editor

    The results contains existing token pair names, token pair addresses, two tokens belonging to each pair (including names, addresses, decimals)

    Swap pairs in Avalanche

    Swap pairs in BSC

    Kashi pairs in Avalanche

    Kashi pairs in BSC

    Conclusions

    • There are 306 Swap pairs in Avalanche

    • There are 1613 Swap pairs in BSC

    • There are 38 Kashi pairs in Avalanche

    • There are 135 Kashi pairs in BSC

    All of their token information are obtained by Python coding shown in the coding section