feat(sdk): expose subaccount commitments (#892)
Adds local SDK helpers on subaccounts(dappName): partialCommitment() for hash(identity_key, dappName), and commitment(nonce) for hash(partialCommitment, nonce). These are computed entirely in TypeScript and do not call the anonymizer contract or discovery service. Validation: - npx vitest run --coverage.enabled=false tests/internal/sub-accounts.test.ts - npm run build - git diff --check <!-- Reviewable:start --> - - - This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/starkware-libs/starknet-privacy/892) <!-- Reviewable:end -->
I
Ittay Dror committed
33a788f65cf4efeb06ad23370846194c676486da
Parent: 08fb947
Committed by GitHub <noreply@github.com>
on 7/8/2026, 2:05:18 PM