From 672006a83e7b93342c970a2056b5837b988d1d2e Mon Sep 17 00:00:00 2001 From: boston Date: Tue, 9 Jul 2019 03:06:59 +0300 Subject: [PATCH] up --- README.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 72fdba4..46b659f 100644 --- a/README.md +++ b/README.md @@ -84,12 +84,27 @@ php -S localhost:8000 open in browser: http://localhost:8000/ -![](https://raw.githubusercontent.com/xboston/php-metahash/master/media/browser.png) +![browser](https://raw.githubusercontent.com/xboston/php-metahash/master/media/browser.png) or http://localhost:8000/wallets.php -![](https://raw.githubusercontent.com/xboston/php-metahash/master/media/wallets.png) +![wallets](https://raw.githubusercontent.com/xboston/php-metahash/master/media/wallets.png) + + +## Breaking change + +- from 0.1.1 to 0.2.0 +```diff +-public function fetchHistory(string $address, int $beginTx = 0, int $countTx = self::HISTORY_LIMIT) ++public function fetchHistory(string $address, int $countTx = self::HISTORY_LIMIT, int $beginTx = 0) + +-public function sendTx(string $to, string $value, string $fee = '', int $nonce = 1, string $data = '', string $key = '', string $sign = '') ++public function sendTx(string $privateKey, string $to, int $value, string $data = '', int $nonce = 1, int $fee = 0) + +-public function makeSign(string $address, string $value, string $nonce, int $fee = 0, string $data = '') ++public function makeSign(string $address, int $value, int $nonce, int $fee = 0, string $data = '') +``` ## License