Chia
Module designed for Chia™ and Drupal from version 9 onwards.
- The main module registers chia and registers main XCH config entities and services (i.e. RPC @see Chia™ RPC service documentation).
- Submodules will be dedicated to each feature we are interested with
Bunch of Chia™ modules
Features:
- Wallet management (requires access to your wallet RPC)
- Node management (requires access to your node RPC)
- Status notification changes (uptime/downtime), requires cron;
- Commerce features
As manipulating the wallet/nodes RPC API requires your private keys, I recommend using fresh privates keys if you plan to use this module.
Drupal commerce
Shops using the chia_commerce module will be able to sell their products for $xch.
Features :
- $xch exchange rate : you set your prices in your local currency (the majority of FIAT currencies are supported), the conversion to $xch is done regularly in drupal cron
- Transaction expiry: currently, $xch price are more volatile than those of your local currency, so you manage the end of life of transactions (customer has X minutes to validate the transaction),
Installation
Requirements
- Drupal 9+
- Commerce if you install
chia_commerce - commerce_payment
- Commerce exchanger
- Recommended : Commerce currency resolver
Install from composer
composer require drupal/chia
Roadmap:
- Documentation
- Refund management (not yet implemented in chia_commerce)
- Unit tests
- Wallet login
- NFT management in the core chia module
- NFT minting (Only for offer files, invoices related to chia_commerce module)
- Offerfiles payment/invoice in commerce
Informations:
Important note 1: This module is currently not ready for production use, feel free to test commerce feature
Important note 2: All assets are Chia Inc. properties
Important note 3: this module is not affiliated with Chia Inc. in any way.
Goal is to bring chia blockchain more mainstream, feel free to get in touch and participate in development of this module. Dedicated to Drupal and Chia™.
I like coffee : xch1uxd8y485yrv7tvuv03ru36ltx7t43lpsxjr2x5zua5zw5mkyfu3qfk4peg :-)
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Release date | |
|---|---|---|---|---|
| 1.0.0-alpha1 | Pre-release | May 2, 2023 | ||
| 1.0.x-dev | Dev | May 2, 2023 |