Skip to content

Conversation

Psycho-Pirate
Copy link
Contributor

@Psycho-Pirate Psycho-Pirate commented Oct 3, 2023

This pull request contains the implementation I made for my summer of bitcoin project "Integrating LDK with Lnprototest".
This includes:

  • keysmanager implementation for using custom private key and channel secrets which can be passed as command line arguments.
  • Various implementations of private methods and structs required for implementing keysmanager
  • openchannel_without_peer_addr for opening a channel with a peer whose already connected(required for lnprototest integration)

Example usage:
cargo run polaruser:[email protected]:18443 ./ 8889 regtest 0000000000000000000000000000000000000000000000000000000000000001 0000000000000000000000000000000000000000000000000000000000000010/0000000000000000000000000000000000000000000000000000000000000011/0000000000000000000000000000000000000000000000000000000000000012/0000000000000000000000000000000000000000000000000000000000000013/0000000000000000000000000000000000000000000000000000000000000014/FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

Here:
private key = 0000000000000000000000000000000000000000000000000000000000000001
funding_key = 0000000000000000000000000000000000000000000000000000000000000010
revocation_base_key = 0000000000000000000000000000000000000000000000000000000000000011
payment_key = 0000000000000000000000000000000000000000000000000000000000000012
delayed_payment_base_key = 0000000000000000000000000000000000000000000000000000000000000013
htlc_base_key = 0000000000000000000000000000000000000000000000000000000000000014
commitment_seed = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

@Psycho-Pirate Psycho-Pirate deleted the sob2 branch March 25, 2025 16:32
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.

1 participant