Coinkite Tap Protocol Flutter
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.
Current Status
The project is currently under development. It is being developed primarily to allow Satscard support in the Breez app. Once that bounty is complete this plugin will be updated with full support for the Satscard and Tapsigner.
Platform Support
xAndroidxiOS (macOS only)
Feature Support
xBuild on WindowsxBuild on macOSxBuild on LinuxxRead SatscardsxRead TapsignersxPerform every Satscard-specific NFC operation
Todo
Support macOSSupport LinuxSupport WebSupport WindowsPerforming every CKTapCard NFC operationPerforming every Tapsigner-specific NFC operationExposing the tap-protocol utility functionsExposing the alternative Tapsigner HWI APIAllow concurrent native operations (currently errors out to avoid crashing)
Getting Started
You must have the tools required for tap-protocol and libsecp256k1 to build, please follow these instructions:
- All platforms
- Make sure the Android SDK is installed and $ANDROID_HOME points to a valid location with the command line tools installed.
- macOS 13 or newer
brew install cmake
- macOS 12 or older
brew install cmake coreutils
Project Stucture
This template uses the following structure:
-
lib: Contains the Dart code that defines the API of the plugin, and which calls into the native code usingdart:ffi. -
src/cpp: Contains the native source code, and a CMakeLists.txt file for building that source code into a dynamic library. -
platform folders (
android&ios): Contains the build files for building and bundling the native code library with the platform application.