cktap_protocol 0.1.0 cktap_protocol: ^0.1.0 copied to clipboard
A flutter library implementing the Coinkite tap protocol for use with the Satscard and Tapsigner. The plugin is effectively a wrapper around Nunchuk's tap-protocol library.
import 'package:cktap_protocol_example/bloc/card_bloc.dart';
import 'package:cktap_protocol_example/ui/home_screen.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
void main() {
runApp(MyApp());
}
class MyApp extends MaterialApp {
MyApp({super.key})
: super(
home: BlocProvider(
create: (_) => CardBloc(),
child: const HomeScreen(),
),
);
}