Skip to content

v0.4.0

Choose a tag to compare

@realbub realbub released this 27 Feb 16:33
· 5 commits to main since this release

Initial release of the official .NET SDK for LnBot — Bitcoin for AI Agents.

Features

  • Zero dependenciesSystem.Net.Http + System.Text.Json only
  • Async-first — every method returns Task<T> with CancellationToken support
  • Typed exceptionsBadRequestException, NotFoundException, ConflictException, UnauthorizedException, ForbiddenException
  • SSE supportWatchAsync returns IAsyncEnumerable<T> for real-time events
  • Nullable reference types — fully annotated

Install

dotnet add package LnBot

Resources

  • Wallets — create, get, update
  • Invoices — create, list, get, watch (SSE)
  • Payments — create, list, get, watch (SSE)
  • Addresses — create, list, delete, transfer
  • Transactions — list with pagination
  • Webhooks — create, list, delete
  • API Keys — list, rotate
  • Events — real-time wallet event stream
  • Backup — recovery passphrase, passkey
  • Restore — recovery passphrase, passkey