| 1 | import 'dart:async'; |
| 2 | import 'dart:typed_data'; |
| 3 | |
| 4 | import 'package:cw_core/hardware/hardware_account_data.dart'; |
| 5 | |
| 6 | abstract class HardwareWalletService { |
| 7 | Future<List<HardwareAccountData>> getAvailableAccounts({int index = 0, int limit = 5}) => |
| 8 | throw UnimplementedError(); |
| 9 | |
| 10 | Future<Uint8List> signTransaction({required String transaction}) => throw UnimplementedError(); |
| 11 | |
| 12 | Future<Uint8List> signMessage({required Uint8List message, String? derivationPath}) => |
| 13 | throw UnimplementedError(); |
| 14 | } |