metahash php
v0.5
#Metahash 블록 체인을위한 비공식 PHP 라이브러리.
Composer 로이 패키지를 설치할 수 있습니다. Xboston/Metahash 만 필요하면됩니다.
composer require xboston/metahash예제 폴더에서 사용 예제를 찾을 수 있습니다.
<?php
use Metahash MetaHash ;
$ metaHash = new MetaHash ();
$ balance = $ metaHash -> fetchBalance ( ' 0x00fa2a5279f8f0fd2f0f9d3280ad70403f01f9d62f52373833 ' );
print_r ( $ balance );git clone [email protected]:xboston/metahash-php.git
cd metahash-php
composer install
php examples/cli.php method=generate
php examples/cli.php method=fetch-balance address=0x00fa2a5279f8f0fd2f0f9d3280ad70403f01f9d62f52373833
php examples/cli.php method=fetch-balances address=0x00fa2a5279f8f0fd2f0f9d3280ad70403f01f9d62f52373833,0x0039f42ad734606d250ea0b0151d4aeab6b4edc6587c4b27ef
php examples/cli.php method=fetch-history address=0x00fa2a5279f8f0fd2f0f9d3280ad70403f01f9d62f52373833
php examples/cli.php method=get-tx hash=bc4a521c1d0d958e2c00e9cdf90a66b15df918cd22e3c408b0f793d913fc7626
php examples/cli.php method=get-last-txs git clone [email protected]:xboston/metahash-php.git
cd metahash-php
composer install
cd examples
php -S localhost:8000
브라우저에서 열기 : http : // localhost : 8000/
또는 http : // localhost : 8000/wallets.php
이 패키지는 MIT 라이센스에 따라 해제됩니다.