Getting Started

First, add jitpack to your root gradle file at the end of repositories:

allprojects {
    repositories {
        maven { url ''}

Adding Quark Chain Client SDK as a Maven Dependency

For “Maven” add this dependency to your module:


For “Gradle” add this dependency to your module:

dependencies {
     implementation 'com.github.centerprime:Quark-Chain-Client-SDK:1.0.8'

Basic Usage

Once you have the dependencies set up you can start using CenterPrime by creating a Quark Chain Wallet:

public class MainActivity extends AppCompatActivity {

    protected void onCreate(Bundle savedInstanceState) {

        QKCManager qkcManager = QKCManager.getInstance();

        qkcManager.createWallet("{{wallet_password}}", this)
                .subscribe(wallet -> {
                    String walletAddress = wallet.getAddress();
                    String keystore = wallet.getKeystore();
            String qckWalletAddress = QKCManager.
            int chainId = 1;
            int shardId = 0;
            String chainId1 = QKCManager.getQCKAddressByChainIdAndShardId(qckWalletAddress, chainId , shardId, this);
                }, error -> {

Congratulations! Now you are a CenterPrime user.