kriosmane/wallet-explorer

Simple package for interacting with commons crypto wallet explorer

v2.4.1.2 2021-05-14 14:21 UTC

README

Simple package for interacting with commons crypto wallet explorer

Installation

PHP 7.1+ and Composer are required.

To get the latest version simply run the code below in your project.

composer require kriosmane/wallet-explorer

Once is installed, you need to register the service provider: open up config/app.php and add the following to the providers key.

'providers' => [
    ...
    KriosMane\WalletExplorer\Providers\WalletExplorerServiceProvider::class,
    ...
]

Also, register the facade like so:

'aliases' => [
    ...
    'WalletExplorer' => KriosMane\WalletExplorer\Facades\WalletExplorer::class,
    ...
]

Configuration

You can publish the configuration file using this command:

php artisan vendor:publish --provider="KriosMane\WalletExplorer\Providers\WalletExplorerServiceProvider"

A configuration-file named walletexpolorer.php with default settings will be placed in your config directory

Usage

Add the following line to your controller

use \WalletExplorer;

$balance = WalletExplorer::getBalance('BTC', '3JZq4atUahhuA9rLhXLMhhTo133J9rF97j');

Contributing

Please feel free to fork this package and contribute by submitting a pull request to enhance the functionalities.

How can I thank you?

As a programmer i need coffee to be productive, don't let my cup get emtpy

Why not star the github repo? I'd love the attention! Why not share the link for this repository on Twitter or HackerNews? Spread the word!

Thanks! Krios Mane

License

Please see License File for more information.