cryptom2 / currency-precision
Auxiliary module to handle currency precision for crypto currencies
Package info
github.com/torys877/crypto-currency-precision
Type:magento2-module
pkg:composer/cryptom2/currency-precision
Requires
None
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Description
Module manages custom currency precisions and add possibility to change default currency precision.
Installation
To install module you need to add repositories to your composer.json:
"repositories": {
"crypto-currency-precision": {
"type": "git",
"url": "git@github.com:torys877/crypto-currency-precision.git"
}
}
Or add repositories in console:
composer config repositories.crypto-currency-precision git git@github.com:torys877/crypto-currency-precision.git
Install module:
composer require cryptom2/currency-precision:v1.0.0
And run
php bin/magento setup:upgrade
Example Of Usage
To set precision it needs to create config.xml in etc module directory and add next config:
<default>
<system>
<currency>
<ETH>
<precision>5</precision>
</ETH>
</currency>
</system>
</default>`