feat: WASM implementation for NodeJS - #323
Merged
itsyaasir merged 19 commits intoAug 5, 2026
Merged
Conversation
- Implement tests for NodePoiSource to validate BCS evidence retrieval. - Create WASM source tests to ensure transaction evidence handling. - Introduce TypeScript configuration for building WASM bindings. - Update Rust dependencies and features for native gRPC support. - Refactor source trait to return decoded transaction and checkpoint evidence. - Enhance proof builder to handle stacked targets and deduplicate requests.
- Added LedgerSource class to handle ledger reads required by Proof of Inclusion. - Introduced PoiClient class for creating Proof of Inclusion builders backed by IOTA ledger endpoints. - Created source-types.ts to define interfaces for transaction and checkpoint evidence. - Updated TypeScript configuration for the new structure. - Implemented tests for LedgerSource and PoiClient to ensure functionality. - Refactored existing code to integrate new classes and improve modularity.
… in WASM bindings
…at/poi/nodejs-implementation # Conflicts: # poi-rs/Cargo.toml # poi-rs/src/builder.rs # poi-rs/src/source.rs # poi-rs/tests/proof_builder.rs
…or committee resolution
- Introduced `ProofTarget` enum to represent different proof requests (Transaction, Object, Event). - Updated `ProofBuilder` to utilize `ProofTarget` instead of the previous `SourceTarget`. - Enhanced error handling in `ProofBuilderError` to provide more specific error types related to proof construction failures. - Modified `SourceError` to streamline error reporting and removed unnecessary complexity. - Adjusted tests to align with the new error handling and proof target structure.
…r handling in LedgerSource
…mittee deserialization
…placing CommitteeResolver with trustedNodeVerifier and anchoredVerifier methods
…port for genesis blob anchoring
…truction in WASM and Rust implementations
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.
Description of change
Links to any relevant issues
Type of change
How the change has been tested
Change checklist