Skip to content

pokt-network/pocket-android

Repository files navigation

PocketAndroid

Official Android client to use with the Pocket Network

Overview

PocketAndroid wraps all of the tools a developer will need to begin interacting with a network. PocketAndroid contains 3 packages:

  • network.pocket:eth: A library that allows your DApp to communicate to the Ethereum network.
  • network.pocket:aion: A library that allows your DApp to communicate to the AION network.
  • network.pocket:core: An implementation of the Pocket protocol that you can use to create your own plugin to interact with a blockchain of your choosing.

Before you can start using the library, you have to get a Developer ID by registering for MVP. To learn how to register please click here.

Requirements

You should have at least have a basic knowledge of blockchain technology and know your way around Java/Kotlin.

Installation

First you need to add the following Maven URL to your project, so the your root build.gradle file add the following:

allprojects {
    repositories {
        google()
        jcenter()
        maven {
          url 'https://dl.bintray.com/pokt-network/pocket-android'
        }
    }
}

Now, you will need to add either of the 3 packages within PocketAndroid to your module's build.gradle file, like this:

// Eth
implementation 'network.pocket:eth:0.0.2'

// Aion
implementation 'network.pocket:aion:0.0.3'

// Core
implementation 'network.pocket:core:0.0.4'

Usage

If you would like to know how to integrate PocketAndroid into your DApp, visit our developer portal that has a lot of useful tutorials and material about the Pocket Network.

Contact Us

We have created a Discord server where you can meet with the Pocket team, as well as fellow App Developers, and Service Nodes. Click here to join!