GitXplorerGitXplorer
o

exchain-java-sdk

public
26 stars
23 forks
3 issues

Commits

List of commits on branch main.
Verified
b70bde01c4642de11a72d9d048eea5261e12ced0

remove mnemonic (#127)

FFineKe committed a month ago
Verified
83dfe29acbcdf1dcc19bacad1751151211c3b9bc

Merge pull request #121 from okx/cmtx-with-nonce

FFineKe committed a year ago
Unverified
ba67a1a853b49d53da7842aed0f533ca369a7a56

fix upgradeProposal

FFineKe committed a year ago
Verified
01eb2e873d4c7271faa7e6f59fad038135809c07

Merge pull request #123 from okx/fix-proposal

FFineKe committed a year ago
Unverified
4a6e2cc692165478428f751e93fc49abed09a6ad

fix

FFineKe committed a year ago
Verified
0de7f63deee8cc7685c11e4a90f150ab07a8d793

Merge pull request #122 from okx/wasm-extra

FFineKe committed a year ago

README

The README file for this repository.

OKExChain Java SDK

The OKExChain Java SDK is a lightweight Java library to interact with OKExChain through rest.

1.Components

  • src - the functions which could interact with OKEXChain are contained in class OKEXChainRPCClientImpl of package com.okexchain.client.impl.
  • test - it seems like a set of examples to show how to use the functions mentioned above. The developers could design their code refering to the test functions of class OKEXChainRPCClientImplTest in package com.okexchain.client in detail.

There are some function modules in path src as well :

  • env - set environment for Java SDK to interact with OKExChain
  • msg - define the message types according to module in OKExChain, and the example is the main function in class Msgxxx not end with "value" or in sample package.
  • common - network communications by RPC;
  • utils.crypto - related with the account info and address info of OKEXChain;
  • utils.encoding - the implementation of go-amino in Java;

2.Installation

git clone https://github.com/okex/okexchain-java-sdk.git
cd okexchain-java-sdk
mvn install -Dmaven.test.skip=true

3.API

Find it on the sdk documents

4.Tesing

All changes and addition of codes will be pushed with unit tests strictly. Right now you can find existing test cases : github.com/okex/okexchain-java-sdk/src/test

5.Contributing

No doubt that it's admirable to make contributions to okexchain Java SDK. You can provide your code as long as you have tested it with a local client, and your unit test showed its validity.

6.maven

<dependency>
  <groupId>io.github.okex</groupId>
  <artifactId>okexchain-java-sdk</artifactId>
  <version>0.18.4</version>
</dependency>