Skip to content

pokt-network/pocket-swift

Repository files navigation

PocketSwift

Official Swift client to use with the Pocket Network

Overview

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

  • PocketEth: A library that allows your DApp to communicate to the Ethereum network.
  • PocketAion: A library that allows your DApp to communicate to the AION network.
  • PocketCore: An implementation of the Pocket protocol that you can use to create your own plugin to interact with a blockchain of your choosing.
  • PocketSwift: Contains the 3 beforementioned packages.

Before you can start using the library, you have to acquire 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 Swift. You will also need to install the Cocoapods tool.

Installation

The PocketSwift packages are managed using Cocoapods, see below how to install each individual package.

We will be using Cocoapods, to download the pod files into your project. Inside your pod file, enter: For the full package that includes the ETH and Aion plugin, as well as the Core package:

Full package: pod 'PocketSwift'

For individual installation:

pod PocketSwift/Eth

pod PocketSwift/Aion

Pod PocketSwift/Core

Usage

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

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!