Abstract
Custom currencies (ERC-20) on Ethereum are wildly popular, but they are second class to the primary currency Ether. Custom currencies are more complex and more expensive to handle than the primary currency as their accounting is not natively performed by the underlying ledger, but instead in user-defined contract code. Furthermore, and quite importantly, transaction fees can only be paid in Ether. In this paper, we focus on being able to pay transaction fees in custom currencies. We achieve this by way of a mechanism permitting short term liabilities to pay transaction fees in conjunction with offers of custom currencies to compensate for those liabilities. This enables block producers to accept custom currencies in exchange for settling liabilities of transactions that they process.
We present formal ledger rules to handle liabilities together with the concept of babel fees to pay transaction fees in custom currencies. We also discuss how clients can determine what fees they have to pay, and we present a solution to the knapsack problem variant that block producers have to solve in the presence of babel fees to optimise their profits.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
- 2.
The UTXO\(_{\text {ma}}\) ledger model is in-production use in the Cardano blockchain.
- 3.
Buyers in this market are the block issuers of the blockchain.
- 4.
In practice this can be the block-issuing rounds.
References
Weiss, Y., Tirosh, D., Forshtat, A.: EIP-1613: Gas stations network (2018). https://eips.ethereum.org/EIPS/eip-1613
Algorand Team: Algorand Developer Documentation (2021). https://developer.algorand.org/docs/
Andrews, J., Ciampi, M., Zikas, V.: Etherless ethereum tokens: simulating native tokens in ethereum. Cryptology ePrint Archive, Report 2021/766 (2021). https://ia.cr/2021/766
Black, M., Liu, T., Cai, T.: Atomic loans: cryptocurrency debt instruments (2019)
Chakravarty, M.M.T., et al.: Native custom tokens in the extended UTXO model. In: Margaria, T., Steffen, B. (eds.) ISoLA 2020. LNCS, vol. 12478, pp. 89–111. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-61467-6_7
Chakravarty, M.M.T., et al.: UTXO\(_{\rm ma}\): UTXO with multi-asset support. In: Margaria, T., Steffen, B. (eds.) ISoLA 2020, Part III. LNCS, vol. 12478, pp. 112–130. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-61467-6_8
Chakravarty, M.M.T., Karayannidis, N., Kiayias, A., Peyton Jones, M., Vinogradova, P.: Babel fees via limited liabilities. arXiv:2106.01161 (2021)
Chiu, M., Kalabić, U.: Debt representation in UTXO blockchains. In: Financial Cryptography and Data Security 2021 (2021)
Cormen, T.H., Leiserson, C.E., Rivest, R.L., Stein, C.: Introduction to Algorithms, 3rd edn. The MIT Press, Cambridge (2009)
Garay, J., Kiayias, A., Leonardos, N.: The bitcoin backbone protocol: analysis and applications. In: Oswald, E., Fischlin, M. (eds.) EUROCRYPT 2015. LNCS, vol. 9057, pp. 281–310. Springer, Heidelberg (2015). https://doi.org/10.1007/978-3-662-46803-6_10
Herlihy, M.: Atomic cross-chain swaps (2018)
IDEX Team: IDEX documentation (2021). https://docs.idex.io/
Kellerer, H., Pferschy, U., Pisinger, D.: Knapsack Problems. Springer, Heidelberg (2004). https://doi.org/10.1007/978-3-540-24777-7
Komodo Team: AtomicDEX documentation (2021). https://developers.komodoplatform.com/basic-docs/atomicdex/
Kyber Team: Kyber: An On-Chain Liquidity Protocol (2019). https://files.kyber.network/Kyber_Protocol_22_April_v0.1.pdf
Prestwich, J.: Cross-chain auctions via bitcoin double spends (2018). https://medium.com/summa-technology/summa-auction-bitcoin-technical-7344096498f2
Project, B.: Developer guides (2020). https://developer.bitcoin.org/devguide/
Stellar Development Foundation: Stellar Development Guides (2020). https://developers.stellar.org/docs/
SWAPDEX Team: SWAPDEX: Decentralized Finance is the Future (2020). https://swapdex.net/whitepaper/SWAPDEX.pdf
Team, M.: The maker protocol: MakerDAO’s multi-collateral Dai (MCD) system. https://makerdao.com/en/whitepaper/. Accessed 26 May 2021
Team, U.: Uniswap whitepaper (2019). https://hackmd.io/@HaydenAdams/HJ9jLsfTz#%F0%9F%A6%84-Uniswap-Whitepaper
Waves.Exchange Team: Waves. Exchange Documentation (2021). https://docs.waves.exchange/en/waves-exchange/
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 Springer Nature Switzerland AG
About this paper
Cite this paper
Chakravarty, M.M.T., Karayannidis, N., Kiayias, A., Peyton Jones, M., Vinogradova, P. (2022). Babel Fees via Limited Liabilities. In: Ateniese, G., Venturi, D. (eds) Applied Cryptography and Network Security. ACNS 2022. Lecture Notes in Computer Science, vol 13269. Springer, Cham. https://doi.org/10.1007/978-3-031-09234-3_35
Download citation
DOI: https://doi.org/10.1007/978-3-031-09234-3_35
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-09233-6
Online ISBN: 978-3-031-09234-3
eBook Packages: Computer ScienceComputer Science (R0)