Skip to content

Commit

Permalink
Fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
223880 committed Sep 23, 2024
1 parent 055546a commit 1732be2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/dlc/script.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import 'package:bitcoin_library/script.dart';
void main() {
final privateKey = Uint8List.fromList([/* your private key bytes */]);
final message = Uint8List.fromList([/* your message bytes */]);
final signature = signMessage(privateKey, message); final script = scriptMessage;
final signature = signMessage(privateKey, message);
final script = scriptMessage;

print('Signature: ${signature.toHexString()}');
}

0 comments on commit 1732be2

Please sign in to comment.