---
# System prepended metadata

title: Abstract Card

---

#    Abstract Card

## Goal 
To make adding new ways of interfacing with phonon cards easier. For example, accessing a card over http, nfc...

## High level overview

### Phonon Card Package
- apdu commands
- tlv
- secure channel management

### Interface Card 
pair()
sendPhonons()
receivePhonons()
...


### LocalCard implements Card
uses pcsc library and the PhononCard package to interact   with card

### HTTPCard implement Card
uses HTTP to send commands to a server running LocalCard

### MockCard implement Card
mocks a methods in Card

### Orchestrator/Session
Accepts []Card in constructor
caching

remotePair()
localPair()












