Extension allows adding any crypto currency and blockchain data to Magento 2.
- Add as many crypto currencies as you want.
- Add as many tokens (ERC20) as you want (including stablecoint USDT/USDC etc).
- Customize precision (decimal places), output format, symbol etc.
- Preloaded with some top cryptocurencies like Ethereum (ETH), Polygon (Matic), USDT, USDC.
Install module:
composer require cryptom2/magento-crypto-currency:v1.0.0
And run
php bin/magento setup:upgrade
- Go to
Stores->Crypto->Custom Currencies
- Click
Add New Currency
- Fill Data:
Is Cryptocurrency?
- set if it is cryptoIs Token
- set if it is token (yes
- it will use ERC20 methods to send payment,no
- it will use just blockchain transactions)Currency Contract ABI
- input ABI of token contract if it is ERC20
- Go to
Stores->Crypto->Blockchain Networks
- Click
Add New Blockchain
- Fill Data:
Chain ID
- chain id of blockchain network, mandatoryBlockchain Code
- custom blockchain code (can be any)Blockchain Name
Blockchain Explorer Url
- Url of explorer where admin and customers can be find transaction detailsIs Check in Block Explorer?
- set if it is necessary to check transaction status asynchronously by cron in explorer (more reliably, then realtime checking after payment)Blockchain Explorer API Url
- api url in explorerBlockchain Explorer API Key
- your explorer api key
- Go to
Stores->Crypto->Currency Addresses
- Click
Add New Currency Address
- Fill Data:
Blockchain Network
- choose blockchain from previous step, in which cryptocurrency existsCurrency
- choose currency from previous stepMerchant Address In Blockchain
- fill with YOUR wallet address where you are going to receive paymentsCurrency Token Address In Blockchain
- fill with crypto currency ERC20 address (if it is token, or leave empty if it is native currency)
Extension is licensed under the MIT License - see the LICENSE file for details