+
+ onNetworkClick(OnboardingNetworkType.IotaTestnet)}
+ selected={selectedNetworkType === OnboardingNetworkType.IotaTestnet}
+ />
+ onNetworkClick(OnboardingNetworkType.Testnet)}
+ selected={selectedNetworkType === OnboardingNetworkType.Testnet}
+ />
+
+
diff --git a/packages/desktop/views/onboarding/views/network-setup/views/index.js b/packages/desktop/views/onboarding/views/network-setup/views/index.js
index 883477729b..f165066715 100644
--- a/packages/desktop/views/onboarding/views/network-setup/views/index.js
+++ b/packages/desktop/views/onboarding/views/network-setup/views/index.js
@@ -1,2 +1,3 @@
export { default as ChooseNetworkView } from './ChooseNetworkView.svelte'
export { default as CustomNetworkView } from './CustomNetworkView.svelte'
+export { default as TestnetSelectionView } from './TestnetSelectionView.svelte'
diff --git a/packages/shared/src/components/avatars/NetworkAvatar.svelte b/packages/shared/src/components/avatars/NetworkAvatar.svelte
index 44c4831988..35230168a1 100644
--- a/packages/shared/src/components/avatars/NetworkAvatar.svelte
+++ b/packages/shared/src/components/avatars/NetworkAvatar.svelte
@@ -12,19 +12,23 @@
const AVATAR_BACKGROUND_COLOR: { [id in NetworkId]?: string } = {
[SupportedNetworkId.Iota]: 'iota-background',
[SupportedNetworkId.Shimmer]: 'shimmer-background',
- [SupportedNetworkId.Testnet]: 'shimmer-background',
+ [SupportedNetworkId.Testnet]: 'text-secondary',
+ [SupportedNetworkId.IotaTestnet]: 'text-secondary',
[SupportedNetworkId.IotaEvm]: 'iota-evm-background',
[SupportedNetworkId.ShimmerEvm]: 'shimmer-evm-background',
- [SupportedNetworkId.TestnetEvm]: 'shimmer-evm-background',
+ [SupportedNetworkId.IotaTestnetEvm]: 'iota-evm-background/90',
+ [SupportedNetworkId.TestnetEvm]: 'shimmer-evm-background/90',
}
const AVATAR_TEXT_COLOR: { [id in NetworkId]?: string } = {
[SupportedNetworkId.Iota]: 'iota',
[SupportedNetworkId.Shimmer]: 'shimmer',
- [SupportedNetworkId.Testnet]: 'shimmer',
+ [SupportedNetworkId.IotaTestnet]: '#FFFFFF',
+ [SupportedNetworkId.Testnet]: '#FFFFFF',
[SupportedNetworkId.IotaEvm]: 'iota-evm',
[SupportedNetworkId.ShimmerEvm]: 'shimmer-evm',
- [SupportedNetworkId.TestnetEvm]: 'shimmer-evm',
+ [SupportedNetworkId.IotaTestnetEvm]: '#FFFFFF',
+ [SupportedNetworkId.TestnetEvm]: '#FFFFFF',
}
let anchor: HTMLElement
diff --git a/packages/shared/src/components/avatars/TokenAvatar.svelte b/packages/shared/src/components/avatars/TokenAvatar.svelte
index 084371e337..e0b5f09d6c 100644
--- a/packages/shared/src/components/avatars/TokenAvatar.svelte
+++ b/packages/shared/src/components/avatars/TokenAvatar.svelte
@@ -20,8 +20,11 @@
[SupportedNetworkId.Shimmer]: {
[BASE_TOKEN_ID]: 'shimmer-background',
},
+ [SupportedNetworkId.IotaTestnet]: {
+ [BASE_TOKEN_ID]: 'text-secondary',
+ },
[SupportedNetworkId.Testnet]: {
- [BASE_TOKEN_ID]: 'shimmer-background',
+ [BASE_TOKEN_ID]: 'text-secondary',
},
[SupportedNetworkId.IotaEvm]: {
[BASE_TOKEN_ID]: 'iota-background',
@@ -29,8 +32,11 @@
[SupportedNetworkId.ShimmerEvm]: {
[BASE_TOKEN_ID]: 'shimmer-background',
},
+ [SupportedNetworkId.IotaTestnetEvm]: {
+ [BASE_TOKEN_ID]: 'text-secondary',
+ },
[SupportedNetworkId.TestnetEvm]: {
- [BASE_TOKEN_ID]: 'shimmer-background',
+ [BASE_TOKEN_ID]: 'text-secondary',
},
}
@@ -41,8 +47,11 @@
[SupportedNetworkId.Shimmer]: {
[BASE_TOKEN_ID]: 'shimmer',
},
+ [SupportedNetworkId.IotaTestnet]: {
+ [BASE_TOKEN_ID]: '#FFFFFF',
+ },
[SupportedNetworkId.Testnet]: {
- [BASE_TOKEN_ID]: 'shimmer',
+ [BASE_TOKEN_ID]: '#FFFFFF',
},
[SupportedNetworkId.IotaEvm]: {
[BASE_TOKEN_ID]: 'iota',
@@ -50,8 +59,11 @@
[SupportedNetworkId.ShimmerEvm]: {
[BASE_TOKEN_ID]: 'shimmer',
},
+ [SupportedNetworkId.IotaTestnetEvm]: {
+ [BASE_TOKEN_ID]: '#FFFFFF',
+ },
[SupportedNetworkId.TestnetEvm]: {
- [BASE_TOKEN_ID]: 'shimmer',
+ [BASE_TOKEN_ID]: '#FFFFFF',
},
}
diff --git a/packages/shared/src/components/organisms/NodeConfigurationForm.svelte b/packages/shared/src/components/organisms/NodeConfigurationForm.svelte
index b42569c40d..48ecc49379 100644
--- a/packages/shared/src/components/organisms/NodeConfigurationForm.svelte
+++ b/packages/shared/src/components/organisms/NodeConfigurationForm.svelte
@@ -69,7 +69,11 @@
return Promise.reject({ type: 'validationError', error: formError })
}
- const errorUrlValidity = checkNodeUrlValidity(currentClientOptions?.nodes, node.url, false)
+ const errorUrlValidity = checkNodeUrlValidity(
+ currentClientOptions?.nodes,
+ node.url,
+ $activeProfile?.features?.developer ?? false
+ )
if (errorUrlValidity) {
formError = localize(errorUrlValidity) ?? ''
return Promise.reject({ type: 'validationError', error: formError })
diff --git a/packages/shared/src/lib/auxiliary/icon/constants/default-network-icon.ts b/packages/shared/src/lib/auxiliary/icon/constants/default-network-icon.ts
index f3fce1ede5..6faca58ddb 100644
--- a/packages/shared/src/lib/auxiliary/icon/constants/default-network-icon.ts
+++ b/packages/shared/src/lib/auxiliary/icon/constants/default-network-icon.ts
@@ -4,8 +4,10 @@ import { NetworkId, SupportedNetworkId } from '@core/network'
export const DEFAULT_NETWORK_ICON: { [id in NetworkId]?: IconName } = {
[SupportedNetworkId.Iota]: IconName.Iota,
[SupportedNetworkId.Shimmer]: IconName.Shimmer,
+ [SupportedNetworkId.IotaTestnet]: IconName.Iota,
[SupportedNetworkId.Testnet]: IconName.Shimmer,
[SupportedNetworkId.IotaEvm]: IconName.Iota,
[SupportedNetworkId.ShimmerEvm]: IconName.Shimmer,
+ [SupportedNetworkId.IotaTestnetEvm]: IconName.Iota,
[SupportedNetworkId.TestnetEvm]: IconName.Shimmer,
}
diff --git a/packages/shared/src/lib/auxiliary/icon/constants/default-token-icon.ts b/packages/shared/src/lib/auxiliary/icon/constants/default-token-icon.ts
index 36e1b0d718..8021d9eb27 100644
--- a/packages/shared/src/lib/auxiliary/icon/constants/default-token-icon.ts
+++ b/packages/shared/src/lib/auxiliary/icon/constants/default-token-icon.ts
@@ -9,6 +9,9 @@ export const DEFAULT_TOKEN_ICON: { [networkId in NetworkId]?: { [tokenId: string
[SupportedNetworkId.Shimmer]: {
[BASE_TOKEN_ID]: IconName.Shimmer,
},
+ [SupportedNetworkId.IotaTestnet]: {
+ [BASE_TOKEN_ID]: IconName.Iota,
+ },
[SupportedNetworkId.Testnet]: {
[BASE_TOKEN_ID]: IconName.Shimmer,
},
@@ -18,6 +21,9 @@ export const DEFAULT_TOKEN_ICON: { [networkId in NetworkId]?: { [tokenId: string
[SupportedNetworkId.ShimmerEvm]: {
[BASE_TOKEN_ID]: IconName.Shimmer,
},
+ [SupportedNetworkId.IotaTestnetEvm]: {
+ [BASE_TOKEN_ID]: IconName.Iota,
+ },
[SupportedNetworkId.TestnetEvm]: {
[BASE_TOKEN_ID]: IconName.Shimmer,
},
diff --git a/packages/shared/src/lib/contexts/onboarding/enums/onboarding-network-type.enum.ts b/packages/shared/src/lib/contexts/onboarding/enums/onboarding-network-type.enum.ts
index 1707bd5626..e6ace5c5da 100644
--- a/packages/shared/src/lib/contexts/onboarding/enums/onboarding-network-type.enum.ts
+++ b/packages/shared/src/lib/contexts/onboarding/enums/onboarding-network-type.enum.ts
@@ -1,6 +1,7 @@
export enum OnboardingNetworkType {
Iota = 'iota',
Shimmer = 'shimmer',
+ IotaTestnet = 'iotaTestnet',
Testnet = 'testnet',
Custom = 'custom',
}
diff --git a/packages/shared/src/lib/core/market/apis/coingecko.api.ts b/packages/shared/src/lib/core/market/apis/coingecko.api.ts
index c85a54b03b..172deb11a8 100644
--- a/packages/shared/src/lib/core/market/apis/coingecko.api.ts
+++ b/packages/shared/src/lib/core/market/apis/coingecko.api.ts
@@ -9,7 +9,7 @@ export class CoinGeckoApi {
static async makeRequest