Uniswap / token-list-bridge-utils

GNU General Public License v3.0
129 stars 66 forks source link

feat: create a token map in chainify #43

Closed lynnshaoyu closed 11 months ago

lynnshaoyu commented 12 months ago

Creates a tokenMap property in the chainify method. For use in downstream repos to easily access specific tokens. Related PR: https://github.com/Uniswap/default-token-list/pull/1620

lynnshaoyu commented 11 months ago

Is there a way to make sure this does not break token lists and the rest of the token lists? (allowed/blocked etc)

yes good idea, I can test it by using the repo locally in a local build of the token list repos. lemme do that...

lynnshaoyu commented 11 months ago

@cgkol I ran tests in both default-token-list and smart-order-router using this repo locally and they both passed, we're good.

Screen Shot 2023-07-10 at 11 43 39 AM Screen Shot 2023-07-10 at 11 43 45 AM