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_getEpochReceipts
cfx_getAccountPendingInfo
cfx_getAccountPendingTransactions
trace_block
trace_transaction
trace_filter
cfx_getLogs
's filter param add one more field 'offset'cfx_subscribe epochs
add 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
Account
added methoddeploy
, which can be used to deploy the contract.Account
added methoddeployFile
which 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
Address
instance, String address will not work getStatus
return a new fieldnetworkId
getSupplyInfo
return a new fieldtotalCirculating
Address.validate
has 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:core
updated 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
Address
instance, String address will not work getStatus
return a new fieldnetworkId
getSupplyInfo
return a new fieldtotalCirculating
Address.validate
has 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
Conflux
which provide several new method use new CfxAddress - Add a new Class ConfluxWeb3 which implement
Conflux
Interface - 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
Cfx
to interact with Conflux full node. - Refactor
Account
to support more transaction parameters. - Add documentation.
Conflux Java SDK v0.8.1
hotfix for receipt epoch number deserializatoin.