app-monorepo
app-monorepo copied to clipboard
Add stacks blockchain
This PR
- adds support for Stacks blockchain
- fixes #3892
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.
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
| Package | New capabilities | Transitives | Size | Publisher |
|---|---|---|---|---|
| npm/@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2 | None | 0 |
16.3 kB | nicolo-ribaudo |
| npm/[email protected] | None | 0 |
60.1 kB | broofa |
🚮 Removed packages: npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]
Here is a PR for https://github.com/OneKeyHQ/hardware-js-sdk/pull/317 How do these two go together?
👍 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.