Skip to content

Conversation

@OttoAllmendinger
Copy link
Contributor

Implement core utilities for Bitcoin staking with Babylon protocol including:

  • Delegation message creation from PSBT
  • Network type definitions and conversion functions
  • Staker info helpers and timelock parameter support
  • Descriptor builder enhancements
  • Babylon parameter lookup functions

Refactor delegation message creation for better composability and
extract network type definitions into separate files.

Issue: BTC-1933

Remove commented-out code that's no longer needed in the descriptor
builder class.

Issue: BTC-1933
Added utility functions to create delegation message from PSBT,
including staker info and transaction conversion helpers.

Issue: BTC-1933
Add network type definitions and conversion functions between Babylon and
BitcoinJS networks

Issue: BTC-1933
Split delegation message creation into reusable components for better
composability

Issue: BTC-1933
Split network type definitions and utilities into separate network.ts file

Issue: BTC-1933
Add reference to staking.go implementation in babylon repo

Issue: BTC-1933
Add helper function to convert key and address to staker info object.

Issue: BTC-1933
Export height and version based parameter lookup functions from babylon ts lib.

Issue: BTC-1933
Add stakingTimelock param to descriptor builder functions

Issue: BTC-1933
@OttoAllmendinger OttoAllmendinger marked this pull request as ready for review March 24, 2025 19:34
@OttoAllmendinger OttoAllmendinger requested a review from a team as a code owner March 24, 2025 19:34
@OttoAllmendinger OttoAllmendinger merged commit 2ba0145 into master Mar 25, 2025
11 checks passed
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