Abstract
We revisit the 1997 PayWord credit-based micropayment scheme from Rivest and Shamir. We observe that smart contracts can be used to augment this system, apply to ‘claim or refund’ paradigm of cryptocurrencies to remove the counter-party risk inherent in PayWorld, and use a smart contract to ‘staple’ real value (in Ether) to payments in the system. Our implementation is more concise than any Ethereum payment channel we are aware of and the offline payments are very compact values (264 bits). It only uses hash functions and not digital signatures. EthWord becomes cheaper than standard Ethereum transfers when more than 16 payments between the same participants are made and appears to maintain its advantage for up to 1000+ transactions, at which point signature-based payments become cheapest. The main drawback of EthWord is the moderate gas price of using the system—despite dropping signatures, it is still priced out of the micropayments use-case. Like any payment channel, requires only two on-blockchain function calls to open and close the channel, while allowing the rest to be made off-blockchain.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
The signature is only for non-repudiation, not for future authentication.
- 2.
Source code: https://github.com/MadibaGroup/2017-EthWords.
- 3.
- 4.
- 5.
For example, a $50 Apple Store prepaid card might sell for $40 or using a preloaded Starbucks app might result in rewards that can be redeemed for future purchases.
References
Anderson, R., Bergadano, F., Crispo, B., Lee, J.-H., Manifavas, C., Needham, R.: A new family of authentication protocols. SIGOPS Oper. Syst. Rev. 32(4), 9–20 (1998)
Bentov, I., Kumaresan, R.: How to use bitcoin to design fair protocols. In: CRYPTO (2014)
Chaum, D.: Blind signatures for untraceable payments. In: CRYPTO (1982)
Decker, C., Wattenhofer, R.: A fast and scalable payment network with bitcoin duplex micropayment channels. In: SSS (2015)
Di Ferrante, M.: Ethereum payment channel in 50 lines of code. Medium (2017)
Dziembowski, S., Eckey, L., Faust, S., Malinowski, D.: Perun: virtual payment channels over cryptographic currencies. IACR ePrint (2017)
Green, M., Miers, I.: Bolt: anonymous payment channels for decentralized currencies. In CCS (2017)
Heilman, E., Alshenibr, L., Baldimtsi, F., Scafuro, A., Goldberg, S.: Tumblebit: an untrusted bitcoin-compatible anonymous payment hub. In: NDSS (2017)
Jarecki, S., Odlyzko, A.: An efficient micropayment system based on probabilistic polling. In: Financial Cryptography (1997)
Khalil, R., Gervais, A.: Revive: rebalancing off-blockchain payment networks. In: CCS (2017)
Lamport, L.: Password authentication with insecure communication. CACM 24(11), 770–772 (1981)
Malavolta, G., Moreno-Sanchez, P., Kate, A., Maffei, M., Ravi, S.: Concurrency and privacy with payment-channel networks. In: CCS (2017)
McCorry, P., Möser, M., Shahandasti, S.F., Hao, F.: Towards bitcoin payment networks. In: Information Security and Privacy (2016)
Miers, I., Garman, C., Green, M., Rubin, A.D.: Zerocoin: anonymous distributed e-cash from bitcoin. In: IEEE Symposium on Security and Privacy (2013)
Miller, A., Bentov, I., Kumaresan, R., McCorry, P.: Sprites: payment channels that go faster than lightning. CoRR, abs/1702.05812 (2017)
Nakamoto, S.: Bitcoin: a peer-to-peer electionic cash system. Unpublished (2008)
Narayanan, A., Bonneau, J., Felten, E.W., Miller, A., Goldfeder, S.: Bitcoin and Cryptocurrency Technologies. Princeton (2016)
Narayanan, A., Clark, J.: Bitcoin’s academic pedigree. CACM 60(12), 770–772 (2017)
Pass, R., Shelat, A.: Micropayments for decentralized currencies. In: CCS (2015)
Poon, J., Dryja, T.: The bitcoin lightning network: scalable off-chain instant payments (2015)
Rivest, R.L.: Electronic lottery tickets as micropayments. In: FC (1997)
Rivest, R.L., Shamir, A.: PayWord and MicroMint: two simple micropayment schemes. In: Security Protocols (1996)
Roos, S., Moreno-Sanchez, P., Kate, A., Goldberg, I.: Settling payments fast and private: efficient decentralized routing for path-based transactions. In: NDSS (2018)
Sander, T., Ta-Shma, A.: Auditable, anonymous electronic cash. In: CRYPTO (1999)
Sasson, E.B., et al.: decentralized anonymous payments from bitcoin. In: IEEE Symposium on Security and Privacy (2014)
Wan, Z., Deng, R.H., Lee, D., et al.: MicroBTC: efficient, flexible and fair micropayment for bitcoin using hash chains. J. Comput. Sci. Technol. 34, 403–415 (2019). https://doi.org/10.1007/s11390-019-1916-x
Wheeler, D.: Transactions using bets. In: Security Protocols (1997)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 International Financial Cryptography Association
About this paper
Cite this paper
Elsheikh, M., Clark, J., Youssef, A.M. (2020). Short Paper: Deploying PayWord on Ethereum. In: Bracciali, A., Clark, J., Pintore, F., Rønne, P., Sala, M. (eds) Financial Cryptography and Data Security. FC 2019. Lecture Notes in Computer Science(), vol 11599. Springer, Cham. https://doi.org/10.1007/978-3-030-43725-1_7
Download citation
DOI: https://doi.org/10.1007/978-3-030-43725-1_7
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-43724-4
Online ISBN: 978-3-030-43725-1
eBook Packages: Computer ScienceComputer Science (R0)