Skip to content

Conversation

@OttoAllmendinger
Copy link
Contributor

@OttoAllmendinger OttoAllmendinger commented Jan 7, 2025

  • feat(web-demo): add wasm-miniscript to web demo
    Issue: BTC-1722

@OttoAllmendinger OttoAllmendinger force-pushed the BTC-1722.add-wasm-miniscript-to-web-demo branch from 237f32b to bbd873e Compare January 7, 2025 14:11
@OttoAllmendinger OttoAllmendinger changed the title BTC 1722.add wasm miniscript to web demo feat(web-demo): add wasm miniscript to web demo Jan 7, 2025
@lcovar lcovar requested a review from bitgoAaron January 7, 2025 17:21
@OttoAllmendinger OttoAllmendinger force-pushed the BTC-1722.add-wasm-miniscript-to-web-demo branch from bbd873e to a32ab73 Compare January 8, 2025 13:39
},
{
test: /miniscript.*\.wasm$/,
type: 'webassembly/sync',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason webassembly/async does not work here. The import stays in some sort of deferred state.

@OttoAllmendinger OttoAllmendinger force-pushed the BTC-1722.add-wasm-miniscript-to-web-demo branch from a32ab73 to 0477848 Compare January 8, 2025 14:30
@OttoAllmendinger OttoAllmendinger marked this pull request as ready for review January 8, 2025 15:02
@OttoAllmendinger OttoAllmendinger requested a review from a team as a code owner January 8, 2025 15:02
@OttoAllmendinger OttoAllmendinger requested a review from a team January 8, 2025 15:02
@OttoAllmendinger OttoAllmendinger requested a review from a team as a code owner January 8, 2025 15:02
'wpkh(xpub661MyMwAqRbcFQpwd6c6aaioiXWuygdeknqE8v6PSNusNjwZypj1uXTVNysfsFPEDL6X3yS1kL6JeWyy9bAiR97Gz8KD9Z1W54uBw9U9j2t/*)';

export default function () {
const [descriptorString] = useState(defaultDescriptor);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: you do not need useState for this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanted to make this more interactive but didn't get around to it

@OttoAllmendinger OttoAllmendinger merged commit 6f6d2c0 into master Jan 8, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants