cryptom2/magento-crypto-currency
最新稳定版本:1.0.0
Composer 安装命令:
composer require cryptom2/magento-crypto-currency
包简介
Crypto Currency for Magento 2
README 文档
README
Extension allows adding any crypto currency and blockchain data to Magento 2.
Table of contents
Features
- 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.
Installation
Install module:
composer require cryptom2/magento-crypto-currency:v1.0.0
And run
php bin/magento setup:upgrade
Configuration
Add New Currency
- 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
Add Blockchain Network
- 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 NameBlockchain 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
Add Crypto Currency Addresses
- 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)
Author
Ihor Oleksiienko
License
Extension is licensed under the MIT License - see the LICENSE file for details
统计信息
- 总下载量: 20
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-02-05


