diff --git a/apps/cli/src/live-common-setup-base.ts b/apps/cli/src/live-common-setup-base.ts index 139d5c080373..8315624cfcc4 100644 --- a/apps/cli/src/live-common-setup-base.ts +++ b/apps/cli/src/live-common-setup-base.ts @@ -76,6 +76,7 @@ setSupportedCurrencies([ "umee", "desmos", "onomy", + "sei_network", "persistence", "quicksilver", "internet_computer", diff --git a/apps/ledger-live-desktop/src/live-common-set-supported-currencies.ts b/apps/ledger-live-desktop/src/live-common-set-supported-currencies.ts index b4e115bdfec0..f5aefd2eff1b 100644 --- a/apps/ledger-live-desktop/src/live-common-set-supported-currencies.ts +++ b/apps/ledger-live-desktop/src/live-common-set-supported-currencies.ts @@ -9,6 +9,7 @@ setSupportedCurrencies([ "umee", "desmos", "onomy", + "sei_network", "quicksilver", "persistence", "avalanche_c_chain", diff --git a/apps/ledger-live-desktop/src/renderer/modals/AddAccounts/steps/StepChooseCurrency.tsx b/apps/ledger-live-desktop/src/renderer/modals/AddAccounts/steps/StepChooseCurrency.tsx index 469c70289084..c44561b64279 100644 --- a/apps/ledger-live-desktop/src/renderer/modals/AddAccounts/steps/StepChooseCurrency.tsx +++ b/apps/ledger-live-desktop/src/renderer/modals/AddAccounts/steps/StepChooseCurrency.tsx @@ -39,6 +39,7 @@ const StepChooseCurrency = ({ currency, setCurrency }: StepProps) => { const umee = useFeature("currencyUmee"); const desmos = useFeature("currencyDesmos"); const onomy = useFeature("currencyOnomy"); + const seiNetwork = useFeature("currencySeiNetwork"); const quicksilver = useFeature("currencyQuicksilver"); const persistence = useFeature("currencyPersistence"); const avaxCChain = useFeature("currencyAvalancheCChain"); @@ -77,6 +78,7 @@ const StepChooseCurrency = ({ currency, setCurrency }: StepProps) => { umee, desmos, onomy, + sei_network: seiNetwork, quicksilver, persistence, avalanche_c_chain: avaxCChain, @@ -113,6 +115,7 @@ const StepChooseCurrency = ({ currency, setCurrency }: StepProps) => { umee, desmos, onomy, + seiNetwork, quicksilver, persistence, avaxCChain, diff --git a/apps/ledger-live-mobile/src/live-common-setup.ts b/apps/ledger-live-mobile/src/live-common-setup.ts index d0d130e8122d..66d32cf719b0 100644 --- a/apps/ledger-live-mobile/src/live-common-setup.ts +++ b/apps/ledger-live-mobile/src/live-common-setup.ts @@ -43,6 +43,7 @@ setSupportedCurrencies([ "umee", "desmos", "onomy", + "sei_network", "quicksilver", "persistence", "bitcoin", diff --git a/apps/ledger-live-mobile/src/screens/AddAccounts/01-SelectCrypto.tsx b/apps/ledger-live-mobile/src/screens/AddAccounts/01-SelectCrypto.tsx index 63d6340d560e..716cf7f8e683 100644 --- a/apps/ledger-live-mobile/src/screens/AddAccounts/01-SelectCrypto.tsx +++ b/apps/ledger-live-mobile/src/screens/AddAccounts/01-SelectCrypto.tsx @@ -60,6 +60,7 @@ export default function AddAccountsSelectCrypto({ navigation, route }: Props) { const umee = useFeature("currencyUmee"); const desmos = useFeature("currencyDesmos"); const onomy = useFeature("currencyOnomy"); + const seiNetwork = useFeature("currencySeiNetwork"); const quicksilver = useFeature("currencyQuicksilver"); const persistence = useFeature("currencyPersistence"); const avaxCChain = useFeature("currencyAvalancheCChain"); @@ -97,6 +98,7 @@ export default function AddAccountsSelectCrypto({ navigation, route }: Props) { desmos, secret_network: secretNetwork, onomy, + sei_network: seiNetwork, quicksilver, persistence, avalanche_c_chain: avaxCChain, @@ -133,6 +135,7 @@ export default function AddAccountsSelectCrypto({ navigation, route }: Props) { desmos, secretNetwork, onomy, + seiNetwork, quicksilver, persistence, avaxCChain, diff --git a/apps/web-tools/live-common-setup.ts b/apps/web-tools/live-common-setup.ts index de67602d9f84..c6354bc9db53 100644 --- a/apps/web-tools/live-common-setup.ts +++ b/apps/web-tools/live-common-setup.ts @@ -11,6 +11,7 @@ setSupportedCurrencies([ "umee", "desmos", "onomy", + "sei_network", "quicksilver", "persistence", "bitcoin", diff --git a/libs/ledger-live-common/src/__tests__/test-helpers/environment.ts b/libs/ledger-live-common/src/__tests__/test-helpers/environment.ts index 2aeae0874197..492e3041c9b3 100644 --- a/libs/ledger-live-common/src/__tests__/test-helpers/environment.ts +++ b/libs/ledger-live-common/src/__tests__/test-helpers/environment.ts @@ -14,6 +14,7 @@ setSupportedCurrencies([ "umee", "desmos", "onomy", + "sei_network", "quicksilver", "persistence", "bitcoin", diff --git a/libs/ledger-live-common/src/account/helpers.ts b/libs/ledger-live-common/src/account/helpers.ts index 43a15a56e28e..8955672f159b 100644 --- a/libs/ledger-live-common/src/account/helpers.ts +++ b/libs/ledger-live-common/src/account/helpers.ts @@ -99,6 +99,7 @@ export const getVotesCount = ( return (mainAccount as TronAccount)?.tronResources?.votes.length || 0; case "axelar": case "onomy": + case "sei_network": case "quicksilver": case "stride": case "persistence": diff --git a/libs/ledger-live-common/src/config/defaultConfig.ts b/libs/ledger-live-common/src/config/defaultConfig.ts index 566c0838f595..f122dba0a398 100644 --- a/libs/ledger-live-common/src/config/defaultConfig.ts +++ b/libs/ledger-live-common/src/config/defaultConfig.ts @@ -45,6 +45,10 @@ const defaultConfig = { lcd: "https://lcd.secret.express", minGasPrice: 0.25, }, + sei_network: { + lcd: "https://sei-api.polkachu.com", + minGasPrice: 0.1, + }, stargaze: { lcd: "https://stargaze-api.polkachu.com", minGasPrice: 1, diff --git a/libs/ledger-live-common/src/families/cosmos/chain/chain.unit.test.ts b/libs/ledger-live-common/src/families/cosmos/chain/chain.unit.test.ts index bc029e5cc1cc..2250d4677bfe 100644 --- a/libs/ledger-live-common/src/families/cosmos/chain/chain.unit.test.ts +++ b/libs/ledger-live-common/src/families/cosmos/chain/chain.unit.test.ts @@ -12,6 +12,7 @@ describe("cryptoFactory test", () => { "desmos", "nyx", "onomy", + "sei_network", "persistence", "quicksilver", "secret_network", diff --git a/libs/ledger-live-common/src/families/cosmos/specs.ts b/libs/ledger-live-common/src/families/cosmos/specs.ts index d92e16747289..d8eb1cae9754 100644 --- a/libs/ledger-live-common/src/families/cosmos/specs.ts +++ b/libs/ledger-live-common/src/families/cosmos/specs.ts @@ -525,6 +525,16 @@ const onomy = { }), }; +const seiMinimalTransactionAmount = new BigNumber(5000); +const sei = { + ...generateGenericCosmosTest("sei_network", false, { + minViableAmount: onomyMinimalTransactionAmount, + mutations: cosmosLikeMutations(seiMinimalTransactionAmount), + testTimeout: 8 * 60 * 1000, + skipOperationHistory: true, + }), +}; + const axelarMinimalTransactionAmount = new BigNumber(10000); const axelar = { ...generateGenericCosmosTest("axelar", false, { @@ -580,6 +590,7 @@ export default { quicksilver, onomy, secretNetwork, + sei, stargaze, coreum, injective, diff --git a/libs/ledger-live-common/src/featureFlags/defaultFeatures.ts b/libs/ledger-live-common/src/featureFlags/defaultFeatures.ts index 8f507332b172..0f3c6f98af7b 100644 --- a/libs/ledger-live-common/src/featureFlags/defaultFeatures.ts +++ b/libs/ledger-live-common/src/featureFlags/defaultFeatures.ts @@ -52,6 +52,7 @@ export const CURRENCY_DEFAULT_FEATURES = { currencyQuicksilver: DEFAULT_FEATURE, currencyRsk: DEFAULT_FEATURE, currencySecretNetwork: DEFAULT_FEATURE, + currencySeiNetwork: DEFAULT_FEATURE, currencyStacks: DEFAULT_FEATURE, currencyStargaze: DEFAULT_FEATURE, currencySyscoin: DEFAULT_FEATURE, diff --git a/libs/ledgerjs/packages/types-live/src/feature.ts b/libs/ledgerjs/packages/types-live/src/feature.ts index a6702e0630a7..19aa7b9492dd 100644 --- a/libs/ledgerjs/packages/types-live/src/feature.ts +++ b/libs/ledgerjs/packages/types-live/src/feature.ts @@ -100,6 +100,7 @@ export type CurrencyFeatures = { currencySyscoin: DefaultFeature; currencyAxelar: DefaultFeature; currencySecretNetwork: DefaultFeature; + currencySeiNetwork: DefaultFeature; currencyDesmos: DefaultFeature; currencyUmee: DefaultFeature; currencyStargaze: DefaultFeature;