BOMBARCHIVE
Explore

A living reference collection. Written in the wiki, preserved in Git.

The archiveBitcoin

SWAPEROO

SWAPEROO (Simple Wallet Architecture for Payments, Exchanges, Refunds, and Other Operations) was a research architecture for extensible digital wallets described by Neil Daswani, Dan Boneh, Hector Garcia-Molina, Steven Ketchpel and Andreas Paepcke of Stanford University at the Third USENIX Workshop on Electronic Commerce in Boston, 31 August–3 September 1998. It proposed that one wallet could manage different kinds of financial instrument and execute different payment protocols without being confined to a Web browser. It was not a new currency, an adopted wallet standard or evidence of a production payment network. USENIX publication record Contemporary USENIX meeting report

Unlike a wallet designed for one vendor's electronic coins or credit-card procedure, SWAPEROO separated the instrument (a representation of value or an account) from the protocol (the steps for an operation on that instrument). Its designers also insisted on customer initiation: a merchant should not be able to summon the customer's wallet merely by displaying a Web page or sending an email. Daswani et al., 1998, sections 1–3 and 6

A wallet for more than one kind of money

At the time, competing systems such as DigiCash, Millicent and CyberCash had their own notions of instruments and payment messages. SWAPEROO's authors wanted a wallet that could hold, for example, a credit-card instrument and a digital-coin instrument, while permitting protocols and operations to vary independently. They explicitly named refunds, exchanges and withdrawals alongside paying. The same common infrastructure could be reused in customer, merchant and bank software, albeit with different profile and authorisation rules. Original paper, sections 1–4

The proposed wallet divided responsibility between an Instrument Manager, Protocol Manager, User Profile Manager and Wallet Controller. The Controller supplied the application-facing interface and checked permissions; the managers held instrument state and selected transaction protocols. A Communication Manager handled transport, while cryptographic work was supposed to remain inside the protected wallet boundary rather than be entrusted to a replaceable transport component. The architecture explicitly contemplated software agents as clients, not only people using a graphical interface. That is a design capability, not evidence of autonomous agents spending money in deployment. Original paper, sections 2.3–3.4

Two negotiations, and a bootstrapping problem

Once a customer opened a session, the two wallets would first determine which instrument classes they both understood. Price and purchase terms could depend on the instrument selected: the authors gave credit-card versus electronic-cash pricing and warranties as examples. Only then would the wallets discover which protocols they shared for that instrument and choose an operation to execute. The authors envisaged keeping the negotiated state for additional payments in the same session rather than reopening negotiation for every small purchase. Original paper, sections 3.2, 5 and 6

There is a revealing limit to that flexibility. To select a transaction protocol, the wallets themselves need a Protocol Negotiation Protocol (PNP). The designers acknowledged that both peers had to agree on which PNP to use before starting the session; otherwise they would need yet another protocol to negotiate their negotiator, without end. This was a specified assumption, not a solved universal discovery mechanism. Original paper, section 3.2

Who gets to open the wallet?

The authors objected to payment interfaces a merchant could invoke without a customer's deliberate action. In their comparison, Sun's Java Electronic Commerce Framework might start a wallet through a merchant-supplied Java Commerce Message, while Microsoft's browser-integrated wallet used a merchant-ordered list of accepted instrument/protocol pairs. The Stanford authors argued that the former could intrude on customers and the latter could bias protocol choice towards the merchant. These are '''the researchers' technical criticisms of contemporary designs**, not an independent audit of every commercial implementation. Original paper, section 6

Their alternative was client-initiated sessions, with the wallet choosing among mutually supported instruments and protocols. A vendor or bank could still initiate another session in a different relationship, for example when a merchant contacted a bank for authorisation. So **client-driven''' meant the initiator's control over a particular interaction, not that commerce required every actor to remain passive. Original paper, sections 4–5

Security and transaction recovery: proposed versus delivered

SWAPEROO envisaged checking digital signatures on third-party instrument and protocol modules and using capability-based controls to prevent one module from reading another's secrets. The authors explicitly wrote that '''implementing that security model was beyond their work's scope**. The paper also assumes a trustworthy operating-system boundary around core wallet components. Accordingly, its proposed isolation properties must not be described as verified protections in the prototype. Original paper, section 3

The authors discussed split payments using several instruments. If one portion failed, a customer might need another instrument or compensating REFUND operations. They said that suitable transaction-management services would have to provide rollback and recovery through failures. This is a description of requirements and possible procedure, not evidence that an atomic cross-provider payment or refund was successfully demonstrated. Their own implementation was also described as single-threaded. Original paper, sections 5.1 and 5.5

The PalmPilot and vending-machine prototype

The authors reported an implementation in Java on Windows and a more limited C++ implementation on PalmOS. They said they built a PalmPilot wallet and vendor-side application connecting to a vending machine. A **contemporary USENIX workshop report''' independently records Daswani's presentation, the prototype's reported start in September 1997, and a demonstration in which a PalmPilot user could purchase a food item from a particular Stanford vending machine. The reporter also recorded questions about tamper-resistant storage and Daswani's acknowledgement that securing PalmPilot wallets was a problem. Original paper, introduction and conclusion Workshop report, 1998, SWAPEROO presentation

That evidence supports working prototype functionality as reported by the developers and observed in a conference account. It does not establish commercial rollout, a public interoperability test among multiple independent financial providers, or final settlement through ordinary banking. Dan Boneh's Stanford publication index separately records a 1999 paper, Experimenting with electronic commerce on the PalmPilot, as a sequel worth examining on its own terms rather than treating it as part of the 1998 evidence. Stanford author publication record, 1999

1999: PDA-PayWord gives the vending machine a payment instrument

The subsequent Financial Cryptography '99 paper, Experimenting with Electronic Commerce on the PalmPilot, and Neil Daswani's later doctoral dissertation document an actual protocol used for this handheld experiment: PDA-PayWord. It adapted PayWord into a prepaid, vendor-specific SHA-1 hash chain with a bank-signed certificate, five-cent denominations and locally verified spending steps. The authors placed the bank and vendor components on the same machine for the experiment, so a documented vending-machine purchase must not be read as independent banking settlement. Stanford author record, 1999 paper Daswani's later dissertation, chapter 7

The machine was the Prancing Pony on the fourth floor of Stanford's Gates Computer Science Building. The PalmPilot connected by a serial cradle to vendor software, which commanded the machine through a PC proxy. This is a concrete instance of SWAPEROO's wallet interface and payment selection, not evidence that the full proposed security isolation or cross-provider interoperability had been delivered. Dissertation, §§7.3–7.4

Relation to earlier interoperability experiments

SWAPEROO was a successor in design discussion to Stanford's UPAI (Universal Payment Application Interface), which had represented account information and transfer behaviour together in its AccountHandle object. The 1998 authors proposed separating those concerns into instruments and protocols. They explicitly identified JEPI's Universal Payment Preamble as a possible protocol-negotiation component, provided the wallet's communication layer supported the required HTTP extensions. They also described how NetBill might fit into the framework. Such compatibility discussions are '''proposals within the authors' paper''', not proof that UPAI, JEPI, NetBill and SWAPEROO operated as a joined system. Original paper, section 6

From the archivist's desk

The puzzle here was not how to invent another form of money. Stanford's team looked at a crowded payment landscape and asked who controlled the interface between all those forms. Their answer separated money from protocol, moved initiation towards the customer and left space for devices beyond the browser. What I find particularly useful is that their paper also tells us where the abstraction stopped: the negotiation protocol needed common ground beforehand, plugin isolation was unfinished, and a vending-machine prototype was not the same as a payment ecosystem. Those boundaries are part of the invention's history.

Sources and evidence

Open research

Open question
Locate and preserve a dated copy of the Java and C++ wallet API/code distribution advertised by the 1998 authors; verify which modules, security controls and protocols were actually implemented.
Open question
Recover the original 1999 PalmPilot paper in a directly inspectable archival format and compare it with the protocol account in Daswani's later dissertation; seek independent bank settlement or transaction logs for the Pony prototype.
Open question
Seek independent test records or participant accounts for cross-provider SWAPEROO payments; do not turn the authors' interoperability design into an unverified deployment claim.