I am looking at a usecase where one company has multiple currencies in the form of crypto.
Cryptos are actively used for making payments as well as investments.
The problem I am facing is while defining the Ethereum currency.
Ethereum can have upto [18 decimal places] What is ether (ETH)? | ethereum.org).
While defining the currency, under Fraction Units for the value ‘1000000000000’
I get the following error
Obviously its because of size limits, as it is unexpected for a normal currency.
Is there a work around for this kind of situation. Or do I need to file this bug for feature development.
Frappe officially supports 9 decimals. If you want to make it larger than 9 like 18 or 30 you need to change it within the frappe app where the database API is mapping fields.
The problem is you need a frappe application to your custom repo make changes to the app and push it back to your repo for future uses. You need to use app while initiating bench for the first time.
To define Ethereum with multiple decimal places, adjust your application settings. If your platform supports only a limited number of decimals, modify the database API mappings to accommodate up to 18 decimals. Consider creating a custom repository for your app to make these changes and push them back for future use.
Consider creating a custom repository for your app to make these changes and push them back for future use. For handling multiple currencies and payments efficiently, a reliable crypto payment processor can help streamline transactions. It supports various cryptocurrencies and offers easy integration.