Skip to content

Releases: stellar-sharpy/sharpy-sdk

v0.2.0 — New Methods + Wallet Kit Signer Support

Choose a tag to compare

@MarcusDavidG MarcusDavidG released this 18 Jul 14:21

@stellar-sharpy/sdk v0.2.0

New Methods

  • bumpInvoiceTtl(caller, invoiceId) — Protocol 26 CAP-78
  • getInvoiceFingerprint(invoiceId) — Protocol 25/26 SHA-256 hash
  • poolPay(payer, payments[]) — pay multiple invoices
  • getPayerTotal(invoiceId, payer)
  • getInvoiceStats(invoiceId)
  • createBatch(creator, invoices[])
  • disputeRelease and resolveDispute

Changed

  • SharpyClientConfig accepts optional signTransaction override
  • signerRegistry pattern for runtime wallet switching
  • stellar-sdk 16.0.1, Protocol 27 ready

v0.1.0 — Initial Release

Choose a tag to compare

@MarcusDavidG MarcusDavidG released this 19 Jun 06:17

@stellar-sharpy/sdk v0.1.0

TypeScript SDK for the Sharpy split payment contract on Stellar Soroban.

Install

npm install @stellar-sharpy/sdk

Features

  • SharpyClient — full contract method coverage
  • Freighter v3 wallet integration
  • Type-safe invoice and split rule types
  • Utility helpers: parseAmount, formatAmount, deadlineFromDays
  • Pre-configured NETWORKS constants for testnet and mainnet
  • ESM + CJS + TypeScript declarations