Skip to content

Commit

Permalink
support sol bridge native
Browse files Browse the repository at this point in the history
  • Loading branch information
haunv3 committed Jan 17, 2025
1 parent 404c938 commit 97a14be
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/hooks/useLoadTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,22 +431,6 @@ async function loadBtcAmounts(dispatch: Dispatch, btcAddress: string, chains: Cu

async function loadSolAmounts(dispatch: Dispatch, solAddress: string, chains: CustomChainInfo[]) {
try {
const chainss = chains.map((c) => {
return {
...c,
currencies: [
...c.currencies,
{
coinDecimals: 9,
coinDenom: 'SOL',
coinGeckoId: 'solana',
coinImageUrl: 'https://assets.coingecko.com/coins/images/4128/standard/solana.png?1718769756',
coinMinimalDenom: 'sol'
}
]
};
});

const amountDetails = Object.fromEntries(
flatten(await Promise.all(chains.map((chain) => loadSolEntries(solAddress, chain))))
);
Expand Down

0 comments on commit 97a14be

Please sign in to comment.