Releases: Wraecca/etherspace-java
Add more debug output
Bug fixed: throw unsupported exception when using java object type in etherspace
Add Credentials.sign()
Signing messages from Credentials
Update NonceProvider to be more extensible
Maintaining nonce off-chain is hard. Developers need to make sure that every transactions sent are in order and can't be overlapped. If there is any errors occur when sending transaction, the nonce can't be increased. We added provideNonce() in NonceProvider to better handle these edge cases.
Extract interface from Credentials and rename Credentials to WalletCredentials
Extract interface from Credentials:
interface Credentials {
val address: String
fun signTransaction(transactionObject: Web3.TransactionObject): String
}
A new function signTransaction
is added, so it's easier to implement new signing mechanism. For example, signing by a remote web service without knowing wallet or private key.
Bug fixed
Add web3.eth.personal.ecRecover()
0.11.0 Merge branch 'master' of https://github.com/Wraecca/etherspace-java
Refactoring TransactionHash.requestTransactionReceipt()
TransactionHash.requestTransactionReceipt() returns result depending on callAdapter. Ex: CoroutineCallAdapter will return Deferred, and CompletableFutureCallAdapter will return CompletableFuture
Add TransactionHash class
Make it easy to do async transactions
Add NonceProvider
NonceProvider can be added to EtherSpace
or Options
to provide customized nonce creation strategy. You have to provide your own nonce creation strategy in Multi-thread environment.