Skip to content

Releases: Conflux-Chain/java-conflux-sdk

Support new RPCs in conflux-rust 1.1.4

16 Jun 02:40
c9c3c88
Compare
Choose a tag to compare

Add more RPC methods

  1. cfx_getEpochReceipts
  2. cfx_getAccountPendingInfo
  3. cfx_getAccountPendingTransactions
  4. trace_block
  5. trace_transaction
  6. trace_filter
  7. cfx_getLogs's filter param add one more field 'offset'
  8. 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

  1. Account added method deploy, which can be used to deploy the contract.
  2. Account added method deployFile which supports deploying contract with truffle compiled JSON file.
  3. Internal contract's constructor method omit a parameter networkId

Release major version 1.0

26 Feb 03:45
948e8e7
Compare
Choose a tag to compare
  1. Class Address support new CIP37 address
  2. Where ever need an address, you should pass an Address instance, String address will not work
  3. getStatus return a new field networkId
  4. getSupplyInfo return a new field totalCirculating
  5. Address.validate has been moved to AddressType.validateHexAddress
  6. ERC20Call, ERC20Executor, ERC777Call, ERC777Executor has been removed, you can use the new ERC20, ERC777
  7. AccountManager's constructor add a new parameter networkId
  8. org.web3j:core updated to version 4.8.4

Java-SDK 1.0 RC

29 Jan 11:10
a03c185
Compare
Choose a tag to compare
Java-SDK 1.0 RC Pre-release
Pre-release
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

29 Jan 02:12
8037936
Compare
Choose a tag to compare
Pre-release
  1. Class Address support new CIP37 address
  2. Where ever need an address, you should pass an Address instance, String address will not work
  3. getStatus return a new field networkId
  4. getSupplyInfo return a new field totalCirculating
  5. Address.validate has been moved to AddressType.validateHexAddress
  6. ERC20Call, ERC20Executor, ERC777Call, ERC777Executor has been removed, you can use the new ERC20, ERC777
  7. AccountManager's constructor add a new parameter networkId

Complete switch from String address to class Address

27 Jan 10:10
37a8cb6
Compare
Choose a tag to compare

Switch address type from String to class Address at

  1. RPC call and response
  2. Account & AccountManager
  3. Call, ContractCall, LogFilter
  4. Transaction, TransactionBuilder

Support new CIP37 address

25 Jan 06:52
37a8cb6
Compare
Choose a tag to compare
Pre-release
  1. Add a new address type: CfxAddress
  2. Add a new Interface Conflux which provide several new method use new CfxAddress
  3. Add a new Class ConfluxWeb3 which implement Conflux Interface
  4. Account, AccountManager support CIP37 address
  5. Account.getAddress() will return new CIP37 address

0.8.4

19 Dec 14:46
98b7dd3
Compare
Choose a tag to compare

Add support for internal contracts: adminControl, staking, sponsor

v0.8.3

24 Sep 03:23
e3151f3
Compare
Choose a tag to compare
  1. Cfx support websocket service and pub sub
  2. Cfx.create enable pass web3service
  3. Bump webj version to 4.6.0
  4. Account transfer support to pass transaction option

Conflux Java SDK v0.8.2

14 Aug 11:17
Compare
Choose a tag to compare
  • 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

13 Jul 08:48
Compare
Choose a tag to compare

hotfix for receipt epoch number deserializatoin.