Skip to content

Conversation

@davidkaplanbitgo
Copy link
Contributor

Add utility for bulk signing BIP322 messages with a focus on Midnight claims. Includes MidnightMessageProvider for retrieving claim addresses and a generic message provider interface.

TICKET: BTC-2425

Add utility for bulk signing BIP322 messages with a focus on Midnight
claims. Includes MidnightMessageProvider for retrieving claim addresses
and a generic message provider interface.

Co-authored-by: llm-git <llm-git@ttll.de>

BTC-2425

TICKET: BTC-2425
@davidkaplanbitgo davidkaplanbitgo marked this pull request as ready for review August 29, 2025 20:11
@davidkaplanbitgo davidkaplanbitgo requested review from a team as code owners August 29, 2025 20:11
@davidkaplanbitgo davidkaplanbitgo merged commit 20cefe5 into master Aug 29, 2025
11 checks passed

export async function bulkSignBip322MidnightMessages(
wallet: IWallet,
message: string,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

message will different for every address of the wallet.
Message = "STAR {claim.allocationAmount} to {destinationAddress} {midnight TnC}"

The second param of this function should be destinationAddress.

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.

5 participants