From 5acd2107288d803c26b7c364be04ffcf29161afd Mon Sep 17 00:00:00 2001 From: 223880 Date: Mon, 11 Nov 2024 06:13:23 -0300 Subject: [PATCH] Fix final script --- lib/dlc/script.dart | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/dlc/script.dart b/lib/dlc/script.dart index 7e08df3..af999b8 100644 --- a/lib/dlc/script.dart +++ b/lib/dlc/script.dart @@ -1,10 +1,16 @@ -import 'package:bitcoin_library/script.dart'; + +import 'ECDSA.dart'; void main(dynamic scriptMessage) { final privateKey = Uint8List.fromList([/* your private key bytes */]); final message = Uint8List.fromList([/* your message bytes */]); final signature = signMessage(privateKey, message); + // ignore: unused_local_variable final script = scriptMessage; print('Signature: ${signature.toHexString()}'); } + +class Uint8List { + static fromList(List list) {} +}