Download the PHP package wpbc/metahash-rewards without Composer

On this page you can find all versions of the php package wpbc/metahash-rewards. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package metahash-rewards

Metahash Rewards

Metahash Rewards is a automated PHP script to pay bonus rewards to delegators from MetaHash nodes.

Requirements

Installation

  1. Open your terminal and change the current working directory to the location where you want the cloned directory to be made.

  2. Clone repository by typing the following in your terminal:

  3. Run the following command in your terminal.

  4. Open the index.php and enter your node details in the $nodes array.

  5. To skip payments on certain addresses, add the address to the $skipAddresses array.

  6. Add any addresses that get paid different percentages from default percentage to the $superAddresses array.

  7. To automatically run the reward script. Firstly, run the following command in your terminal to open crontab.

  8. Set the PHP script to run at 0:02 am everyday by adding the following line to you crontab and pressing enter.

Debug Mode

Debug mode is initially enabled. Whilst in debug, the script will return an array of effective delegations, grouped by address. please note that payments will not be sent.

To disable debug mode, open index.php and set $node->debug to "false".

License

This package is released under the MIT license.


All versions of metahash-rewards with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
xboston/metahash Version 0.2.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package wpbc/metahash-rewards contains the following files

Loading the files please wait ....