Skip to content

feat: TypeScript SDK with 97.81% test coverage#236

Open
wilsonhoe wants to merge 1 commit intoANAVHEOBA:mainfrom
wilsonhoe:feature/typescript-sdk
Open

feat: TypeScript SDK with 97.81% test coverage#236
wilsonhoe wants to merge 1 commit intoANAVHEOBA:mainfrom
wilsonhoe:feature/typescript-sdk

Conversation

@wilsonhoe
Copy link
Copy Markdown

Summary

Adds a complete TypeScript SDK for PrivacyLayer with comprehensive test coverage.

Features

  • PrivacyLayerSDK class with network support (mainnet/testnet/futurenet)
  • Crypto module: key generation, Poseidon hash, Merkle operations
  • Utils: input validators for contracts, amounts, addresses
  • 79 tests across 4 test suites
  • 97.81% code coverage (exceeds 80% requirement)

Files Added

  • packages/sdk-typescript/ - Complete SDK implementation
  • TypeScript declarations and source maps
  • Jest configuration with coverage reporting

Dependencies

  • @stellar/stellar-sdk ^11.0.0
  • @stellar/stellar-base ^10.0.0

Bounty: TypeScript SDK Package

- PrivacyLayerSDK class with mainnet/testnet/futurenet support
- Crypto module: key generation, Poseidon hash, Merkle operations
- Utils: validators for contract IDs, amounts, addresses
- 79 tests with 97.81% code coverage
- Stellar SDK integration (@stellar/stellar-sdk)
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.

1 participant