mirror of
https://github.com/openvk/openvk
synced 2024-12-23 17:12:01 +03:00
16bc311bbc
It actually works! But there is a several problems: 1. Notification displays 0 coins instead of real number. Maybe @celestora will fix it idk 2. There is no real configuration of server, currency (rn there is TONs per 1 coin), regex or precise (aka count cents) There is a lot of work, like integrating interactive interface with TON address and QR code, etcetera... And btw only CLI is available right now. openvkcli fetch-ton command should be putted into cron, just to regularly check for new transactions :D Related to #474
14 lines
No EOL
406 B
PHP
Executable file
14 lines
No EOL
406 B
PHP
Executable file
#!/usr/bin/env php
|
|
<?php declare(strict_types=1);
|
|
namespace openvk;
|
|
use Symfony\Component\Console\Application;
|
|
|
|
$_SERVER["HTTP_ACCEPT_LANGUAGE"] = false;
|
|
$bootstrap = require(__DIR__ . "/../../../chandler/Bootstrap.php");
|
|
$bootstrap->ignite(true);
|
|
|
|
$application = new Application();
|
|
$application->add(new CLI\RebuildImagesCommand);
|
|
$application->add(new CLI\FetchToncoinTransactions);
|
|
|
|
$application->run(); |