Skip to content

Tags: lnbotdev/python-sdk

Tags

v1.0.0

Toggle v1.0.0's commit message
v1.0.0: Wallet-scoped API, integration tests, SSE improvements

- Migrate to wallet-scoped API pattern: ln.wallet(id).resource.method()
- Add Wallet/AsyncWallet with all sub-resources (key, invoices, payments, addresses, transactions, webhooks, events, l402)
- Add register(), me(), WalletKeyResource, PublicInvoicesResource
- Add payments.resolve() for target resolution
- Add ResolveTargetResponse, RegisterResponse, MeResponse, WalletListItem, WalletKeyResponse, WalletKeyInfoResponse
- Update CreateWalletResponse (remove keys), remove CreateWalletRequest
- Split account-level vs wallet-level operations
- Add 56 integration tests with real API calls
- Exclude integration tests from CI/release workflows
- Update README for v1.0.0 wallet-scoped API

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

v0.5.0

Toggle v0.5.0's commit message
Add L402 paywall support, remove keys.list(), add by-hash lookups

- Add L402Resource (sync) and AsyncL402Resource with create_challenge(),
  verify(), pay() methods
- Add L402 types: L402ChallengeResponse, VerifyL402Response, L402PayResponse
- Remove keys.list() from both sync and async clients
- Remove ApiKeyResponse type
- Support get/watch by payment hash (int | str parameter)
- Bump version to 0.5.0

Made-with: Cursor

v0.4.0

Toggle v0.4.0's commit message
Add wallet event stream, preimage and serviceFee fields

- Add events.stream() for real-time wallet-level SSE events (sync + async)
- Add preimage field to InvoiceResponse and PaymentResponse
- Add service_fee field to PaymentResponse
- Add WalletEvent, WalletEventType types
- Bump version to 0.4.0

Made-with: Cursor

v0.3.0

Toggle v0.3.0's commit message
Add payment watch, unauthenticated invoice creation, LNURL support

- Add payments.watch() SSE stream for real-time payment events (settled/failed)
- Add invoices.create_for_wallet() and create_for_address() for unauthenticated invoice creation
- Add PaymentEvent, AddressInvoiceResponse types (sync + async)
- Update payment docs to mention LNURL as accepted target
- Bump version to 0.3.0

Made-with: Cursor

v.0.1.1

Toggle v.0.1.1's commit message
Update pyproject.toml