Algorand module ensure smart contracts integration with humhub-modules-xcoin.
Algorand module represents a connector between Xcoin and Blockchain Smart Contract.
This module will not be functional without Xcoin Module, in order to install this latter check its documentation.
Principal calls made through this module :
POST /coin/transferto transfer coinsPOST /coin/balanceto get a wallet balanceGET /api/getAlgoBalanceto get a wallet AlgoBalancePOST /assetto create an assetPOST /walletto create wallet
Two ways are possible :
-
External Installation (recommended for development purpose) :
Clone the module outside your Humhub root directory for example in a folder called
modules:$ cd modules $ git clone https://github.com/Coinsence/humhub-modules-alogrand.gitConfigure
Autoloadpath by adding this small code block in thehumhub_root_direcotry/protected/config/common.phpfile :
return [
'params' => [
'moduleAutoloadPaths' => ['/path/to/modules'],
],
];
-
Internal Installation (recommended for direct usage purpose) :
Just clone the module directly under
humhub_root_direcotry/protected/humhub/modules
=> Either ways you need to enable the module through through Browse online tab in the Administration menu under modules section.
TBD