Feat/wasm version#12
Open
rmn-boiko wants to merge 17 commits intoUTEXO-Protocol:devfrom
Open
Conversation
cbd9d22 to
ccd1d50
Compare
c907bbd to
2b84780
Compare
9ea1adb to
e539c86
Compare
e539c86 to
d022456
Compare
1ce4cb1 to
4464e93
Compare
4464e93 to
e1f5b64
Compare
b8add9b to
bf683d9
Compare
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.
PR: WASM SDK implementation + parity/runtime refactor + CI integration
Overview
This branch introduces a full WASM SDK track for
rgb-lightning-node, including runtime-backed endpoint behavior, wasm-focused architecture boundaries, contract coverage, examples, and CI integration.Main changes
1) WASM SDK package and runtime
bindings/wasm-sdkas the standalone wasm-facing SDK package.2) SDK-level refactor in core crate
src/sdk/runtime.rs:src/sdk/*) to reduce coupling to route handlers and keep behavior portable across native/wasm surfaces.src/sdk/wasm.rssrc/sdk/wasm_bindings.rs3) Build/target shaping for wasm
Cargo.toml:cfg(not(target_arch = "wasm32"))cfg(target_arch = "wasm32")src/lib.rs/src/main.rstarget gating to keep native daemon path and wasm path cleanly separated.4) Endpoint parity and contracts
bindings/wasm-sdk/SDK_WASM_ENDPOINT_MATRIX.mdbindings/wasm-sdk/ERROR_CONTRACT.mdissue_asset_uda(for now)5) Examples
bindings/wasm-sdk/examples/wasm-interop/*6) CI
.github/workflows/test.yaml):wasm-sdk(crate check + test compile)wasm-sdk-wasm32(wasm32 target check)Current status
bindings/wasm-sdkbuilds successfully for:wasm32-unknown-unknowncheck