diff --git a/apps/token-list/package.json b/apps/token-list/package.json index 1c3510c2d..52128fad7 100644 --- a/apps/token-list/package.json +++ b/apps/token-list/package.json @@ -1,9 +1,9 @@ { - "name": "@wormhole-foundation/wormhole-token-list", + "name": "@xlabs/token-list", "version": "0.0.1", "description": "A token list for featured markets", - "homepage": "https://wormholenetwork.com", - "repository": "https://github.com/wormhole-foundation/wormhole-token-list", + "homepage": "https://portalbridge.com", + "repository": "https://github.com/xlabs/portal-bridge-ui", "scripts": { "test": "jest --config jestconfig.json --verbose", "gen": "python3 src/gen.py", diff --git a/apps/token-list/src/common.py b/apps/token-list/src/common.py index 69f55fdaf..7de6eed32 100644 --- a/apps/token-list/src/common.py +++ b/apps/token-list/src/common.py @@ -14,4 +14,4 @@ def get_logo_path(name, wormhole=True): def get_logo_raw_url(name): - return 'https://raw.githubusercontent.com/wormhole-foundation/wormhole-token-list/main/assets/%s_wh.png' % name + return 'https://raw.githubusercontent.com/xlabs/portal-bridge-ui/main/apps/token-list/assets/%s_wh.png' % name diff --git a/apps/token-list/src/gen.py b/apps/token-list/src/gen.py index 59dbe1137..cb99d6cbd 100644 --- a/apps/token-list/src/gen.py +++ b/apps/token-list/src/gen.py @@ -72,7 +72,7 @@ def _link_source_address(source_chain, source_addr): def _get_img(tok): filepath = os.path.join(ASSET_PATH, '%s_wh.png' % tok) if os.path.exists(filepath): - return '![%s](https://raw.githubusercontent.com/wormhole-foundation/wormhole-token-list/main/assets/%s_wh.png)' % (tok, tok) + return '![%s](https://raw.githubusercontent.com/xlabs/portal-bridge-ui/main/apps/token-list/assets/%s_wh.png)' % (tok, tok) else: return '' @@ -171,7 +171,7 @@ def gen_dest_info(dest): header = """ Known tokens (wormholed to %s) =================================== -_See [by_dest.csv](by_dest.csv) ([raw](https://raw.githubusercontent.com/wormhole-foundation/wormhole-token-list/main/content/by_dest.csv)) for a superset of this data in csv._ +_See [by_dest.csv](by_dest.csv) ([raw](https://raw.githubusercontent.com/xlabs/portal-bridge-ui/main/apps/token-list/content/by_dest.csv)) for a superset of this data in csv._ """ % dest_full outpath = os.path.join(CONTENT_PATH, 'dest_%s.md' % dest_full.lower()) @@ -260,7 +260,7 @@ def gen_source_info(source): txt = df.to_markdown(index=False).replace('symbol_reprise', 'symbol') header = """ Resultant wrapped-asset addresses (wormholing from %s) -_See [by_source.csv](by_source.csv) ([raw](https://raw.githubusercontent.com/wormhole-foundation/wormhole-token-list/main/content/by_source.csv)) for a superset of this data in csv._ +_See [by_source.csv](by_source.csv) ([raw](https://raw.githubusercontent.com/xlabs/portal-bridge-ui/main/apps/token-list/main/content/by_source.csv)) for a superset of this data in csv._ ========================================================================= """ % source_full outpath = os.path.join(CONTENT_PATH, 'source_%s.md' % source_full.lower())