Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for CKTap protocol #292

Open
notmandatory opened this issue Jan 10, 2023 · 3 comments
Open

Add support for CKTap protocol #292

notmandatory opened this issue Jan 10, 2023 · 3 comments
Labels
discussion Issue requires some discussion first enhancement New feature or request platform: android platform: iOS

Comments

@notmandatory
Copy link
Member

Describe the enhancement

Add CKTap protocol support for BDK based wallets used on Android or iOS devices.

Use case

Supporting the CKTap protocol would allow a BDK based mobile wallet to:

  1. Setup, view balance and transactions, and sweep funds from a SATSCARD card via an NFC tap.
  2. Setup, view balance and transactions, and sign or co-sign transactions using a TAPSIGNER card via an NFC tap.

Additional context

Some functionality may make sense to move to the BDK rust library or a new rust crate, such as the CBOR message structures.

This enhancement was suggested by @nvk.

@notmandatory notmandatory added enhancement New feature or request discussion Issue requires some discussion first platform: android platform: iOS labels Jan 10, 2023
@notmandatory
Copy link
Member Author

I found this rust lib for desktop testing: https://crates.io/crates/pcsc
and this lib for cbor encoding: https://crates.io/crates/ciborium

@notmandatory
Copy link
Member Author

Docs for interacting with pcsc cards on an iOS device using the "CoreNFC" framework: https://developer.apple.com/documentation/corenfc

@notmandatory
Copy link
Member Author

I have some preliminary work for this issue here: https://github.com/notmandatory/rust-cktap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Issue requires some discussion first enhancement New feature or request platform: android platform: iOS
Projects
Status: No status
Development

No branches or pull requests

1 participant