feat(toolkit): Support multiple Ledger Stacks in toolkit-js#946
Merged
timjroberts merged 27 commits intoMar 29, 2026
Conversation
toolkit-jstoolkit-js
Contributor
14 tasks
…compact-version-selection
…compact-version-selection
a86ad09 to
b109d99
Compare
…compact-version-selection
…sion-selection' into timjroberts/PM-22230-compact-version-selection
…compact-version-selection
…compact-version-selection
gilescope
approved these changes
Mar 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.








Overview
PM-22230
This PR converts
toolkit-jsinto a workspace with av7package supporting Compact.js built against Ledger 7, and av8package supporting Compact.js built against Ledger 8.When running the toolkit from the command-line, it will default to the latest ledger version (and consequently the associated version of Compact.js that supports it), but this can be overridden by applying the
LEDGER_VERSION=denvironment variable. For example, to use a Compact.js that is built against Ledger 7, setLEDGER_VERSION=7in the environment.🗹 TODO before merging
📌 Submission Checklist
The combination of default behaviour and an optional environment variable keeps this change fully backward compatible.
🧪 Testing Evidence
Please describe any additional testing aside from CI:
🔱 Fork Strategy
Links
Closes PM-22230