php helper scripts for the blackcoin hub