app-monorepo
app-monorepo copied to clipboard
OK-27474: Add support for Nexa chain
PR Summary
-
Added CoreChainNexa and CoreChainSoftware classes The
CoreChainApiHubfile has been enhanced with the addition of theCoreChainNexaandCoreChainSoftwareclasses. This will form part of the core logic for this application, improving existing functionality. -
Introduced the INexaUTXO Interface The
types.tsfile now includes theINexaUTXOinterface which will ensure clear and consistent structure whilst working with Nexa UTXOs(Unspent Transaction Outputs). -
Enhanced Database capabilities with SimpleDbEntityFeeInfo class The
SimpleDbandSimpleDbProxyfiles now include theSimpleDbEntityFeeInfoclass and thefeeInfoproperty. This modification introduces additional database functionality, specifically in handling fee-related information. -
Updated method set in ServiceGas The
ServiceGasfile now has improved methods for getting and updating the fee preset index. This will provide better control and access over the fee information. -
Enhanced KeyringSoftwareBase method The
KeyringSoftwareBasefile now includes thepublicKeyin thebuildImportedAccountIdfunction in its method. This will improve account management with additional security measures. -
Additional Keyring classes for varied uses Various Keyring classes (
KeyringExternal,KeyringHardware,KeyringHd,KeyringImported, andKeyringWatching) have been added in thenexafolder. Each of these caters to different types of nexa account holders, thus improving user experience. -
Implemented Nexa vault A new
Vault.tsfile has been added, which contains the implementation of the Nexa vault. It caters to account address details and the building & validation of private keys and transactions. -
Introduced settings for Nexa vault implementation A settings file specifically for Nexa vaults is introduced which contains crucial information about the vault's implementation type, coin type etc. This will make vaults settings customizations easier and more efficient.
-
Updated other vault settings with a new property The settings for Nostr, Sol, Tron, and XRP vault have been updated with a
defaultFeePresetIndexproperty. -
Updated XRP vault functionality The XRP vault functionality has been modified to provide a more user-friendly error handling mechanism.
-
Updated sendSelectedFee function The
updateSendSelectedFeefunction now allows partial updates to make it easier for users to select and update the fee. -
Improved fee calculation function The
calculateTotalFeeRangefunction is updated to provide more accurate fee range calculation by including decimal places. -
Updated Nexa and Nexa Testnet pre-set networks Pre-set networks for Nexa and Nexa Testnet have been updated to enhance network operations and connectivity.