File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,8 @@ export const getEvmChainConfig = (chainId: number): CustomChainConfig | null =>
171171
172172export const getSolanaChainConfig = ( chainId : number ) : CustomChainConfig | null => {
173173 const chainNamespace = CHAIN_NAMESPACES . SOLANA ;
174- if ( chainId === 101 ) {
174+ // support both cross chain id and base solana chain id from 1
175+ if ( chainId === 101 || chainId === 1 ) {
175176 return {
176177 logo : "https://images.toruswallet.io/sol.svg" ,
177178 chainNamespace,
@@ -183,7 +184,7 @@ export const getSolanaChainConfig = (chainId: number): CustomChainConfig | null
183184 tickerName : "Solana" ,
184185 decimals : 9 ,
185186 } ;
186- } else if ( chainId === 102 ) {
187+ } else if ( chainId === 102 || chainId === 2 ) {
187188 return {
188189 logo : "https://images.toruswallet.io/sol.svg" ,
189190 chainNamespace,
@@ -195,7 +196,7 @@ export const getSolanaChainConfig = (chainId: number): CustomChainConfig | null
195196 tickerName : "Solana" ,
196197 decimals : 9 ,
197198 } ;
198- } else if ( chainId === 103 ) {
199+ } else if ( chainId === 103 || chainId === 3 ) {
199200 return {
200201 logo : "https://images.toruswallet.io/sol.svg" ,
201202 chainNamespace,
You can’t perform that action at this time.
0 commit comments