Abstract
An empirical case study to evaluate state channels as a scaling solution for cryptocurrencies demonstrated that providing an application’s full state during the dispute process for a state channel is financially costly (i.e. $0.24 to $8.83 for a battleship game) which can hamper their real-world use. To overcome this issue, we present State Assertion Channels, the first state channel to guarantee an honest party is always refunded the cost if it becomes necessary to send an application’s full state during the dispute process. Furthermore it ensures an honest party will pay an approximate fixed cost to continue an application’s execution via the dispute process. We provide a proof of concept implementation in Ethereum which demonstrates it costs approximately $0.02 to submit evidence regardless of the smart contract’s application.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
We highlight a subtle difference between the initial state (\(\bot \), balance1, balance2) and the terminal state (balance1, balance2).
- 2.
Our PoC is an optimised for Solidity https://pastebin.com/UBVvZ0FU.
References
Al-Bassam, M., Sonnino, A., Bano, S., Hrycyszyn, D., Danezis, G.: Chainspace: a sharded smart contracts platform. arXiv preprint arXiv:1708.03778 (2017)
Bano, S., et al.: Consensus in the age of blockchains. arXiv preprint arXiv:1711.03936 (2017)
Close, T., Stewart, A.: Force-move games (2018). https://magmo.com/force-move-games.pdf
Croman, K., et al.: On scaling decentralized blockchains. In: Clark, J., Meiklejohn, S., Ryan, P.Y.A., Wallach, D., Brenner, M., Rohloff, K. (eds.) FC 2016. LNCS, vol. 9604, pp. 106–125. Springer, Heidelberg (2016). https://doi.org/10.1007/978-3-662-53357-4_8
Decker, C., Wattenhofer, R.: A fast and scalable payment network with Bitcoin duplex micropayment channels. In: Pelc, A., Schwarzmann, A.A. (eds.) SSS 2015. LNCS, vol. 9212, pp. 3–18. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-21741-3_1
Dziembowski, S., Faust, S., Hostáková, K.: General state channel networks. Cryptology ePrint Archive, Report 2018/320 (2018). https://eprint.iacr.org/2018/320
Eigenmann, D.: Optimistic contracts. https://medium.com/@decanus/optimistic-contracts-fb75efa7ca84. Accessed 10 Jan 2019
Eyal, I., Gencer, A.E., Sirer, E.G., Van Renesse, R.: Bitcoin-NG: a scalable blockchain protocol. In: NSDI, pp. 45–59 (2016)
Gervais, A., Karame, G.O., Wüst, K., Glykantzis, V., Ritzdorf, H., Capkun, S.: On the security and performance of proof of work blockchains. In: Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security, pp. 3–16. ACM (2016)
Horne, L., Coleman, J., Xuanji, L.: Counterfactual: generalized state channels (2018). https://l4.ventures/papers/statechannels.pdf
Khalil, R., Gervais, A., Felley, G.: NOCUST-A non-custodial 2 nd-layer financial intermediary. Technical report, Cryptology ePrint Archive, Report 2018/642. https://eprint.iacr.org/2018/642 (2018)
Kokoris-Kogias, E., Jovanovic, P., Gasser, L., Gailly, N., Syta, E., Ford, B.: OmniLedger: a secure, scale-out, decentralized ledger via sharding. In: 2018 IEEE Symposium on Security and Privacy (SP), pp. 583–598. IEEE (2018)
Luu, L., Narayanan, V., Zheng, C., Baweja, K., Gilbert, S., Saxena, P.: A secure sharding protocol for open blockchains. In: Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security, pp. 17–30. ACM (2016)
McCorry, P., Bakshi, S., Bentov, I., Miller, A., Meiklejohn, S.: Pisa: arbitration outsourcing for state channels. IACR Cryptology ePrint Archive (2018)
McCorry, P., Buckland, C., Bakshi, S., Wüst, K., Miller, A.: You sank my battleship! a case study to evaluate state channels as a scaling solution for cryptocurrencies
Miller, A., Bentov, I., Kumaresan, R., Bakshi, S., McCorry, P.: Sprites: payment channels that go faster than lightning. CoRR abs/1702.05812 (2017)
Poon, J., Buterin, V.: Plasma: scalable autonomous smart contracts. White paper (2017)
Poon, J., Dryja, T.: The bitcoin lightning network: scalable off-chain instant payments. Draft version 0.5, 9:14 (2016)
Sompolinsky, Y., Lewenberg, Y., Zohar, A.: Spectre: a fast and scalable cryptocurrency protocol. IACR Cryptology ePrint Archive, 2016:1159 (2016)
ScaleSphere Foundation Ltd. (“Foundation”): Celer network: bring internet scale to every blockchain. Technical report. https://www.celer.network/doc/CelerNetwork-Whitepaper.pdf. Accessed 10 Jan 2019
Acknowledgements
Chris Buckland and Patrick McCorry are supported by an Ethereum Foundation scaling grant, Ethereum Community Fund grant and a Research Institute grant.
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
Buckland, C., McCorry, P. (2020). Two-Party State Channels with Assertions. 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_1
Download citation
DOI: https://doi.org/10.1007/978-3-030-43725-1_1
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)