Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
grkamil committed Oct 20, 2020
1 parent 1a11b54 commit 1d9aa0b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ Returns a signed tx.
###### Example

* Sign the <b>SendCoin</b> transaction
* Constructor: ```MinterSendCoinTx($coin, $to, $value)```

```php
use Minter\SDK\MinterTx;
Expand Down Expand Up @@ -359,6 +360,7 @@ $tx->sign('your private key')

###### Example
* Sign the <b>SellCoin</b> transaction
* Constructor: ```MinterSellCoinTx($coinToSell, $valueToSell, $coinToBuy, $minimumValueToBuy)```

```php
use Minter\SDK\MinterTx;
Expand All @@ -372,6 +374,7 @@ $tx->sign('your private key')

###### Example
* Sign the <b>SellAllCoin</b> transaction
* Constructor: ```MinterSellAllCoinTx($coinToSell, $coinToBuy, $minimumValueToBuy)```

```php
use Minter\SDK\MinterTx;
Expand All @@ -385,6 +388,7 @@ $tx->sign('your private key')

###### Example
* Sign the <b>BuyCoin</b> transaction
* Constructor: ```MinterBuyCoinTx($coinToBuy, $valueToBuy, $coinToSell, $maximumValueToSell)```

```php
use Minter\SDK\MinterTx;
Expand All @@ -398,6 +402,7 @@ $tx->sign('your private key')

###### Example
* Sign the <b>CreateCoin</b> transaction
* Constructor: ```MinterCreateCoinTx($name, $symbol, $amount, $reserve, $crr, $maxSupply)```

```php
use Minter\SDK\MinterTx;
Expand All @@ -411,6 +416,7 @@ $tx->sign('your private key')

###### Example
* Sign the <b>DeclareCandidacy</b> transaction
* Constructor: ```MinterDeclareCandidacyTx($address, $publicKey, $commission, $coin, $stake)```

```php
use Minter\SDK\MinterTx;
Expand All @@ -428,6 +434,7 @@ $tx->sign('your private key')

###### Example
* Sign the <b>Delegate</b> transaction
* Constructor: ```MinterDelegateTx($publicKey, $coin, $stake)```

```php
use Minter\SDK\MinterTx;
Expand All @@ -441,6 +448,7 @@ $tx->sign('your private key')

###### Example
* Sign the <b>SetCandidateOn</b> transaction
* Constructor: ```MinterSetCandidateOnTx($publicKey)```

```php
use Minter\SDK\MinterTx;
Expand All @@ -454,6 +462,7 @@ $tx->sign('your private key')

###### Example
* Sign the <b>SetCandidateOff</b> transaction
* Constructor: ```MinterSetCandidateOffTx($publicKey)```

```php
use Minter\SDK\MinterTx;
Expand All @@ -467,6 +476,7 @@ $tx->sign('your private key')

###### Example
* Sign the <b>RedeemCheck</b> transaction
* Constructor: ```MinterRedeemCheckTx($check, $proof)```

```php
use Minter\SDK\MinterTx;
Expand All @@ -480,6 +490,7 @@ $tx->sign('your private key')

###### Example
* Sign the <b>Unbond</b> transaction
* Constructor: ```MinterUnbondTx($publicKey, $coin, $value)```

```php
use Minter\SDK\MinterTx;
Expand All @@ -493,6 +504,7 @@ $tx->sign('your private key')

###### Example
* Sign the <b>MultiSend</b> transaction
* Constructor: ```MinterMultiSendTx($list)```

```php
use Minter\SDK\MinterTx;
Expand All @@ -510,6 +522,7 @@ $tx->sign('your private key')

###### Example
* Sign the <b>EditCandidate</b> transaction
* Constructor: ```MinterEditCandidateTx($publicKey, $rewardAddress, $ownerAddress, $controlAddress)```

```php
use Minter\SDK\MinterTx;
Expand All @@ -523,6 +536,7 @@ $tx->sign('your private key')

###### Example
* Sign the <b>CreateMultisig</b> transaction
* Constructor: ```MinterCreateMultisigTx($threshold, $weights, $addresses)```

```php
use Minter\SDK\MinterTx;
Expand All @@ -540,6 +554,7 @@ $tx->sign('your private key')

###### Example
* Sign the <b>SetHaltBlock</b> transaction
* Constructor: ```MinterSetHaltBlockTx($publicKey, $height)```

```php
use Minter\SDK\MinterTx;
Expand All @@ -552,6 +567,7 @@ $tx->sign('your private key')

###### Example
* Sign the <b>RecreateCoin</b> transaction
* Constructor: ```MinterRecreateCoinTx($name, $symbol, $amount, $reserve, $crr, $maxSupply)```

```php
use Minter\SDK\MinterTx;
Expand All @@ -564,6 +580,7 @@ $tx->sign('your private key')

###### Example
* Sign the <b>EditCoinOwner</b> transaction
* Constructor: ```MinterEditCoinOwnerTx($symbol, $newOwner)```

```php
use Minter\SDK\MinterTx;
Expand All @@ -576,6 +593,7 @@ $tx->sign('your private key')

###### Example
* Sign the <b>EditMultisig</b> transaction
* Constructor: ```MinterEditMultisigTx($threshold, $weights, $addresses)```

```php
use Minter\SDK\MinterTx;
Expand All @@ -588,6 +606,7 @@ $tx->sign('your private key')

###### Example
* Sign the <b>PriceVote</b> transaction
* Constructor: ```MinterPriceVoteTx($price)```

```php
use Minter\SDK\MinterTx;
Expand All @@ -600,6 +619,7 @@ $tx->sign('your private key')

###### Example
* Sign the <b>EditCandidatePublicKey</b> transaction
* Constructor: ```MinterEditCandidatePublicKeyTx($publicKey, $newPublicKey)```

```php
use Minter\SDK\MinterTx;
Expand Down

0 comments on commit 1d9aa0b

Please sign in to comment.