app-monorepo icon indicating copy to clipboard operation
app-monorepo copied to clipboard

OK-27474: Add support for Nexa chain

Open originalix opened this issue 1 year ago • 2 comments

originalix avatar May 12 '24 14:05 originalix

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders
Open Preview

codesandbox[bot] avatar May 12 '24 14:05 codesandbox[bot]

PR Summary

  • Added CoreChainNexa and CoreChainSoftware classes The CoreChainApiHub file has been enhanced with the addition of the CoreChainNexa and CoreChainSoftware classes. This will form part of the core logic for this application, improving existing functionality.

  • Introduced the INexaUTXO Interface The types.ts file now includes the INexaUTXO interface which will ensure clear and consistent structure whilst working with Nexa UTXOs(Unspent Transaction Outputs).

  • Enhanced Database capabilities with SimpleDbEntityFeeInfo class The SimpleDb and SimpleDbProxy files now include the SimpleDbEntityFeeInfo class and the feeInfo property. This modification introduces additional database functionality, specifically in handling fee-related information.

  • Updated method set in ServiceGas The ServiceGas file 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 KeyringSoftwareBase file now includes the publicKey in the buildImportedAccountId function 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, and KeyringWatching) have been added in the nexa folder. Each of these caters to different types of nexa account holders, thus improving user experience.

  • Implemented Nexa vault A new Vault.ts file 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 defaultFeePresetIndex property.

  • Updated XRP vault functionality The XRP vault functionality has been modified to provide a more user-friendly error handling mechanism.

  • Updated sendSelectedFee function The updateSendSelectedFee function now allows partial updates to make it easier for users to select and update the fee.

  • Improved fee calculation function The calculateTotalFeeRange function 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.

what-the-diff[bot] avatar May 12 '24 14:05 what-the-diff[bot]