From eba11b5ba59dc9fa4fcdfcf8b5b32f78d6e67766 Mon Sep 17 00:00:00 2001 From: boston Date: Thu, 27 Jun 2019 01:57:30 +0300 Subject: [PATCH] readme update --- README.md | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 319650a..2e69dea 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,28 @@ # Metahash PHP -https://metahash.org -## Requirements +PHP library for [#MetaHash](https://metahash.org ) blockchain + +### Requirements -#### Basic requirements - PHP 7.1+ - ext-gmp - ext-curl - composer -## Usage +### Usage ```shell git clone git@github.com:xboston/php-metahash.git cd php-metahash composer install --no-dev php examples/cli.php method=generate -``` - -## More examples -``` -php examples/cli.php method=generate php examples/cli.php method=fetch-balance net=main address=0x00fa2a5279f8f0fd2f0f9d3280ad70403f01f9d62f52373833 php examples/cli.php method=fetch-history net=main address=0x00fa2a5279f8f0fd2f0f9d3280ad70403f01f9d62f52373833 php examples/cli.php method=get-tx net=main hash=bc4a521c1d0d958e2c00e9cdf90a66b15df918cd22e3c408b0f793d913fc7626 ``` -## Server mode +### Server mode examples + ``` git clone git@github.com:xboston/php-metahash.git cd php-metahash @@ -44,6 +40,13 @@ or http://localhost:8000/wallets.php ![](https://raw.githubusercontent.com/xboston/php-metahash/master/media/wallets.png) -## API -[Read more](https://github.com/metahashorg/crypt_example_php/wiki/API) -[Original](https://github.com/metahashorg/crypt_example_php) \ No newline at end of file +### More data + +- [Original source](https://github.com/metahashorg/crypt_example_php) +- [Testpage portal](http://testpage.metahash.org/) +- [Knowledge base](https://developers.metahash.org) + + +## License + +This package is released under the MIT license. \ No newline at end of file