Skip to content

Commit

Permalink
Merge pull request #423 from alephium/add-usdt-usdc-bridged-tokens
Browse files Browse the repository at this point in the history
Add/Update Bridged USDT & USDC Tokens
  • Loading branch information
sven-hash authored Nov 4, 2024
2 parents 355ea02 + 20a76f3 commit e759d10
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 9 deletions.
Binary file added logos/USDCbs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logos/USDCet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logos/USDTbs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logos/USDTet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion test/token-list/token-list.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ describe('TokenList', function () {
await nodeProvider.fetchFungibleTokenMetaData(token.id).then((metadata) => checkMetadata(metadata, token))
}

const tokensWithSymbolVariant = ['ALF', 'ANS']
const tokensWithSymbolVariant = ['ALF', 'ANS', 'USDT', 'USDC']

function checkMetadata(metadata: FungibleTokenMetaData, token: TokenInfoJson) {
expect(hexToString(metadata.name)).toEqual(token.nameOnChain ?? token.name)
Expand Down
40 changes: 32 additions & 8 deletions tokens/mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,43 @@
},
{
"id": "556d9582463fe44fbd108aedc9f409f69086dc78d994b88ea6c9e65f8bf98e00",
"name": "Tether USD (AlphBridge)",
"symbol": "USDT",
"name": "Tether USD (AlphBridge from Ethereum)",
"nameOnChain": "Tether USD (AlphBridge)",
"symbol": "USDTet",
"symbolOnChain": "USDT",
"decimals": 6,
"description": "USDT Bridged to Alephium from Alephium Bridge",
"logoURI": "https://raw.githubusercontent.com/alephium/token-list/master/logos/USDT.png"
"description": "USDT Bridged to Alephium from Ethereum via Alephium Bridge",
"logoURI": "https://raw.githubusercontent.com/alephium/token-list/master/logos/USDTet.png"
},
{
"id": "7ff5e72636f640eb2c28056df3b6879e4c86933505abebf566518ad396335700",
"name": "Tether USD (AlphBridge from BSC)",
"nameOnChain": "Tether USD (AlphBridge)",
"symbol": "USDTbs",
"symbolOnChain": "USDT",
"decimals": 18,
"description": "USDT Bridged to Alephium from BSC via Alephium Bridge",
"logoURI": "https://raw.githubusercontent.com/alephium/token-list/master/logos/USDTbs.png"
},
{
"id": "722954d9067c5a5ad532746a024f2a9d7a18ed9b90e27d0a3a504962160b5600",
"name": "USD Coin (AlphBridge)",
"symbol": "USDC",
"name": "USD Coin (AlphBridge from Ethereum)",
"nameOnChain": "USD Coin (AlphBridge)",
"symbol": "USDCet",
"symbolOnChain": "USDC",
"decimals": 6,
"description": "USDC Bridged to Alephium from Alephium Bridge",
"logoURI": "https://raw.githubusercontent.com/alephium/token-list/master/logos/USDC.png"
"description": "USDC Bridged to Alephium from Ethereum via Alephium Bridge",
"logoURI": "https://raw.githubusercontent.com/alephium/token-list/master/logos/USDCet.png"
},
{
"id": "75e1e9f91468616a371fe416430819bf5386a3e6a258864c574271a404ec8900",
"name": "USD Coin (AlphBridge from BSC)",
"nameOnChain": "USD Coin (AlphBridge)",
"symbol": "USDCbs",
"symbolOnChain": "USDC",
"decimals": 18,
"description": "USDC Bridged to Alephium from BSC via Alephium Bridge",
"logoURI": "https://raw.githubusercontent.com/alephium/token-list/master/logos/USDCbs.png"
},
{
"id": "3d0a1895108782acfa875c2829b0bf76cb586d95ffa4ea9855982667cc73b700",
Expand Down

0 comments on commit e759d10

Please sign in to comment.