Minter 2.0 update
-
New Maven repository for android libraries:
https://minter.jfrog.io/artifactory/android/
-
Fully removed android's Parcel implementations for better compatibility with pure java/kotlin implementation
-
Added transactions:
- AddLiquidity
- RemoveLiquidity
- CreateSwapPool
- SellSwapPool
- BuySwapPool
- SellAllSwapPool
- EditCandidateCommission
- MoveStake
- MintToken
- BurnToken
- CreateToken
- RecreateToken
- VoteCommission
- VoteUpdate
-
Added "Swap From" parameter to "coin estimate" endpoints
-
Deprecated
TxCreateCoin
andTxRecreateCoin
as it's renamed toTxCoinCreate
andTxCoinRecreate
- Increased EditCandidatePublicKey fee up to 10x
- Increased transaction fees up to 100x
- BREAKING CHANGES
- Renamed
MinterBlockChainApi
toMinterBlockChainSDK
- Now communication with node api works with RxJava2
- Base API response now in root of json, so BcResult is just NodeResult and each response object inherits this class
- Added
synchronized
blocks to methods uses native secp256k1 context CheckTransaction#sign()
now returnsMinterCheck
instead ofTransactionSign
- Added
CheckTransaction#validatePassword()
method to verify check password validity offline
- Ability to reset transaction data and payload in external transaction builder
- Changes for signing transaction logic
- Fixed some api result models
- Updated tests
- Max supply now defaults to 10^15
- Added Deeplink builder with Url-Safe base64 encoder
- Updated tests
- Added ability to sign multisig transaction with predefined signatures
Transaction#signMultiExternal(MinterAddress, List<SignatureSingleData>)
- Updated Create Coin transaction - added max supply for texasnet
- Updated tests for Create Multisig address transactions
- Added test for multisignature transaction
- Added CheckTransactionCompat to use it in network v1.0
- Fixed human values calculation
- Added Gas Coin to Check
- Fixes, updated core sdk
- Added method to get unsigned transaction hash
Transaction#getUnsignedTxHash
- Added method to sign tx with a signature created outside
Transaction#signExternal
- Added check decoding from Mc...
- More check tests
- Fixed check signing
- Fixed gas coin length
- Fixed decoding empty string to numeric
- Updated code SDK to interpret RLP empty object[] as empty char[]
- Throwing exception (instead of returning null) if encoded transaction has invalid data length
- Fixed coin creation fee calculator
- Added some getters and constructor to
Transaction.Builder
to create it fromExternalTransaction
- Removed
double
setters and getters where using BigDecimals or BigIntegers, becausedouble
value have a poor accuracy - Instead of
double
values, addedString
setters to convert it toBigDecimal
- Renamed
TxEditCandidateTransaction
toTxEditCandidate
- Added ability to create simple transaction-based structure encoded with RLP to share transaction data
TxSendCoin#getValue()
not returnsBigDecimal
instead ofdouble
. For double value, added methodTxSendCoin#getValueDouble()
- Added empty constructors for operation data objects. It quite breaks the builder logic but gives you ability to use this data for your own implementations. Also, #build() method now will throw exception if object were constructed without or with null
Transaction
- Migrate to androidx
- Updated core SDK
- Fixed Multisend address encoding
- Now
MinterPublicKey
andMinterAddress
encodes with fixed bytes length
- Updated blockchain SDK, re-verified tests
- Fixed check
- BREAKING CHANGES:
- Fixed RLP decoding/encoding for uint64_t-like values,
nonce
for example - In most places
byte[]
was replaced withchar[]
,BytesData
toBytesData
- Fixed RLP decoding/encoding for uint64_t-like values,
- MainNet urls, cleanup
- Update commissions
- Fix serialization for Validator
- BREAKING:
- Added "chainId" to transactions. Now all transactions requires this field to determine correct network
- Changed
stake
tovalue
in delegate/unbound transactions
- Fixed sending transaction: now blockchain requires 0x before transaction sign
- Removed
transactionCount
method and moved this info to balance modelBalance.txCount
- New balance api endpoint (from /balance/{address} to /address/?address=Mx...
- Added
getApiService()
to modify api client
- Added gas price methods, see BlockChainBlockRepository
- Opened gas price field and setter for transaction, it uses in new api
- Added ability to create non-singleton instances, for using in cases when need to connect to multiple nodes
- BREAKING:
- New api methods, some fields are removed/partly moved to another place due blockchain api has been changed.
- Fixed conversion from double to BigDecimal - now only through the string. Don't do this:
new BigDecimal(0.1d)
- it leads too much garbage - Added support for new types of transaction:
- Create multisig address (transaction for creating multisignature address)
- Multisend (single transaction for sending coins to multiple addresses)
- Edit candidate (transaction for editing existing candidate)
- Added missing endpoints and repositories
- More tests (still without mocks. Soon...)
- BREAKING:
- Added Min/MaxValueToBuy to Sell/SellAll/Buy coin model and it's all required
- Renamed some methods for more consistency
- Added minter check creation support
- Updated core library
- Multiple signatures support
- BREAKING CHANGES:
- Old transactions will not works with new signing algorithm
- Deprecated
Transaction#sign(PrivateKey pk)
. UseTransaction#signSingle(PrivateKey pk)
or for multiple signs:Transaction#signMulti(MinterAddress, List<PrivateKey>)
- removed
Class<>
argument fromTransaction#fromEncoded
. Old signature:Transaction#fromEncoded(String hexString, Class<T extends Operation> cls)
, new:Transaction#fromEncoded(String hexString)
- Reduced android dependencies, more pure java for JRE support (in future)
- Custom logger
- BREAKING CHANGES:
- refactored blockchain api result codes, now they are is valid and representative
- Removed android support dependencies, replaced with guava (proguard included)
- https base minter node url
- Package dependencies fix
- Updated core sdk to creating private key from mnemonic phrase directly
- Added signed transaction commission calculation endpoint.
- Target api 28