Skip to content

Introduce @utexo/rgb-sdk-core and migrate rgb-sdk#16

Merged
bandrivskiy merged 17 commits into
mainfrom
dev
Apr 3, 2026
Merged

Introduce @utexo/rgb-sdk-core and migrate rgb-sdk#16
bandrivskiy merged 17 commits into
mainfrom
dev

Conversation

@bandrivskiy

Copy link
Copy Markdown
Collaborator

Created @utexo/rgb-sdk-core — platform-agnostic shared package containing all business logic that was previously duplicated across SDKs:
IWalletManager, IRgbLibBinding, ISigner, IUTEXOProtocol interfaces
BaseWalletManager abstract class
UTEXOWalletCore abstract class (full Lightning/onchain bridge logic)
UTEXOProtocol / LightningProtocol / OnchainProtocol base classes
All DTOs and model types (wallet-model.ts)
Errors, constants, utils (validation, logger, fingerprint, bip32 helpers, units)
Bridge API client and types
Pure crypto: key derivation, PSBT utilities, message signing (@scure/*)
DEFAULT_TRANSPORT_ENDPOINTS / DEFAULT_INDEXER_URLS
VSS helpers, UTEXO network config
@utexo/rgb-sdk — platform-specific layer only:

  • NodeRgbLibBinding implements IRgbLibBinding wrapping @utexo/rgb-lib binding
  • NodeSigner implements ISigner using BDK + bitcoinjs-lib
  • WalletManager extends BaseWalletManager — constructor injects binding + signer
  • Dropped browser/web support, static imports throughout, deleted all passthrough index files

MaiborodaY and others added 17 commits March 18, 2026 15:06
…ests-dev

This PR strengthens regtest offline-receiver tests by replacing permissive assertions with stricter receiver-state and balance checks.
* #545 replace shared code with rgb-sdk-code

* #545 - refactor outdated signer code

* debug comment

* fix: update default imports

* clean up logs

* feat: update core deps

* fix: lint errors

* feat: update utexo network & docs

* feat: update lint issue

* fix: drop test desc from main doc

* feat: drop security notice
@bandrivskiy bandrivskiy merged commit 3376a2c into main Apr 3, 2026
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.

3 participants