diff --git a/app/src/main/assets/testnet_tokens.json b/app/src/main/assets/testnet_tokens.json index e10692c072..78da3c2c81 100644 --- a/app/src/main/assets/testnet_tokens.json +++ b/app/src/main/assets/testnet_tokens.json @@ -660,12 +660,12 @@ ] }, { - "id": "manta-network-ethereum", + "id": "manta-pacific", "name": "Manta Testnet", "symbol": "ETH", "networks": [ { - "networkId": "manta-network/test" + "networkId": "manta-pacific/test" } ] }, diff --git a/core/ui/src/main/java/com/tangem/core/ui/extensions/BlockchainIcons.kt b/core/ui/src/main/java/com/tangem/core/ui/extensions/BlockchainIcons.kt index 5b56a60eb8..269ec76fd1 100644 --- a/core/ui/src/main/java/com/tangem/core/ui/extensions/BlockchainIcons.kt +++ b/core/ui/src/main/java/com/tangem/core/ui/extensions/BlockchainIcons.kt @@ -130,7 +130,7 @@ fun getActiveIconResByNetworkId(networkId: String): Int { "pls", "pls/test" -> R.drawable.img_pls_22 "zksync", "zksync/test" -> R.drawable.img_zksync_22 "moonbeam", "moonbeam/test" -> R.drawable.img_moonbeam_22 - "manta-network", "manta-network/test" -> R.drawable.img_manta_22 + "manta-pacific", "manta-pacific/test" -> R.drawable.img_manta_22 "polygon-zkevm", "polygon-zkevm/test" -> R.drawable.img_polygon_22 "moonriver", "moonriver/test" -> R.drawable.img_moonriver_22 "mantle", "mantle/test" -> R.drawable.img_mantle_22 @@ -198,7 +198,7 @@ fun getActiveIconResByCoinId(coinId: String): Int { "pls" -> R.drawable.img_pls_22 "zksync-ethereum" -> R.drawable.img_zksync_22 "moonbeam" -> R.drawable.img_moonbeam_22 - "manta-network-ethereum" -> R.drawable.img_manta_22 + "manta-pacific" -> R.drawable.img_manta_22 "polygon-zkevm-ethereum" -> R.drawable.img_polygon_22 "moonriver" -> R.drawable.img_moonriver_22 "mantle" -> R.drawable.img_mantle_22 @@ -340,7 +340,7 @@ fun getGreyedOutIconResByNetworkId(networkId: String): Int { "pls", "pls/test" -> R.drawable.ic_pls_22 "zksync", "zksync/test" -> R.drawable.ic_zksync_22 "moonbeam", "moonbeam/test" -> R.drawable.ic_moonbeam_22 - "manta-network", "manta-network/test" -> R.drawable.ic_manta_22 + "manta-pacific", "manta-pacific/test" -> R.drawable.ic_manta_22 "polygon-zkevm", "polygon-zkevm/test" -> R.drawable.ic_polygon_22 "moonriver", "moonriver/test" -> R.drawable.ic_moonriver_22 "mantle", "mantle/test" -> R.drawable.ic_mantle_22 diff --git a/data/tokens/src/main/kotlin/com/tangem/data/tokens/utils/QuotesUnsupportedCurrenciesIdAdapter.kt b/data/tokens/src/main/kotlin/com/tangem/data/tokens/utils/QuotesUnsupportedCurrenciesIdAdapter.kt index 0e69a31330..819dbe2a39 100644 --- a/data/tokens/src/main/kotlin/com/tangem/data/tokens/utils/QuotesUnsupportedCurrenciesIdAdapter.kt +++ b/data/tokens/src/main/kotlin/com/tangem/data/tokens/utils/QuotesUnsupportedCurrenciesIdAdapter.kt @@ -52,7 +52,7 @@ internal class QuotesUnsupportedCurrenciesIdAdapter { "optimistic-ethereum" to "ethereum", "arbitrum-one" to "ethereum", "zksync-ethereum" to "ethereum", - "manta-network-ethereum" to "ethereum", + "manta-pacific" to "ethereum", "polygon-zkevm-ethereum" to "ethereum", "aurora-ethereum" to "ethereum", "base-ethereum" to "ethereum", diff --git a/gradle/dependencies.toml b/gradle/dependencies.toml index 50a2f8198f..a9d0305f00 100644 --- a/gradle/dependencies.toml +++ b/gradle/dependencies.toml @@ -87,7 +87,7 @@ markdown = "0.7.2" # endregion Other libraries # region Tangem -tangemBlockchainSdk = "release-app_5.12-673" +tangemBlockchainSdk = "release-app_5.12-677" #tangemBlockchainSdk = "0.0.1" # Keep it! - used for local builds tangemCardSdk = "release-app_5.12-364" #tangemCardSdk = "0.0.1" # Keep it! - used for local builds ^ diff --git a/libs/blockchain-sdk/src/main/java/com/tangem/blockchainsdk/utils/Blockchain.kt b/libs/blockchain-sdk/src/main/java/com/tangem/blockchainsdk/utils/Blockchain.kt index a781a35ada..8b2a9b6a39 100644 --- a/libs/blockchain-sdk/src/main/java/com/tangem/blockchainsdk/utils/Blockchain.kt +++ b/libs/blockchain-sdk/src/main/java/com/tangem/blockchainsdk/utils/Blockchain.kt @@ -97,8 +97,8 @@ fun Blockchain.Companion.fromNetworkId(networkId: String): Blockchain? { "zksync/test" -> Blockchain.ZkSyncEraTestnet "moonbeam" -> Blockchain.Moonbeam "moonbeam/test" -> Blockchain.MoonbeamTestnet - "manta-network" -> Blockchain.Manta - "manta-network/test" -> Blockchain.MantaTestnet + "manta-pacific" -> Blockchain.Manta + "manta-pacific/test" -> Blockchain.MantaTestnet "polygon-zkevm" -> Blockchain.PolygonZkEVM "polygon-zkevm/test" -> Blockchain.PolygonZkEVMTestnet "nexa" -> Blockchain.Nexa // FIXME @@ -216,8 +216,8 @@ fun Blockchain.toNetworkId(): String { Blockchain.ZkSyncEraTestnet -> "zksync/test" Blockchain.Moonbeam -> "moonbeam" Blockchain.MoonbeamTestnet -> "moonbeam/test" - Blockchain.Manta -> "manta-network" - Blockchain.MantaTestnet -> "manta-network/test" + Blockchain.Manta -> "manta-pacific" + Blockchain.MantaTestnet -> "manta-pacific/test" Blockchain.PolygonZkEVM -> "polygon-zkevm" Blockchain.PolygonZkEVMTestnet -> "polygon-zkevm/test" Blockchain.Nexa -> "nexa" // FIXME @@ -301,7 +301,7 @@ fun Blockchain.toCoinId(): String { Blockchain.PulseChain, Blockchain.PulseChainTestnet -> "pulsechain" Blockchain.ZkSyncEra, Blockchain.ZkSyncEraTestnet -> "zksync-ethereum" Blockchain.Moonbeam, Blockchain.MoonbeamTestnet -> "moonbeam" - Blockchain.Manta, Blockchain.MantaTestnet -> "manta-network-ethereum" + Blockchain.Manta, Blockchain.MantaTestnet -> "manta-pacific" Blockchain.PolygonZkEVM, Blockchain.PolygonZkEVMTestnet -> "polygon-zkevm-ethereum" Blockchain.Nexa, Blockchain.NexaTestnet -> "nexa" // FIXME Blockchain.Radiant -> "radiant"