Releases: Conflux-Chain/java-conflux-sdk
Releases · Conflux-Chain/java-conflux-sdk
Support new RPCs in conflux-rust 1.1.4
Add more RPC methods
cfx_getEpochReceiptscfx_getAccountPendingInfocfx_getAccountPendingTransactionstrace_blocktrace_transactiontrace_filtercfx_getLogs's filter param add one more field 'offset'cfx_subscribe epochsadd one more optional tag parameter, available options:latest_mined(default value),latest_state
Note: the required RPC service version is 1.1.4 or above.
MISC
Accountadded methoddeploy, which can be used to deploy the contract.Accountadded methoddeployFilewhich supports deploying contract with truffle compiled JSON file.- Internal contract's constructor method omit a parameter
networkId
Release major version 1.0
- Class Address support new CIP37 address
- Where ever need an address, you should pass an
Addressinstance, String address will not work getStatusreturn a new fieldnetworkIdgetSupplyInforeturn a new fieldtotalCirculatingAddress.validatehas been moved toAddressType.validateHexAddress- ERC20Call, ERC20Executor, ERC777Call, ERC777Executor has been removed, you can use the new ERC20, ERC777
- AccountManager's constructor add a new parameter
networkId org.web3j:coreupdated to version 4.8.4
Java-SDK 1.0 RC
fix gradle build failed (#19) * fix gradle build failed * add json Annotation for Address * throw AddressType exeption stack * add doc about SDK updates Co-authored-by: PanaW <wangpan@conflux-chain.org>
CIP37 support beta version
- Class Address support new CIP37 address
- Where ever need an address, you should pass an
Addressinstance, String address will not work getStatusreturn a new fieldnetworkIdgetSupplyInforeturn a new fieldtotalCirculatingAddress.validatehas been moved toAddressType.validateHexAddress- ERC20Call, ERC20Executor, ERC777Call, ERC777Executor has been removed, you can use the new ERC20, ERC777
- AccountManager's constructor add a new parameter
networkId
Complete switch from String address to class Address
Switch address type from String to class Address at
- RPC call and response
- Account & AccountManager
- Call, ContractCall, LogFilter
- Transaction, TransactionBuilder
Support new CIP37 address
- Add a new address type: CfxAddress
- Add a new Interface
Confluxwhich provide several new method use new CfxAddress - Add a new Class ConfluxWeb3 which implement
ConfluxInterface - Account, AccountManager support CIP37 address
- Account.getAddress() will return new CIP37 address
0.8.4
v0.8.3
Conflux Java SDK v0.8.2
- Add generic API in
Cfxto interact with Conflux full node. - Refactor
Accountto support more transaction parameters. - Add documentation.
Conflux Java SDK v0.8.1
hotfix for receipt epoch number deserializatoin.