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.
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.
Original language | English |
---|---|
Title of host publication | Applied Cryptography and Network Security: 20th International Conference, ACNS 2022, Rome, Italy, June 20–23, 2022, Proceedings |
Editors | Giuseppe Ateniese, Daniele Venturi |
Publisher | Springer, Cham |
Pages | 707-726 |
Number of pages | 20 |
ISBN (Electronic) | 978-3-031-09234-3 |
ISBN (Print) | 978-3-031-09233-6 |
DOIs | |
Publication status | Published - 18 Jun 2022 |
Event | The 20th International Conference on Applied Cryptography and Network Security - Rome, Italy Duration: 20 Jun 2022 → 23 Jun 2022 Conference number: 20 https://acns22.di.uniroma1.it/ |
Publication series
Name | Lecture Notes in Computer Science |
---|---|
Publisher | Springer Cham |
Volume | 13269 |
ISSN (Print) | 0302-9743 |
ISSN (Electronic) | 1611-3349 |
Conference
Conference | The 20th International Conference on Applied Cryptography and Network Security |
---|---|
Abbreviated title | ACNS 2022 |
Country/Territory | Italy |
City | Rome |
Period | 20/06/22 → 23/06/22 |
Internet address |