Skip to content

Releases: Conflux-Chain/java-conflux-sdk

Support new RPCs in conflux-rust 1.1.4

Choose a tag to compare

@Pana Pana released this 16 Jun 02:40
c9c3c88

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

Choose a tag to compare

@Pana Pana released this 26 Feb 03:45
948e8e7
  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

Java-SDK 1.0 RC Pre-release
Pre-release

Choose a tag to compare

@Pana Pana released this 29 Jan 11:10
a03c185
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

Pre-release

Choose a tag to compare

@Pana Pana released this 29 Jan 02:12
8037936
  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

Choose a tag to compare

@Pana Pana released this 27 Jan 10:10
37a8cb6

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

Pre-release

Choose a tag to compare

@Pana Pana released this 25 Jan 06:52
37a8cb6
  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

Choose a tag to compare

@Pana Pana released this 19 Dec 14:46
98b7dd3

Add support for internal contracts: adminControl, staking, sponsor

v0.8.3

Choose a tag to compare

@Pana Pana released this 24 Sep 03:23
e3151f3
  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

Choose a tag to compare

@boqiu boqiu released this 14 Aug 11:17
  • 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

Choose a tag to compare

@boqiu boqiu released this 13 Jul 08:48

hotfix for receipt epoch number deserializatoin.