Skip to main content

Short Paper: Deploying PayWord on Ethereum

  • Conference paper
  • First Online:
Financial Cryptography and Data Security (FC 2019)

Part of the book series: Lecture Notes in Computer Science ((LNSC,volume 11599))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    The signature is only for non-repudiation, not for future authentication.

  2. 2.

    Source code: https://github.com/MadibaGroup/2017-EthWords.

  3. 3.

    https://ethgasstation.info/.

  4. 4.

    https://coinmarketcap.com/.

  5. 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

  1. 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)

    Article  Google Scholar 

  2. Bentov, I., Kumaresan, R.: How to use bitcoin to design fair protocols. In: CRYPTO (2014)

    Google Scholar 

  3. Chaum, D.: Blind signatures for untraceable payments. In: CRYPTO (1982)

    Google Scholar 

  4. Decker, C., Wattenhofer, R.: A fast and scalable payment network with bitcoin duplex micropayment channels. In: SSS (2015)

    Google Scholar 

  5. Di Ferrante, M.: Ethereum payment channel in 50 lines of code. Medium (2017)

    Google Scholar 

  6. Dziembowski, S., Eckey, L., Faust, S., Malinowski, D.: Perun: virtual payment channels over cryptographic currencies. IACR ePrint (2017)

    Google Scholar 

  7. Green, M., Miers, I.: Bolt: anonymous payment channels for decentralized currencies. In CCS (2017)

    Google Scholar 

  8. Heilman, E., Alshenibr, L., Baldimtsi, F., Scafuro, A., Goldberg, S.: Tumblebit: an untrusted bitcoin-compatible anonymous payment hub. In: NDSS (2017)

    Google Scholar 

  9. Jarecki, S., Odlyzko, A.: An efficient micropayment system based on probabilistic polling. In: Financial Cryptography (1997)

    Google Scholar 

  10. Khalil, R., Gervais, A.: Revive: rebalancing off-blockchain payment networks. In: CCS (2017)

    Google Scholar 

  11. Lamport, L.: Password authentication with insecure communication. CACM 24(11), 770–772 (1981)

    Article  Google Scholar 

  12. Malavolta, G., Moreno-Sanchez, P., Kate, A., Maffei, M., Ravi, S.: Concurrency and privacy with payment-channel networks. In: CCS (2017)

    Google Scholar 

  13. McCorry, P., Möser, M., Shahandasti, S.F., Hao, F.: Towards bitcoin payment networks. In: Information Security and Privacy (2016)

    Google Scholar 

  14. Miers, I., Garman, C., Green, M., Rubin, A.D.: Zerocoin: anonymous distributed e-cash from bitcoin. In: IEEE Symposium on Security and Privacy (2013)

    Google Scholar 

  15. Miller, A., Bentov, I., Kumaresan, R., McCorry, P.: Sprites: payment channels that go faster than lightning. CoRR, abs/1702.05812 (2017)

    Google Scholar 

  16. Nakamoto, S.: Bitcoin: a peer-to-peer electionic cash system. Unpublished (2008)

    Google Scholar 

  17. Narayanan, A., Bonneau, J., Felten, E.W., Miller, A., Goldfeder, S.: Bitcoin and Cryptocurrency Technologies. Princeton (2016)

    Google Scholar 

  18. Narayanan, A., Clark, J.: Bitcoin’s academic pedigree. CACM 60(12), 770–772 (2017)

    Article  Google Scholar 

  19. Pass, R., Shelat, A.: Micropayments for decentralized currencies. In: CCS (2015)

    Google Scholar 

  20. Poon, J., Dryja, T.: The bitcoin lightning network: scalable off-chain instant payments (2015)

    Google Scholar 

  21. Rivest, R.L.: Electronic lottery tickets as micropayments. In: FC (1997)

    Google Scholar 

  22. Rivest, R.L., Shamir, A.: PayWord and MicroMint: two simple micropayment schemes. In: Security Protocols (1996)

    Google Scholar 

  23. Roos, S., Moreno-Sanchez, P., Kate, A., Goldberg, I.: Settling payments fast and private: efficient decentralized routing for path-based transactions. In: NDSS (2018)

    Google Scholar 

  24. Sander, T., Ta-Shma, A.: Auditable, anonymous electronic cash. In: CRYPTO (1999)

    Google Scholar 

  25. Sasson, E.B., et al.: decentralized anonymous payments from bitcoin. In: IEEE Symposium on Security and Privacy (2014)

    Google Scholar 

  26. 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

    Article  Google Scholar 

  27. Wheeler, D.: Transactions using bets. In: Security Protocols (1997)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jeremy Clark .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 International Financial Cryptography Association

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics