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

Add stacks blockchain

Open friedger opened this issue 1 year ago • 5 comments
trafficstars

This PR

  • adds support for Stacks blockchain
  • fixes #3892

friedger avatar Dec 08 '23 11:12 friedger

PR Summary

  • Commit Message Check Added a pattern check to ensure the correctness of commit messages.

  • New Dependencies Added Added new dependencies required for Stacks blockchain interoperability.

  • Mock Provider For Stacks Blockchain Enabled the program to imitate a "stacks" provider for development purposes.

  • Support for Network ID "5757" Added support to detect and process transactions for network ID "5757".

  • Derivation Path Template Created a template that helps trace the origin of the stacks coin type.

  • Constants & Mappings For Stacks Coin Type Code updated to recognize and better handle the properties of "stacks" coin type.

  • Return Corresponding Settings for Stacks System now able to pull up settings specific to the "Stacks" implementation.

  • Implementation for Stacks Adjusted the program to create appropriate helpers and instances related to the "stacks" implementation.

  • Testing Files For Stacks Implementation Two new testing files added to ensure the performance and correctness of the "stacks" implementation.

  • Vault Class For Stacks Transactions Introduced a new vault class specially designed for handling "Stacks" transactions and provide additional interaction capabilities.

  • VaultHelper Class Implemented a helper class that assists in translating transactions to the "Stacks" format.

  • KeyringHardware Class Added a class offering tools and methods to deal with accounts and sign transactions using hardware devices while interacting with the Stacks blockchain.

  • Test For KeyringHd Class Introduced tests to evaluate the performance of methods in the KeyringHD class.

  • KeyringHd Class A new class to manage HD keyrings in Stacks blockchain.

  • KeyringImported Test and Class Test cases and implementation for managing imported keyrings in Stacks blockchain.

  • KeyringWatching Test and Class Test cases and implementation for overseeing keyrings in Stacks blockchain.

  • Additional Files Various additional files added for efficient handling of Stacks processes.

  • Types and Constants Introduced a new type specific to the Stacks and adjusted type IEncodedTx. Added/constants related to the Stacks implementation. Added Stacks support to constant sets.

what-the-diff[bot] avatar Dec 08 '23 11:12 what-the-diff[bot]

Here is a PR for https://github.com/OneKeyHQ/hardware-js-sdk/pull/317 How do these two go together?

friedger avatar Mar 22 '24 10:03 friedger

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

socket-security[bot] avatar Mar 22 '24 10:03 socket-security[bot]