-
Notifications
You must be signed in to change notification settings - Fork 0
feat: initialize with wasm-miniscript repo #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
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
Add initial version of wasm-miniscript package
refactor: move build output to dist/ directory
feat: add typescript as a dependency
feat: add CODEOWNERS file
So that Mac M1 users can run wasm-pack successfully, otherwise it throws error. BTC-1317
BTC-1333: Build wasm files for Mac M1 using Docker and Makefile
feat: add `all` target and some clean up commands
chore: add .prettierrc.yaml
* add to `type Descriptor`: - `hasWildcard` method - `atDerivationIndex` method - `toAsmString` method * add to `type Miniscript`: - `toAsmString` method * add parameter `pkType` to `descriptorFromString` function Issue: BTC-1317
feat: improve wrapper structs
feat: add a `publish.yml` for publishing packages to npmjs
ci: switch to dtolnay/rust-toolchain
ci: fix publish workflow trigger
chore: add necessary publish configuration
feat: add formatNode utility for descriptor and miniscript ASTs
Upstream changes
Adds missing Drop node mapping to AST parser. Includes new test fixture. Issue: BTC-1826
Add AST support for taproot trees in descriptors, including type definitions and formatNode handling. Add fixtures for tree-based descriptors. Issue: BTC-1829
Run wasm-opt separately after build to enable bulk memory. This fixes compilation problems with rust nightly. Issue: BTC-0
Add PSBT signing functionality using private extended keys (xprv). Supports individual key signing and returns a map of signed pubkeys. Issue: BTC-1845
Rewrite descriptor template strings as AST nodes for better reliability. Replace string templates with explicit AST node construction. Issue: BTC-1845
Files renamed to better indicate their purpose for fixed script compatibility. Issue: BTC-1845
Adds utils to create and test PSBTs from descriptors with mock inputs and outputs. Issue: BTC-1845
Implement PSBT signing with raw private keys alongside xprv-based signing. Add tests to verify both signing methods. Issue: BTC-1845
Standardize wasm tools installation across CI and publish workflows. Add version output for better debugging. Issue: BTC-1845
It is only a dev dependency but whatever Issue: beta
Handle descriptors without wildcards in psbt mock utilities Issue: beta
Adds SingleKeySigner implementation to sign with plain EC keys for taproot descriptors. Issue: beta
Reduce distance between both branches Issue: BTC-1829
Replaces JsError with WasmMiniscriptError. This allows writing tests for funcs that return `Result<_, WasmMiniscriptError>`. Previously it was a pain because `JsError` did not implement Debug. Issue: BTC-1826
Add fromStringDetectType() that auto-detects whether a descriptor contains wildcards. If it does, returns a derivable descriptor, otherwise a definite one. Issue: BTC-1826
Merging beta instead of master because that is the de-facto branch that is used for the wasm-miniscript package.
2b0d5ef to
d3ffa1b
Compare
Rearrange imports and improve code formatting to follow project style. Remove unnecessary trailing commas and clean up whitespace in tests. Issue: BTC-2650 Co-authored-by: llm-git <llm-git@ttll.de>
ppong
approved these changes
Oct 20, 2025
ppongbitgo
approved these changes
Oct 20, 2025
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.
This merges the full history of https://github.com/BitGo/wasm-miniscript (beta branch) as the baseline.
Further PRs will rename the directories and packages to
wasm-utxoand extend the functionality to BitGo fixed-script wallets.