Merged
Conversation
Replace `Address([u8; 20])` with `Address([u8; 32])` throughout the SDK to align with Substrate's native AccountId32 model. All account types (Sr25519, ECDSA, EVM-mapped) are now represented uniformly as 32-byte addresses.
Add ZK disclosure witness generation to the SDK and fix compatibility for WASM targets (browser + Node.js) by removing std dependencies. Disclosure circuit (feat): - infrastructure/crypto: expose poseidon_hash_1(), u64_to_field_bytes(), make bytes_to_field/field_to_bytes pub(crate) - presentation/wasm_bindings: new buildDisclosureInputs() WASM export — builds circuit inputs for the disclosure proof (value, owner, asset_id, commitment, selective disclosure mask) - application/builders/compliance/disclosure_flow: create_disclosure_witness - Cargo.toml: orbinum-zk-core 0.4.0→0.5.0, orbinum-encrypted-memo 0.2.2→0.3.0, add blake2 = "0.10" (optional, crypto-signing gate)
…ncluding selective disclosure witness API and hybrid CI build
…optimize hasher usage
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.
No description provided.