feat: Enable NFTs for Solana wallet (#2082)

* feat: Enable NFTs for Solana wallet

* Add localization for texts

* Adjust file naming

* Adjust file naming
This commit is contained in:
David Adegoke
2025-03-14 18:30:19 +02:00
committed by GitHub
parent 1b5be705f6
commit 0f301a71a2
38 changed files with 816 additions and 245 deletions
+12 -1
View File
@@ -12,6 +12,17 @@ bool isEVMCompatibleChain(WalletType walletType) {
}
}
bool isNFTACtivatedChain(WalletType walletType) {
switch (walletType) {
case WalletType.polygon:
case WalletType.ethereum:
case WalletType.solana:
return true;
default:
return false;
}
}
bool isWalletConnectCompatibleChain(WalletType walletType) {
switch (walletType) {
case WalletType.polygon:
@@ -55,7 +66,7 @@ String getChainNameBasedOnWalletType(WalletType walletType) {
case WalletType.polygon:
return 'polygon';
case WalletType.solana:
return 'solana';
return 'mainnet';
default:
return '';
}