Skip to content

Mirror the public Nunchuk CKTapCard interface in Flutter #22

@PeteClubSeven

Description

@PeteClubSeven

A follow on from this: #23

NFC functions, these need to be ran within TapProtocolThread:

  • CKTapCard::Send(msg) - Consider allowing the user to provide CBOR data or investigate a way to reconstruct a nlohmann::json (looks complicated)
  • CKTapCard::SendAuth(msg, cvc) - See above
  • CKTapCard::Status() - Consider returning a reconstructed Satscard/Tapsigner instead of serializing the response struct
  • CKTapCard::NFC() - Just need to return the converted string
  • CKTapCard::CertificateCheck(pubKey) - Return either a bool or a reconstructed Satscard/Tapsigner
  • CKTapCard::New(chain_cde, cvc, slot) - Not entirely sure the value of this compared to Satscard::New. Could just return a serialized NewResponse
  • CKTapCard::Sign(digest, cvc, slot, subPath) - Should be simple to implement

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions