Skip to content

jhon-qiu/exchain-java-sdk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

okexchain java sdk

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%